I've seen LocalConnection examples, but I assume that it is faster/more secure/etc. to talk directly, if swf is loaded inside some other swf and they are both AS3. From host to loaded swf (when this is loaded/initialized) it is quite simple, like it is described in help ( http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000543.html ), but I would like to talk from loaded swf to host. I'm still waiting if somebody know if this is possible and how to do it.
Milan
On 7/18/06, flexnewbie06
<[EMAIL PROTECTED]> wrote:
Milan, you may be light years ahead of me...I don't know. However, I
was working on getting my Flex app to communicate with my loaded SWF
and the only way I could accomplish this was to use LocalConnection. My
Host app can send and listen from the loaded SWF and vica versa...
I don't know if that helps, hope it does
jenn
--- In flexcoders@yahoogroups.com, "kosir.milan" < [EMAIL PROTECTED]> wrote:
>
> Hi all, I'm posting this again after first unseccesfull post.
>
> I'd like to use SWFLoader to load some flex/AS3 swf, and when it is
> loaded into host application, I'd like to change some data on it,
> according to data in host application. I've seen examples in help
about
> accessing loaded SWF with SystemManager, but I'd like to access host
> application from within loaded swf (in creationComplete event). Does
> anyone has experience how to access variables/methods in host
> application? If I trace this.parent.parent.parent in loaded swf I can
> see my SWFLoader in host application, but it seems like I can't access
> parentApplication directly.
> Any hint would be greatly appreciated.
> Thanks, Milan
>
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- Re: [flexcoders] Re: SWFLoader how to access host applicatio... milan kosir
Reply via email to