I am trying to control the parent movie clip from an externally loaded file, meaning control the main movie from the externally loaded swf.:nerd:
Please I need some help! My creative Director at work dose not any ****!:jag:
You can take a look at the file at http://www.anardodesign.com/tsm/index.html
Thank you everyone!:geek: PROMJet Main:: General. Hardware. Software. Adapters. Order Info. Comparison http://www.emutec.com/pjetmain.htmlHOME |
Not sure without seeing the fla's. CartoonSmart Flash Tutorials for Actionscript 3 and Actionscript 2:: 2. In Flash 8, transition FLV files. 3. Swapping depths between two videos. thumbnails and larger-sized images from external folders.Simply tell the Flash http://www.cartoonsmart.com/actionscript2_index.htmlHOME |
Not sure if this will help but here is a senario
You have an index and two loaded swf files (navigation.swf & services.swf) FORTNER GUITARS - Gear Buzz:: You need Flash player 8+ and JavaScript enabled to view this video. Xotic New external character control for adding momentum to guitar notes, or keeping http://fortnerguitars.com/gearbuzz.cfmHOME | C# - Flash External API:: the new features in the Flash 8 external api, Flash objects can communicate with. the flash control which has c# c++ and delphi versions=2E Doesnt http://it.toolbox.com/blogs/rymoore/c-flash-external-api-6684HOME |
Say you want to the navigation file to speak to the services file. Well each swf you load in so say services.swf you add this to main timeline of that swf
_root.servicesFile = this
Then if you want the navigation file to move the services swf to another frame you just have to say
_root.servicesFile.gotoAndPlay("something")
Another thing I do when i want to control a button that needs to close for example say you click on "Services" and it moves to one side, then you click on "Contact Us", you want "Services" to slide back.
What I do is on ever button I add this:
_root.currentButton.gotoAndPlay("out");
_root.currentButton = this
This way when you clicked services it tells the previous button (which is fine if there is no previous button to start off with) to close then sets it's self to the currentButton, etc, etc, etc.
I am trying to reverse the button active at the time, which is about using the external loaded movie, I already made the movie load, and unload from swift to swift that's not a problem.
I just don't know how to unload one button when the other one is active.
What are trying to control exactly? It seems the nav bar does not work so I assume you are having problems with that.
Say you have a function in your root movie on the maintimeline that does something like:
function loadIt(){
loadMovie(_root.swfToLoad, targetMC)
}
Then in your navigation swf say on Services link you would add:
on(press){
_root.loadIT()
}
Hope this helps.
Challenging Books For A 14 Year Old?
First guitar : acoustic or electric?
|