| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
|
hi,
I have 2 swf's 1.swf and 2.swf 1 is very long, 2 is very short so that creates an L shape ... but since im already trying to use some HTML on the compliment of the L shape so i cant make them both into 1 block or 1 swf ... i have 2 make them 2 ... I just want 2 have a button in 1.swf to simply LOAD 2.swf NEXT to 1.swf (& not over it) .... thats all it sounds so simple but i just cant figure out a thing I heard that Flash MX can make 2 swf's communicate but i never found that in the help .... also if the only way is JS can someone make up a mock file 2 show me the exact coding needed to acheive this interaction? Thanks |
|
|
|
|
|
#2 |
|
Dosed...By Flash!
|
If you look in the actionscript dictionary there is a command which is usefull in this process.
basically, on a button use; ActionScript Code:
If you want it in a certain place on the movie, then you need to load it into a empty MC. so create a MC (movieClip) don't put anything in it and then put it on the _root and place it where you want the swf to show. Instance the MC to whatever you like. then use on a button; ActionScript Code:
Simple |
|
|
|
|
|
|
|
|
#3 |
|
Oops I did it again
Join Date: Oct 2001
Location: Melbourne
Posts: 8,578
|
cant you just load them into separate html frames?
yes mx has some new stuff for separate swfs to talk to each other - have a read of this - http://www.actionscripts.org/tutoria...ns/index.shtml cheers
__________________
Billy Online Galleries Free Flash Video Tutorials Photo Website Template Don't email or PM me questions... |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Jul 2002
Posts: 1
|
perfect!!!......
|
|
|
|
|
|
#5 |
|
Registered User
|
hi
thanx alot for your help ![]() now i was wondering if I could use this technique to make 1 movie actually load the other movie THEN goto a flagged frame (or frame number) in it ... is that possible? |
|
|
|
|
|
#6 |
|
Oops I did it again
Join Date: Oct 2001
Location: Melbourne
Posts: 8,578
|
should be possible - did you try it?
__________________
Billy Online Galleries Free Flash Video Tutorials Photo Website Template Don't email or PM me questions... |
|
|
|
|
|
#7 |
|
Registered User
|
Well, I'm trying to but I'm pretty much terrible with actionscripting ... could u take a look at it please?
|
|
|
|
|
|
#8 |
|
Oops I did it again
Join Date: Oct 2001
Location: Melbourne
Posts: 8,578
|
I have to go to bed
if I get time to play with it tomorrow I will I just did a quick test and you dont seem to be able to communicate with a movie that is not already loaded (which is understandable) but there is probably some sort of work-around cheers
__________________
Billy Online Galleries Free Flash Video Tutorials Photo Website Template Don't email or PM me questions... |
|
|
|
|
|
#9 |
|
Registered User
|
ok i dont need to interact with an unloaded movie
i'll load a movie with a blank first frame thats all i need if u've been able to do that with two loaded movies can u please attach them as a zip file and post them here? |
|
|
|
|
|
#10 |
|
Oops I did it again
Join Date: Oct 2001
Location: Melbourne
Posts: 8,578
|
ok here's a bit of a dodgy hack up of Jesse's code
cheers
__________________
Billy Online Galleries Free Flash Video Tutorials Photo Website Template Don't email or PM me questions... |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Variables between 2 swfs in seperate htmls | holtzy | ActionScript 1.0 (and below) | 18 | 06-23-2006 11:17 PM |
| How can I detect when 2 swf's loaded into a movie touch? | BuckD | ActionScript 1.0 (and below) | 3 | 12-17-2003 02:44 PM |
| 2 Button Clicks = 1 Action? | Pyroclasm | ActionScript 1.0 (and below) | 3 | 12-03-2003 08:04 PM |
| conditional checking between 2 swfs? | shindavid | ActionScript 1.0 (and below) | 3 | 11-10-2003 07:26 AM |
| 2 SWF's on 1 HTMLpage one controls the other - Help! | PiNtuP | Server-Side Scripting | 2 | 06-20-2002 08:12 AM |