Adobe Dreamweaver Forums



Last 10 THreads :         Adobe Flash 10 kills Wimpy (Last Post : midiwriter - Replies : 83 - Views : 955 )           »          Create 2nd animation in same flash file (Last Post : dabooj - Replies : 0 - Views : 1 )           »          Local host and php Solutions help... (Last Post : RJweb - Replies : 1 - Views : 6 )           »          problems linking PDFs (Last Post : Alan - Replies : 3 - Views : 4 )           »          Flash movie not working in html (Last Post : WEBDavid - Replies : 0 - Views : 1 )           »          load xml into mc symbols (Last Post : DigitalUprising - Replies : 0 - Views : 1 )           »          drop down menu over flash (Last Post : ltartisel - Replies : 2 - Views : 3 )           »          Flash-PHP Mail Form (Last Post : kglad - Replies : 3 - Views : 4 )           »          Flash Controls Not Displaying in Embedded File (Last Post : kglad - Replies : 5 - Views : 6 )           »          DW Flash Encoder (Last Post : wycn - Replies : 2 - Views : 3 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-24-2008, 07:33 AM
surya_dhul
 
Posts: n/a
Diggs:
Default Accessing events from externally loaded swf file

hello,
I have an swf file developed in flash 8. After loading that file into SWF
Loader control in flex builder 3, can't we access the methods present in that
particular file without using local connection class as it is developed by some
others and we don't have the code ?



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-24-2008, 04:43 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Accessing events from externally loaded swf file


"surya_dhul" <webforumsuser@macromedia.com> wrote in message
news:ggdl2t$qr4$1@forums.macromedia.com...
> hello,
> I have an swf file developed in flash 8. After loading that file into SWF
> Loader control in flex builder 3, can't we access the methods present in
> that
> particular file without using local connection class as it is developed by
> some
> others and we don't have the code ?


You'd need to use another AVM1 swf that DOES use localConnection and load it
into that.


Reply With Quote
  #3 (permalink)  
Old 11-25-2008, 01:53 AM
surya_dhul
 
Posts: n/a
Diggs:
Default Re: Accessing events from externally loaded swf file

do u mean that the new AVM1 that does use local connection should be developed in flash 8 or flex builder 3?
Reply With Quote


  #4 (permalink)  
Old 11-25-2008, 03:43 AM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Accessing events from externally loaded swf file


"surya_dhul" <webforumsuser@macromedia.com> wrote in message
news:ggflm1$hbr$1@forums.macromedia.com...
> do u mean that the new AVM1 that does use local connection should be
> developed in flash 8 or flex builder 3?


Flex Builder does not have the capability to build an AVM1 movie


Reply With Quote
  #5 (permalink)  
Old 11-25-2008, 05:03 AM
*gsb*
 
Posts: n/a
Diggs:
Default Re: Accessing events from externally loaded swf file

Amy means that Flex is AS3 code and uses the Flash player's AVM2. SWF8 uses
the AVM1. ...and the two do not cross boundaries.

So for the two to talk/coordinate you need to go through the Flash player via
LocalConnections OR through the browser using JavaScript.

Both require code in the SWF8 movie for which you do not own the code. ...is
a big problem then.



Reply With Quote
  #6 (permalink)  
Old 11-25-2008, 02:13 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Accessing events from externally loaded swf file


"*gsb*" <webforumsuser@macromedia.com> wrote in message
news:ggg0u2$o9$1@forums.macromedia.com...
> Amy means that Flex is AS3 code and uses the Flash player's AVM2. SWF8
> uses
> the AVM1. ...and the two do not cross boundaries.
>
> So for the two to talk/coordinate you need to go through the Flash player
> via
> LocalConnections OR through the browser using JavaScript.
>
> Both require code in the SWF8 movie for which you do not own the code.
> ...is
> a big problem then.


No, you can have a Flash 8 movie that you do own the code to that loads a
Flash 8 movie that you do own the code to.


Reply With Quote


  #7 (permalink)  
Old 11-25-2008, 02:13 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Accessing events from externally loaded swf file


"Amy Blankenship" <amySpamFilter@magnolia_pleaseNOspam_multimedia.co m> wrote
in message news:ggh0lk$9an$1@forums.macromedia.com...
>
> "*gsb*" <webforumsuser@macromedia.com> wrote in message
> news:ggg0u2$o9$1@forums.macromedia.com...
>> Amy means that Flex is AS3 code and uses the Flash player's AVM2. SWF8
>> uses
>> the AVM1. ...and the two do not cross boundaries.
>>
>> So for the two to talk/coordinate you need to go through the Flash player
>> via
>> LocalConnections OR through the browser using JavaScript.
>>
>> Both require code in the SWF8 movie for which you do not own the code.
>> ...is
>> a big problem then.

>
> No, you can have a Flash 8 movie that you do own the code to that loads a
> Flash 8 movie that you do own the code to.


Oops, meant you can have a Flash 8 movie that you do own the code to that
loads a Flash 8 movie that you do _not_ own the code to.


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 12:52 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk