List Info

Thread: Re: Re: Launching Flash application from another Flash application.




Re: Re: Launching Flash application from another Flash application.
country flaguser name
United Kingdom
2007-02-27 19:28:49
Hi Dave,

Thanks for your reply.  I did attempt to read the article and put a crossdomain.xml in my server.  I use jetty to run my web application so I put the crossdomain.xml in "src/main/webapp" folder and it gets deployed to the target folder.  However, I still can't access any data from the servlet in my server.
But now I move my swf files (sub application) to be loaded to the same server as the servlet and it works.
What I want to know is why if the flash sub application is loaded to a movie clip from an external URL, e.g. www,geocities.com/..., then it can't access data from my servlet and if the sub application is in the same folder as the parent app in my phone, then it's able to read from my servlet.
I read the documentation and it says that the swf requesting the data must be in the same domain as where the data is coming from in order to allow the swf file access to those data, but in this case, those applications (sub applications) are in my phone memory, not in the same domain as my servlet providing the data and it's still able to access data from the servlet using loadVariables().
Thanks.  Sorry in advance if it sounds stupid... I'm still learning. thanks.
 
Ivan

2;


Inbox full of unwanted email? Get leading protection and 1GB storage with All New Yahoo! Mail. __._,_.___ __,_._,___
RE: Re: Launching Flash application from another Flash application.
country flaguser name
United States
2007-02-28 16:10:57
Hi Ivan,

Does your crossdomain.xml (at the root of your server where
SWF and data
services are provided) contain domain(s) (e.g.
geocities.com) where you're
loading the sub application SWF(s) from?

Dave Yang - Quantumwave Interactive Inc.
Toronto, Ontario, Canada
http://quantumwave.com
http://swfoo.com
 

________________________________

From: FlashLite@yahoogroups.com
[mailto:FlashLite@yahoogroups.com] On Behalf
Of Ivan Sebastian Surya
Sent: Tuesday, February 27, 2007 8:29 PM
To: FlashLite@yahoogroups.com
Subject: Re: [FlashLite] Re: Launching Flash application
from another Flash
application.



Hi Dave,

Thanks for your reply.  I did attempt to read the article
and put a
crossdomain.xml in my server.  I use jetty to run my web
application so I
put the crossdomain.xml in "src/main/webapp"
folder and it gets deployed to
the target folder.  However, I still can't access any data
from the servlet
in my server.
But now I move my swf files (sub application) to be loaded
to the same
server as the servlet and it works.
What I want to know is why if the flash sub application is
loaded to a movie
clip from an external URL, e.g. www,geocities.com/..., then
it can't access
data from my servlet and if the sub application is in the
same folder as the
parent app in my phone, then it's able to read from my
servlet.
I read the documentation and it says that the swf requesting
the data must
be in the same domain as where the data is coming from in
order to allow the
swf file access to those data, but in this case, those
applications (sub
applications) are in my phone memory, not in the same domain
as my servlet
providing the data and it's still able to access data from
the servlet using
loadVariables().
Thanks.  Sorry in advance if it sounds stupid... I'm still
learning. thanks.
 
Ivan




------------------------ Yahoo! Groups Sponsor
--------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/saFolB/TM

------------------------------------------------------------
--------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://group
s.yahoo.com/group/FlashLite/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://g
roups.yahoo.com/group/FlashLite/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:FlashLite-digest@yahoogroups.com 
    mailto:FlashLite-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    FlashLite-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )