ActionScript 2.0 :: Click On Button And Have A Different Movie Load?
Jun 22, 2004
I'm using a test file so I can see how a full website is going to work. I've got 5 layers:Background, title, menu, main contents, Actions.I have an empty movieclip that I call "contents-main". And it is placed in the proper location.On Frame 1 of the Actions panel, I have loadMovie("760-250-main.swf", "contents-main"); This works fine and loads the movie into the empty clip.On the menu layer, I have a button. What I want to do is click on that button and havea different movie load into the movieclip called "contents-main". I have tried everything on the tutorials that I can find and nothing will work.I also tried putting different variations and also putting the unloadMovie before loadMovie statement.
every 8 seconds it shows a different item When I click a button and load another movie, and return.the delay between the newsitems is not 8 sec anymore.
I am wanting to load an SWF file into another movie on the click of a button. I can do this but I want the new SWF to fade in and then fade out when another SWF is loaded.
I'm not to sure where to start maybe using tween transitions??
All works fine untill I do something to the loaded swf.For example if I click a button on the loaded swf the button works but then when I click the button on the main movie to load the next and play the transition the transistion doesnt work.If I dont do anything to the loaded swf the transitions work.Is it something to do with the paths being changed when the loaded swf is acivated?
I have read all threads and can not find a solution but i am not somebody with a lots of knowledge about actionscript so here is my problem i am using this script .
[code]....
the problem is that when i click on the first button loads ok but when click on second still showing the first movie clip in the back ,,,,, i have try everything without luck ,,,, i guess i need to keep reading but will like to find an answer to this situation ,
I'm trying to make a flash website that has clickable buttons that will play different movie clips. But I dont know how to make it to just play the movie clip with the button you click without playing all the movie clips on the main timeline.
I created a button-symbol inside a scene, which is supposed to start a movieclip on click. As far as Google could help, I composed something like this from different snippets of [code]...
I have a SlideShowPro component on my stage and some buttons I've made which I want to load the different galleries when clicked. I've tried tons of different ways of writing it, but just can't seem to get the code right.
I am making a site where each page has a 'mini menu' and when you click on each item you get different text, problem is, I am having real trouble loading my text in, I have tried loads of different tutorials and there always seems to be errors.
I also know for a fact that as soon as i actually get this working, some other error will come up when I want to make the text change (or another text box to become visible) when you click the menu item.
I have attached an image of a page from my site, hopefully someone will be able to work out what i mean from this description, there is more info as comments in my actions window.
Using AS3.0, how do I load an external swf file when I click a button? Also, how can I get rid of that swf file when I click a different button on a menu?
I am trying to simply load in an external swf when I click a button. I have created a button on the stage called it 'my_button' I can get the swf to load in automatically but I am not understanding the script for loading it in on a click.....would someone pleae explain what script I need to have this is the script I have for loading automatically
I've got 20 images and I used this script in each of the frame where it loads the image. Is there a simpler way to load images in to a MC with a button click event?) How do I add a removeChild command here? the images keepon overlapping.
I want to load 2 swf files with a single button click. I'm currently using 2 different functions with different loaders and I call both functions with the same button, but I get error 2025.
I need to load 2 swf files with a single button click. I'm currently using 2 functions, but I get: ArgumentError: Error #2025: The supplied Display Object must be a child of the caller.[code]because I tried to load everything into a single function and when I used two functions I got error 2025.What code should I use in order to load two swf files at the same time, with a single button click?
I have a navation menu in flash in my homepage. I have 3 menus... portfolio1 |porfolio2| portfolio3 so when i click the portfolio1..the popup page opens and one flash movie is opening. in that popup flash(500px width,300px height)..i have a center portion(500w,15oh) where the portfolio related one small flash will be loading..
Right now when i click one each menu..evrytime by portfilio1 realted small flash file opening..but i want it should load as per button click on main page. so if i click portfolio2 button..popup should load also portfolio2 related small flash in the main popup flash.
I was getting in to transitioning from AS2 to AS3 a while back and had designed a page that had menu buttons that when clicked, loaded an external swf in to a container. Pretty simple accept for the fact that it was a while ago and my computer crashed so I'm having to redo this and learn it all over again. I have read in to flash on the subject but I am not to sure on the best way to go about this. I know there are a lot of people on here who make thing a lot more simple and structured than I do. I'm so used to putting the actionscript on the button and I'm a little stuck on the best way to combine the actionscript for the button and loading the swf. I would need to make a button load an external swf in to a container when clicked? I figure I just need one and then I can copy it to all the other menu buttons.
I need a simple image gallery to load when you click a button. I've tried shadowbox but have had absolutely zero luck. All I need is for a simple image gallery, nothing fancy, to open when I hit a button.
I want to know what action I should use for this. For example, I want to click on a button, it load up my intro movieclip, after the movieclip is done and it automatically load to my next scene.
I have a navation menu in flash in my homepage. I have 3 menus... portfolio1 |porfolio2| portfolio3 so when i click the portfolio1..the popup page opens and one flash movie is opening. in that popup flash(500px width,300px height)..i have a center portion(500w,15oh) where the portfolio related one small flash will be loading..
Right now when i click one each menu..evrytime by portfilio1 realted small flash file opening..but i want it should load as per button click on main page. so if i click portfolio2 button..popup should load also portfolio2 related small flash in the main popup flash.
I need a simple image gallery to load when you click a button. I've tried shadowbox but have had absolutely zero luck. I'm not sure how to load it from a flash file and I know there is work that has to be done outside of flash like in the root folder. All I need is for a simple image gallery, nothing fancy, to open when I hit a button. how to use shadowbox in lamens terms or knows how to easily script a gallery that would be amazing.
I need a simple image gallery to load when you click a button. I've tried shadowbox but have had absolutely zero luck. All I need is for a simple image gallery, nothing fancy, to open when I hit a button.
I have a flash project where I want when i click on a link it open in a movie clip.the movie clip is call mccontainer but i try doing parent.mccontainer but that did work.I am using CS4 the only document i found that was near to what i what to do is this but i try this but nothing is it different in CS4.so basically i want to click on a link that go to www.google.com but it doesn't open a new windows it load into a movie clip.