How do I insert a Flash Movie in another w/ buttons?
Hey,
I have inserted a Flash Movie (Flash Movie #2) as an object in my Flash Movie (Flash Movie #1). In Flash Movie #2 there are buttons which when clicked load another movie (Flash Movie #3). I want it to load where Flash Movie #2 is. I set the levels to 0, but clicking the button does nothing. Any ideas? Thanks.
The buttons in Movie #2 reference Level 0. This replaces the main movie (Flash Movie #1). I don't want this. I want to load the new movie in Movie # 2.
Originally posted by trixter2 I have been wondering how to do this and the example helped, but how do i set where the movie pops up??
TriX
The Movie3 left-upper corner will be the Movie2 center.
(all you have to do is to set the Movie2 center)
p.s.
You can check my "KOOL STUFF/DEMO" section to see how it works.
Last edited by necromanthus; 12-07-2002 at 01:58 AM.
The Technote is for Flash 4 but the basic concepts are the same except you would no longer use tell target which was depreciated in Flash 4 but rather the Flash 5/MX dot syntax for targeting . The actual syntax is loadMovie(url [,location/target, variables]]);. KM adopts the Flash MX/5 AS Model (KM Supports just about all of the Flash 5 model in 3.5 and 3.6 will support all of the Flash 5 model and a good portion of the MX Model) and just about completly Ignores the Flash 4 Model although some very limited support is included. Likewise Support for the Flash 2 Action Model is supported.
The Unsuported Model Syntax is Pascal like and is programatically signifigantly different than the Flash 5/MX Model.
The Flash 5/MX model is built around ECMA(262) - Standardized Javascript for those of you who don't know that. In Fact the Flash 5 model is 95% ECMA with its own DOM. ECMAscript is an object based language very loosly based on C++ Concepts.
Becuase The two models are programatically signifigantly different instead of implementing both and increasing bloat only the Flash 5/MX Model is supported.
This is important to remember when doing tutorials online as Flash MX and Flash 5 will still execute the Flash 4 Syntax and thus you must convert the depreciated Syntax to the new Model.
Thanks guys, I have two more questions to ask you though. How do you make the the movie that the button loads a smaller size through actionscript, i want to know this because it is going out the side of the screen.
Also, How do i make my other shapes to appear ontop of the movie not below, because the movie is covering everything else.
How do you make the the movie that the button loads a smaller size through actionscript, i want to know this because it is going out the side of the screen.