[F8] Scenes Linked To Buttons
hey,
i have nearly finished creating a flash movie and have had some problems with linking buttons to scenes i don't want to start again so any help would be great.
I have hosted my movie, please take a look at it
http://www.sharebigfile.com/file/102...ystem-fla.html
FlashKit > Flash Help > Flash General Help
Posted on: 03-07-2007, 10:36 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Scenes Linked To The Date
Last year I made a advent calendar for my work - it was set so that each scene opened on a separate day.
I.E. On 7th December 2003 - the movie started on scene 7
I used the following code:
myDate = new Date();
label = "scene" + myDate.getDate()
_root.gotoAndPlau(label);
This works fine up to and including scene 19. For some reason from scene 20 to 24 it starts at scene 1.
Anyone have any ideas what could be going wrong.
I could email a copy of the document if required...
It's doing my head in!!
Cheers
Buttons Linked To Mc
hi. the content of my webpage are all movieclips. how can i link those movieclips to the buttons in my nav bar? say.. the news button is linked with the news content movie clip.
Buttons Linked
Hi guys,
Im trying to link a button to another web site, I have tried to to use 'get URL' from the action script but that dose not seem to work. What am I doing wrong, can any one help?
Cheers.
Linked Buttons
Hi,
I have a flash movie with 4 independant buttons in. Each one changes state to an 'on' state when clicked, but I would like to configure it so that only one can be on at a time. At the moment they can all be clicked and turned on. Ideally when one is 'on' and another is clicked, I would like the one which is on to turn off, and the new button go to its 'on' state.
If anyone wants to see the SWF file i can email it.
Many thanks for any help,
Anders
Buttons Linked?
I have applied some actions to a text button -- button 1 --when you roll over it some text drops down.
I have copied button 1 and would like to modify the text in this new button 2.
however, when i change the text in button 2 it automatically changes the text in button 1 as well.
are these somehow linked together? how can i unlink them, so i can copy text buttons and modify each of them to be unique?
any help would be appreciated!!
thanks.
dg
Buttons Linked To Sites
Hi guys,
i have linked a flash button to a website which works fine.
but i have a few problems when i hit the button it opens a new window i want it to open in the same window.
please see below
http://www.omegaad.com.au/
cheers.
Dynamically Linked Buttons
Does anyone have a script for button effects using dynamically linked jps from a folder.
Rather than using the attach movie from libraries.
Thanks
Osiyo
Dynamic Linked Buttons
I have a horizontal image scroller that has dynamically linked graphics and text underneath - I would like to also make a button that is linked dynamically to a text file so that my web guy can change the url on the fly - any ideas.
Dynamically Linked Buttons
Good Afternoon, Im new to actionscript so I need a little help - I figured how to make a dynamic image scroller - I think im using dynamic right. I have a txt file that flash looks to for text content and images, I did this with a loadvariable command. I would like to be able to create buttons that the hyperlink can be updated in the same way - any suggestions, it doesnt work the same as my dynamic text box with a variable name.
Duplicating Buttons Without Having Them Be Linked
Hi-
This seems so outrageously simple, but it's been driving me crazy for months now.
I build up a useful element, such as an animated button with a description on/in it.
I want to make 5 copies so I'll have five similar buttons to do other things.
But they stay linked. If I edit the elements of one, they're all edited.
How can I "copy" things and have them operate independently of one another?
Thank you, thank you, thank you for your help. (I've got a bunch of buttons to do for a project due tomorrow. )
[F8] Buttons In Externally Linked Library
Hi
I'm experimenting with external library's and im having problems with button symbols.
I have an external library with called lib_buttons.swf its all linked fine I think and I have placed an button from the external movie on the stage of my main movie, main.swf/fla
but for some reason when I add actionscript to the button
Code:
on( press ){
gotoAndPlay('quit');
}
the code does not work.
buttons in the local library. with the same code work fine. Is this a scope issue.
G
Dynamically Linked Scripted Buttons
I have been adding button effects by linking to images_mc in the Library.
How do I do the same scripting but by pass the library and link straight to the art "art.jpg" in a folder.
Thanks
Osiyo
Problems With Buttons Linked To Pop Up Windows
I am currently piecing together my personal website. I have read the tutes on how to launch centered pop ups. If I create a blank .fla and make buttons with added actionscript to each button, when its previewed it works fine, and it will load the specified link in the actionscript. If I try to this in my current .fla movie which is going on the web, the buttons do nothing at all. Ive tryed everything I possibly could: putting all the buttons that are in the movie together in one movie clip and placing the clip on the stage, re creating the .fla from scratch, putting the contained pop up buttons directly on the stage, deleting everything in my main movie that Im trying to affect, and just placing the contained pop up buttons. There are four buttons on the stage in one layer, each button linking to an html document in my site. They work fine. Then three buttons which each have links to 3 separate pop up windows which will load three separate html documents fit to the size of the pop up windows.
Can anyone help me with this?
Problems With Buttons Linked To Pop Up Windows
I am currently piecing together my personal website. I have read the tutes on how to launch centered pop ups. If I create a blank .fla and make buttons with added actionscript to each button, when its previewed it works fine, and it will load the specified link in the actionscript. If I try to this in my current .fla movie which is going on the web, the buttons do nothing at all. Ive tryed everything I possibly could: putting all the buttons that are in the movie together in one movie clip and placing the clip on the stage, re creating the .fla from scratch, putting the contained pop up buttons directly on the stage, deleting everything in my main movie that Im trying to affect, and just placing the contained pop up buttons. There are four buttons on the stage in one layer, each button linking to an html document in my site. They work fine. Then three buttons which each have links to 3 separate pop up windows which will load three separate html documents fit to the size of the pop up windows.
Can anyone help me with this?
External Flash Linked Html Buttons
"
<input name="Submit" type="submit" onClick=" controlShockwave('flashmovie','','GotoFrame','1')" value="Submit">
"
This is the HTML code i use to activate a frame in my movie. Everything works great, but now i'm trying to use this button while in a frame of the index.html
The index.html contains the flash movie and frame [with the button].
Is there a way of targeting this button outside of the frame?
Two Movie Clips Linked To Multiple Buttons..
I have two mc's linked to 5 seperate buttons. I want one of the clips to always play on release of any button.
The second mc, however, I want to play only once on release of those same buttons.
How can this be achieved?
Thanks for any suggestions.
Creating Linked Multi Coloured Buttons?
I am intersted in creating a menu link the one in this website [http://www.visualdata.org/] where all the buttons and the shape they are held in changes colour when the buttons are pressed. Anyone have anyideas hows its done?
Does each button contain details to load up all the buttons again but with tweening there colour in from transparancy thus allowing in to tween from the colour in was before its pressed?
Any advice on how to get there would be extremly appreciated!
Many thanks
Matt
Dynamically Linked Scripted Buttons Not Working
Cant get second image to load on Rollover:
this.createEmptyMovieClip("clip1_mc", 10);
clip1_mc._xscale = 100;
clip1_mc._yscale = 100;
this.clip1_mc.loadMovie("media/myimage5.jpg");
//Load Image
this.clip1_mc.onRollOver = function() {
this.clip1_mc.loadMovie("media/myimage5.jpg");
};
Animating 2 Buttons Linked On An Axis, For Mouseover.
HELP!
I'm a rookie at flash and need some help to get started. On my index page I have 2 links (one a picture of a camera and the other a picture of a cocktail. I want the 2 images or buttons to be linked on an axis, with the axis being in the middel of the 2 images. So if you imagine a camera and a cocktail on a invisible tray. When you rotate the tray, the camera gets bigger and comes towards the viewer, and the cocktail rotates away from the viewer becoming smaller. And when the tray is rotated the other way, the camera goes smaller to the back and the cocktail rotates closer to the viewer. So when the cursor is over the camera it will rotates closer and the cocktail rotates to the back, and vise versa.
I want it to look realistic with the perspective changes as well so i will photography the items myself in the different states.
Where do I begin? Is this a motion tweening thing and/or actionscript? Any help is much appreciated, thank you...
Just need some help to get pointed in the right direction...
How To Create Page X Of Y Display Linked To Next And Previous Buttons
I am using FlashMX 2004, I have created a presentation by importing Powerpoint slides and adding my own page navigation buttons (home,next and previous). I would also like to add a text display of the current slide in the following format: Page X of Y with X being the current Slide/Frame and Y being the total number of Slides/Frames. I have seen this functionality in the pre-defined Quiz Templates, but being new to Flash I am unable to figure out how it is done. Has anyone done this? I so can you tell me how to do this or point me to a sample or tutorial that creates this?
Thank you in advance,
thewiz2005
Please Help With Code (attachMovie,Array[index],linked Buttons)
Please, please, on my knees, could someone have a glance over this code and offer some answers as to why the buttons are not working.
I am trying to morph to files so as I have the functionability of the buttons and the advantage of fading into two levels to decrease CPU grind.
Thanks (perhaps some knees pads will be in my stocking!)
zipped file attached ((PC) MX 2004)
//Main file
ActionScript Code:
var swfArray = new Array("mixed/1.jpg", "mixed/2.jpg", "mixed/3.jpg")
var totalNumPics:Number = swfArray.length;
var maxDepth = 1000;
var cpicnum = 0;
var xi = 50;
var yi = 20;
var btnWidth = 25;
var currentpic = 0;
var buttonHolder = visible(false)
////////////////////////////////////////////
function loadNextPic() {
if (_root.cpicnum<_root.totalNumPics) {
var pic_mcl = new MovieClipLoader();
var listener:Object = new Object();
listener.onLoadProgress = function(target:MovieClip, bytesLoaded:Number, bytesTotal:Number) {
trace(target+".onLoadProgress with "+bytesLoaded+" bytes of "+bytesTotal);
_root.percent = int(bytesLoaded*100/bytesTotal);
};
listener.onLoadComplete = function(target_mc:MovieClip, httpStatus:Number) {
_root.percent = "Done!";
var param = {_x:(_root.xi+_root.cpicnum*_root.btnWidth), _y:_root.yi};
var temp = _root.attachMovie("btn", "btn"+_root.cpicnum, _root.getNextHighestDepth(), param);
temp.num = _root.cpicnum+1;
_root.cpicnum++;
loadNextPic();
};
//
var target1 = _root.attachMovie("picHolder1", "picHolder1"+cpicnum, 1, {_x:50, _y:50});
var target2 = _root.attachMovie("picHolder2", "picHolder2"+cpicnum, 2, {_x:50, _y:50});
pic_mcl.loadClip(swfArray[0], target2);
pic_mcl.addListener(listener);
///////
target1._alpha = 100;
target2._alpha = 0;
activeTarget = target1;
currentIndex = 0;
target1.loadMovie(swfArray[0]);
}
}
onEnterFrame = function () {
if (obj1._alpha>0) {
obj1._alpha -= 10;
}
if (obj2._alpha<100) {
obj2._alpha += 10;
}
};
loadNextPic();
this._lockroot = true;
Code on button
ActionScript Code:
this.onRelease=function(){
if (_root.activeTarget == _root.target1) {
_root.obj1 = _root.target1;
_root.obj2 = _root.activeTarget = _root.target2;
} else {
_root.obj1 = _root.target2;
_root.obj2 = _root.activeTarget = _root.target1;
}
///index below is just a test to see if obj2 is in fact loading. Ideally I need for the index to find the current picture number??///
_root.currentIndex = 6;
//load content into second clip
_root.obj2.loadMovie(_root.swfArray[6])
}
Enquiries On Whether Fla Can Be Linked To Another Fla, Swf To Flv Or Other Video Format And Buttons To An Animation
I have 3 enquiries.
1) How do I embed another fla within fla.
For example, I am working on a fla, is it possible to create a link to another fla via a button?
2) How do i convert a swf file into a flv file or any other video format like avi, mp4, etc?
I am asking this because I realized when I try to import a swf into my fla file, I could only bundle it for mobile. Neither the progressive nor the streaming nor the embeding options could be checked.
3) After adding tweening motion to an animation, is it possible to add buttons to play/pause? Do I have to write a script to enable the buttons to work?
I tried adding buttons (Windows>components>video), however, the buttons were not functioning like the case when I imported a video. I think it's because adding tweening to an animation doesn't really dismiss it as a video file.
I would greatly appreaciate if anyone could post a solution to my problems.
Thanks.
XprtHelp: Buttons In Mc Linked To Labels On Main Timeline?
I am making a very simple site with one timeline. This seems so simple but it isn't working: i created a mc that contains several buttons with over states. I placed the mc in my navigation menu with an invisible button to close it when user's mouse moves off. Where do I link the buttons in this movie clip to labels on the main timeline? It seems like I should select them in the mc, and use gotoandStop on that label. But when I click them in testing the movie, they don't work. I posted the (very) unfinished swf to my url: jkbeasley.com
Can anyone help? I am sitting here alone with no experienced flashies to ask, and I hate when something so easy just will. not. come. to. me!!! THANKS!!!!!!!
K
Stationary Text Field Linked To Rollover On Scroll Bar Buttons
Hello everyone,
I'm new to flash, and I started using MX about a month ago. I'm trying to create a scrollable bar of buttons, that moves due to mouse position. I accomplished that, but what I need now is a text description that comes up in a stationary place as you rollover each button.
I tried this in several different ways but none of them work without it moving along with the scrolling buttons. I have the fla, and an example swf up on my idisk. I would apprecite any comments or help. Thanks.
Link:
http://homepage.mac.com/WebObjects/F...leSharing.html
Linked Flash Files With Linked Sounds.
First of all heres my project:
http://athene.riv.csu.edu.au/~jgalvi...ic/Soundcomic/
The big black smudges are buttons, so click the one to the right and the page should load.
My lil problem is that due to other effects I wanted to add I have sound linked within each of these seperate pages.
Each page has several panels, each of which plays a sound when the mouse rolls over it. This sound is played via a:
var snd1 = newsound();
snd1.attachSound("the_sounds_name");
SO each of these pages works fine by itself.
BUt I have made a "loader.swf" page where by clicking on buttons advances them timeline to another page that is loaded into an empty movie clip ("container") using:
container.loadMovie("page3.swf");
SO now when I load this way, the sounds do not play.
Is there anyway around this besides going into each seperate panel movieclip and adding it to their timelines?
PLEASE?!
Buttons And Scenes
okay. i have button that is inside a MC. So i do a _root.goto.andStop(2) or _root.gotoandStop("edi") . But i have multiple scenes. How do i make it so it goes to scene1 and play frame 2? I added a preloader and i can't seem to figure out.
Buttons Vs. Scenes
I'm making my first flash-website and I have a problem with some buttons I have made. My site consist of 5 different scenes and a menu that is the same on all 5. The buttons in the menu links to each scene... There is no problem when I push my buttons one by one, but if I push a button 2 times, the second time it links to another scene....
What have I done wrong ??? The actions on every button is the same in each scene....
Help With Buttons/ Scenes
Im using flash mx, i have the following code atached to my menu buttons : on (release) {
gotoAndPlay("Home", 1);
}
but when clicked, the new scene does not appear. i have my scene labeled correctly as "home" and i'm wondering if someone could help me. if you need it ill send you the .fla. just drop me a line at nite.mohaa@verizon.net.
plz.
ty in advance.
Buttons & Scenes
Hello! This is my first go at Flash Mx. I am trying to create a button that, when clicked, will go to another Flash Mx scene.
When I test the button (enable simple buttons) everything works fine. But when I TEST SCENE or TEST MOVIE, the button does not work!! Instead of going to Scene 2, it will open up my desktop folders and an output window opens up ("error opening"). What is going on???
Please help me!!
nancy@sonicfusion.la
Buttons And Scenes
Hello,
I have just start messing with Flash and I am already stuck.
Four buttons are inside a movieclip. When you click the first button, I want it to go to scene 2. It should be simple, but I can't figure it out.
The FLA file is attached to this post. If somebody could look at it that we be great.
Click on the "schedulebutton" movieclip and then click the gray rectangle button. This is where my actionscript is so far.
Also, is it possible to embed fonts in the final SWF file so if the user is looking at your site but does not have the font you used, it is still viewable?
Buttons & Scenes
I am trying to set up a website in Flash MX. I have seven scenes and seven navigational buttons on each scene, My problem is the buttons work when I "enable simple buttons" but when I test movie or scene none of the buttons work. Why is this? Help. Thanks.
Buttons Across Scenes
hi all,
does anyone know how to make a button go from scene 1 frame 3 to scene 2 frame 1.
i tryed
[code]on (release) {
gotoAndStop ("scene 2", 2);
}
but it dosent work. any ideas?
Scenes&buttons
Hi!
I have 5 scenes in my movie and buttons to stop, play, goto start and goto next scene. Buttons work fine in scene 1 and 2, but when I'm trying to copy those same buttons to scene 3 and so on and choose "Test Movie", Flash jams.
Flash don't inform any problems in scripts.
Has anybody noticed same kind a problems?
Buttons And Scenes
Hi, I am pretty new to flash. I really know very little action script, so I am hoping a vet will take mercy and help me out. Here is my problem.
I have a multi-scene flash file. I am using the ever popular flipping book component. What I am trying to do, is be able to navigate from various scenes in the movie, to the scene with the book, and on entering that scene, get the pages in the book to flip to the area of the book, which is appropriate to the button the user has pressed. I know I can do this manually, by creating an additional 6 scenes. But I am trying to get this to happen via action script, because it means it will be more manageable if my client wants changes, etc. Any help appreciated. I am posting a link to the file.
http://www.dmcdesign.org/flippingboo...point5.fla.zip
it is about 5 mb, by the way.
Thanks so much for any help.
Buttons And New Scenes
hi,
i create a set of buttons and when i click on each button i want to goto a new scene.
What happens is that all scenes run at once so how do i stop that?
how do i copy and paste all elements on 1 scene into another into the same position?
Same Buttons, Different Scenes.
Hi,
I have more than one scene in my movie (not external swf) and a few buttons (pause and stop buttons) which have to be visible on all scenes. Is there any method to fix them on the same place in all scenes, or I have to put them on every scene manually?
Thanks
mx-guest2004
Buttons To Scenes
I have a really stupid problem. I am trying to teach myself Flash MX 2004 Pro with only a few months experience in Flash MX. I am in the process of making a web site and have all my pages on a seperate scene for better organization. I have been trying to figure out how to assign an action to a button so when it is pressed it goes to scene 4 and plays the whole scene and stops until another button is pressed. I have been working on this problem for weeks without even a little success. All I need is an example of the code for such an action. Once I have that I can link everything up and get it online. If someone could give me an example of the coding I would appreciate it.
,Hotaru
Buttons And Scenes
is there a way to have a button in scene one stay in the rest of the scenes.
MC's/Buttons And Scenes
Dumb Question:
I have a button inside a movie clip in scene 1 that when pressed i want to play a frame in scene 1. But when I test it, it looks like it is playing the referenced frame inside the MC and not the frame i'm referencing in the scene. (the mc is on frame 6 - 12 in the scene and the referencing frame is 13 in the scene)
Changing Scenes With Buttons
Hello everyone
In my navigation menu, I made a button and told it to go to the next scene. If I enable simple buttons, and try it from the workspace, everything works fine (it goes to the next scene). If I publish preview or test the movie, it doesn't work. Please help if you can. Thanks!
URGENT Help With MC's, Buttons And Scenes
Hey peoples, I need some real urgent help here.
Here's the scenario:
I've got 2 scenes, a button just placed on the stage, and another button placed inside a movie clip.
I've put a stop(); action in the first frame of scene 1, 2 and the movie clip.
I've also put the following action to each button in scene one:
on (release) {
gotoAndPlay ("Scene 2", 1);
}
Though this all works out in theory, when saved in SWF format and played back, the action associated to the button inside the movie clip doesn't respond, rather it just plays scene 1 again. Why is this? I'll show you below:
[swf height="100" width="200" background="#FFFFFF"]http://www14.brinkster.com/chewman2k/test3.swf[/swf]
Can somebody please help me and tell me why this doesn't work. I'm working on a graphics assignment for school, and need to overcome this Flash 5 problem. In flash4, this 'bug' did not occur.
Please help
James
HELP With Buttons Linking To Scenes
need help bad, thanks in advance peeps...
ok i have a menu with 3 buttons. buttons are labeled home, info, and links. i made a scene for each thing. so now i wanna program the button so 'on mouse event click' it will goto scene x. but when i bring up the actionscript window, i am unable to do anything for the button.
i uploaded the .fla, 160k. thanks.
http://frealfso.frostburg.edu/cs110L...m/follower.fla
**USING BUTTONS To Jump To Different SCENES?**
hi guys!
need ya help! i did 5 animated shorts (movies) in Flash 5, and now i need each shorts to be called up when clicking on different buttons on the main scene.
how do i make each button call up its respective movie?
i know nuts about Flash, so i would be eternally grateful if you could give me the instructions as if you're telling a 5 year old!
*how embarrassing!*
*BigJuicy*
Controlling Scenes With Buttons
Using MX: I have a movie clip that contains a button. The button has three bits of code on three frames as follows;
FRAME 1
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay((10-_currentframe)+10);
}
on (release, keyPress "a") {
gotoAndPlay("studio a", 1);
}
FRAME 10
on (rollOut) {
gotoAndPlay(14);
}
on (release, keyPress "a") {
gotoAndPlay("studio a", 1);
}
FRAME 11
on (rollOver) {
gotoAndPlay(10-(_currentframe-10));
}
on (release, keyPress "a") {
gotoAndPlay("studio a", 1);
}
I want to make the movie that holds this clip go to scene called studio a when the button is pressed, but using _root it tells me I have to export to Flash 5 and then it doesn't work! Can anyone help please?
Buttons To Change Scenes
im using flash mx, and when you clcik on a button to goto a scene it does it and plays the scene, but then if you press the button again it either goes to the scene befor it or after it instead of reloading it! pls help
Buttons & Scenes Help Needed
I'm trying to create a website and either I'm going about it a$$-backward or...well, I must be going about it a$$-backward cause nothings working....here is what I have done:
I created a scene, made it my main page, added menu buttons, assigned actions, then made a scene for each of those buttons. I enabled buttons, and it works fine when I'm working on it, but when I use the preview it plays through all the scenes. I tried by adding stop into the timeline, but then the buttons wouldnt work anymore in the previews either.
Someone please help, I've spent the majority of today working on this button problem alone. Any and all help is not only greatly appreciated but ending my suffering will surely get you a place in heaven. Thanks.
Buttons Linking Scenes Together?HOW?
im sure this is a really easy action to do, im just trying to have a button on one scene. lets say scene 1, and when i click it make it go to scene 2. how would i do this? action's or what? thanks a bunch jeff
Starting Scenes With Buttons Placed In A Mc
Hi,
I have a problem....of course :-(
I have created a movie with several scenes. The first scene contains an introduction and a menu that will take the user to the other scenes (each scene is like a chapter in a book). For these scenes I started by creating a scene containing elements that are common to all scenes (the UI for instance). Than I duplicated this scene several times, changed the names of the duplicated scenes and in each scene I placed the elements that are specific to the respective scene. The problem is that the buttons in the instance containing the buttons that will start the different scenes do not work.
If you will look at the example I uploaded it will be easiear to understand what I mean. Please take a look and maybe one of you can help me out.
I use Flash MX and I am not good at scripting.
Thank You.
Mr.So
Buttons Linking To Different Scenes
I'm working on a website for a school project and basically I'm trying to make it out of Flash. However whenever I try to link a button to another frame or a different scene it won't work. Now it works in enabled simple button mode but anything else doesn't work. I've checked all the coding and it seems to be fine, so I can't think of anything wrong with it. Anyone have any idea's?
|