how to Reference variables of external swf loaded in flash movie

This is a discussion on "how to Reference variables of external swf loaded in flash movie" within the Flash & Multimedia Forum section. This forum, and the thread "how to Reference variables of external swf loaded in flash movie are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jun 6th, 2007, 07:20
Junior Member
Join Date: May 2007
Location: india
Age: 24
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to balaakrs
Unhappy how to Reference variables of external swf loaded in flash movie

What i need is to change the flash animation dynamicaly in the topbanner of my site .when one aniamtin finished palying i wanna laod other animation.

wht i hve palnned is to change a variable at the last frame of each swf and by tracking the variable from main movie we can change the swf file in main mov and prload this. or whenever a loaded swf animation is finshed it should change the variable, so that the main movie can change the file and loads it. but to do this i wanna know below info.

Can any one tell me how to reference a variable of external swf loaded in to the main movie. i also want to preload this.is it different for different method. especially i need to know for loadMovie(), loadMovieNum(), MovieClipLoader() class, progressbar component . Which one i can choose and how to access the variable in external swf from main movie. Can we change the main movie's variable from external swf coding . if yes how to do , how should we reference it from external swf's timline or AS.
please help me with this so that i can complete my work soon.

Last edited by balaakrs; Jun 6th, 2007 at 08:49. Reason: Urgency
Reply With Quote

  #2 (permalink)  
Old Jun 11th, 2007, 14:47
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
Re: how to Reference variables of external swf loaded in flash movie

I think this might be what you are looking for...

This article talks about how pulling in an external .swf to a Parent Movie clip makes it part of that parent object, hence, you can reference any variables and so on from the parent object.

http://www.quip.net/blog/2006/flash/...-asbroadcaster

This is for AS3 so your code is going to look a little different, but is this what you are looking to accomplish?

http://www.kirupa.com/forum/showthread.php?p=2112823

Cheers,

Scott
Last Blog Entry: Yay!? (Oct 8th, 2007)

Last edited by Sgaspar11; Jun 11th, 2007 at 14:52.
Reply With Quote
Reply

Tags
loading external swf

Thread Tools

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
AS1.0 preloader not showing til whole movie loaded mindrail Flash & Multimedia Forum 0 Feb 18th, 2008 21:39
accessing variables and actionscript in externally loaded Swf from main movie balaakrs Flash & Multimedia Forum 4 Sep 8th, 2007 17:19
Form loaded into main movie doesn't work papalazarou78 Flash & Multimedia Forum 4 Apr 3rd, 2007 18:57
Linking to external.swf movie wenric Flash & Multimedia Forum 3 Sep 3rd, 2006 17:10
MP3's loaded into Flash.... courtjester Flash & Multimedia Forum 0 Jan 26th, 2004 02:22


All times are GMT. The time now is 20:02.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43