Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 02-15-2011, 03:56 AM   #1
ab1gm
Registered User
 
Join Date: Feb 2011
Posts: 1
Question button controlling loaded swf

I have started to make my own website in Flash (while teaching myself flash) with actionscript 2 and originally made it all load as one movie - this takes 2 minutes to load so now realise i need to split it into a main movie with buttons which then load separate swf!

I need to make the buttons in the main movie control the what frames are shown in the loaded swf but can't!......I have this....

(BSc_Button.onRelease = function() {
loadMovie("BSc_Movie.swf", Section_Flash);
gotoAndStop(35);

This button loads the movie, then the following buttons (in the main movie) I want to go to particular frames of the loaded swf, or tween elements in the swf.
(Childrens_Hospice_Button.onRelease=function() {
_root.Main.Section_Flash.gotoAndStop(36);

(Opt_1_Button.onRelease = function (){
var Childrens_Hospice_Tween:Tween = new Tween
(Childrens_Hospice_Moving,"_x",Strong.easeOut,20,2 0,2,true);})

This code all worked when I had it as one but im struggling to know what to do when splitting the movies. As you can see I have started to add root information but could do with somebody telling me if im heading down the right path. If it would help I can send the link to the original which loads in two minutes! Any comments on how to make it work would be appreciated, thank you in advance.
ab1gm is offline   Reply With Quote
Old 03-16-2011, 12:18 PM   #2
Fayence
Member
 
Join Date: Feb 2011
Posts: 86
Default

Probably want to post this in the non-newbie forum.
Fayence is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:22 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.