ActionScript 2.0 :: (MX 2004) - Selections To Be Made Into Variables That Can Be Concatinated When The "Go" Button Is Pressed

May 11, 2006

I have created a tool where the user makes two selections (from 2 seperate comboboxes). I want the selections to be made into variables that can be concatinated when the "Go!" button is pressed, thus taking the user to the required frame. In other words: If the user selects "3-7" years in the first combobox, and "low-medium" in the second, when they click the "Go!" button, I would like them to be taken to a frame called something like "3-7low-medium" I'm sure this is possible, but so far I've drawn a blank!

View 12 Replies


Similar Posts:


ActionScript 3.0 :: Storing Radio Button Selections?

Jan 5, 2010

I am having some problems with a small survey swf i am making in actionscript 3. I have multiple choice questions on different frames using radio buttons and i need the users selections shown in a dynamic text button along each frame and also on the last frame of the survey.

Another problem i am getting is i need the last radio button clicked to be stored, so if the user clicks lets say 'rb_2' on frame 1, clicks next to go to frame 2, then if they were to go back to frame 1 again 'rb_2' is still selected.

Thought it would be easy using the 'Shared Object Class' but from reading tutorials i cannot get it working.

View 9 Replies

ActionScript 2.0 :: Make A Box That Fades In When Pressed On The Button And Fade Out When Pressed For The Second Time?

Nov 16, 2004

I have a function on root:

_root.fadeBox_mc.onEnterFrame = function (){
if (fade){
this.nextFrame();[code]....

This causes a mc to fade in and out on rollover/rollout. But what I wanna make is a box that fades in when pressed on the button and fade out when pressed for the second time. But if I say

on (press){
_root.fade = true;
}

the mc fades in, but I cant do another on (press) to fade out. Is this too confusing?

View 2 Replies

ActionScript 2.0 :: Declare Global Variables In Mx 2004?

Mar 27, 2004

how a can i declare global variables in mx 2004? i want 2 declare a variable that can be accessed by all buttons & movie clips. i tried to put it in the main thingie (the one u find in the actions panel when you're not selecting anything)

View 3 Replies

ActionScript 2.0 :: [MX 2004] Access _global Variables Between Domains?

Apr 6, 2005

Is there or is there not possible to access _global variables between domains? on [URL] i have index.html and index.swf. Index.swf then loads main.swf from [URL].In index.swf i have a _global variable that i want main to use. When calling for it all i get is undefined. The only way to access it is if i call for it using _parent or _root.

I have allowed the domains to communicate using

System.security.allowDomain("http://www.Domain1.com");
System.security.allowDomain("http://www.Domain2.com");

I have also put a crossdomain policy file on both servers..cross domain policys since i CAN access the variables and functions using _parent and _root...or is it?

View 7 Replies

ActionScript 2.0 :: Custom Function With Variables Not Working Using Flash MX 2004?

Nov 29, 2004

I'm using Flash MX 2004.

[Code]...

Can you please tell me why this isn't working? It takes me 10 minutes to test the movie every time and it's taking me forever to fix things. Do I have to do something else with the variable names I'm using or something?

View 2 Replies

ActionScript 2.0 :: Send Some Variables To An ASP Cgi Using The SendAndLoad() Function In Flash [MX 2004]

Aug 22, 2005

I am trying to send some variables to an ASP cgi using the sendAndLoad() function in Flash. On Frame 1 of my movie I have the following code:

[Code]...

View 1 Replies

ActionScript 2.0 :: Start Sound With Name Made Of Variables?

Aug 1, 2009

Code:
chans1.start(0, 0);

but what i want to have is where I can supplying the object name from part text and part variable..

Code:
"chans"+chan.start(0, 0);

and even

Code:
"chans"+(chan+i).start(0, 0);

where chan is a variable set by a button and i comes from a for loop.

I'd post the whole thing but it's huuuge.

So can I define an object name made out of part text and part variable?

View 3 Replies

ActionScript 2.0 :: Make A Button Made With AttachMovie Function As A Button?

Sep 6, 2011

I created a button using the following code,

Code:
on(release) {
attachMovie ("my_btn", "my_btn", _root.getNextHighestDepth(),{_x:34, _y:158});
}

Now I am trying to make the button gotoAndStop on a scene on release. I tried this code,

Code:
onEnterFrame
my_btn.onRelease = function() {
gotoAndStop ("SettingsPanel")
}

View 9 Replies

ActionScript 3.0 :: If Pixel Calculations Are Made Swf Files And When They Are Made To Fullscreen

Apr 29, 2009

Anyone let me know wether if pixel calculations are made swf files and when they r made to fullscreen wether they will remain the same in any monitor size?

View 1 Replies

ActionScript 2.0 :: Make A Simple Dynamic Button In MX 2004?

Feb 8, 2005

I am working on a project that involves basic buttons in flash. They have 2 functions. One is to go to a url and the other is to execute a movie clip within the flash movie.

I dont want my developers to open flash to code the page links (i.e. contact.html). Is there a way to just add a variable of some kind in the GetURL() and have it pull from an .xml file? It can be very basic. There will be no need to dynamically add more buttons, just simply change link names on the fly.

View 1 Replies

ActionScript 2.0 :: Motion Tween The Button To Return Up To Its Original Spot When Another Button Is Then Pressed?

May 26, 2005

I'm trying to create a set of 4 vertically arranged buttons that 'split' apart when those buttons are pressed. For example, if you click the topmost (1st) button, the bottom three buttons will drop down so submenus (for the 1st button) can now be revealed beneath. Again, when you click the 2nd button from the top, the bottom two buttons drop down, revealing submenus, and so on.

Now, is there a way that I can use actionscripting to tween the buttons to not only motion tween a drop down when a button is first pressed, but also to motion tween the button to return up to its original spot when another button is then pressed? Right now, I have two keyframes, side-by-side which each containing a different y-scale value for an object. Can I do some actionscripting to get the object to motion tween upward to its original spot instead of "clicking," or snapping back to is original spot when another button is pressed?

View 1 Replies

ActionScript 2.0 :: Snap - Press Button To Detect The Last Button Pressed And If The Shapes Match

Jan 12, 2009

I want the press button to detect the last button pressed and if the shapes match, make them do something...obviously. I think I'm going at it the wrong way. I need to stick a "triange" id into the button/mc then if compares that and then if there is a match works then... right?

[Code]...

View 1 Replies

What Button Event Should Use To Make The Program Understands To DO SOMETHING Only When The Button Is Pressed / Dragged

Aug 4, 2009

What button event should I use to make the program understands to DO SOMETHING only when the button is pressed/dragged. In my sample code below, I want something to happens only if the button is dragged beyond 200 in y axis. I tried onRelease, onRollOver and onDragOver but still not working

[Code]....

View 6 Replies

ActionScript 2.0 :: FLASH 8 - Toggle Button/released State/pressed Button

May 18, 2007

I have a series of buttons inside an array. I am trying to get the buttons so that once they are pressed, they remain in the over state. Which is a darker color than the up state. So that people know which button they have pressed. Is there an easy way to do this for buttons?

View 1 Replies

Button Not Functioning Properly \ On The Homepage Is A Enter Site Button, Which Once It Is Pressed Starts Thetimeline?

May 15, 2009

I'm creating my first website. I've managed to create a homepage. On the homepage is a enter site button, which once it is pressed starts thetimeline... I have an actions/labels layer which I am writing my code in. On frame number 'one' is my code below.

stop ();
enter_site_btn.addEventListener (MouseEvent.CLICK, buttonClicked)
function buttonClicked (event:MouseEvent): void

[code].....

View 5 Replies

ActionScript 3.0 :: Make Button's Function Execute Once Without Button Being Pressed

Sep 26, 2009

I have a function that executes when a button is pressed:

btnRandomAll.addEventListener(MouseEvent.CLICK, clickHandlerBtnRandomAll);
function clickHandlerBtnRandomAll(e:Event)
{

...but, I need it to also execute once, upon the file loading.

View 7 Replies

ActionScript 3.0 :: Made A Button With A Link To A Website?

Nov 7, 2009

I have got a small question. I have made a button with a link to a website lets say [URL].. but when you press a button i get an notification from adobe player security manager that tells me this site is trying to connect to a different site and you have to configure manually. Only after doing that button works fine. Is this going to happen to everyone when they try to use my website and is there any way i could fix that?

View 3 Replies

ActionScript 3.0 :: View / Edit Button Symbol's Instance Name After Have Made Button Symbol?

Nov 5, 2011

How do you view and edit a button symbol's instance name after you have made the button symbol?

View 3 Replies

ActionScript 3.0 :: Loaded SWF File CANNOT Be Made Into Button DIRECTLY?

Mar 17, 2009

I'm experiencing a problem which may have no solution, but I would like to know why I cannot do what I want to do.

PROBLEM: I am attempting to load in an external SWF file and once it is loaded, I wish to directly make the new Sprite/MovieClip into a button. However, the newly loaded Sprite/MovieClip seems to be resistant to be made into a button DIRECTLY. I would like to know why this is.

[Code]...

View 4 Replies

ActionScript 3.0 :: Access To A Text Build In Made Button?

Apr 5, 2011

I drew a rectangle and then converted it to button. In the mentioned button I added a movieclip that it contains a text, because I used an animation on movieclip.Now I need to change inner text via loading a XML file to it. I loaded text from XML file but i can't access to the text in the button.

View 4 Replies

ActionScript 2.0 :: Make A Curser That Have Made Look Different When Roll Over A Button?

Jan 9, 2005

how do u make a curser that you've made yourself look different when u roll overthis is what i have:a movie clip called CurserNew_mc and then a blank frame with the actionsMouse.hide()startDrag(cursernew,true)

View 2 Replies

ActionScript 2.0 :: Make Curser That Made Look Different When Roll Over Button

Jan 9, 2005

how do u make a curser that you've made yourself look different when u roll over.a movie clip called CurserNew_mc and then a blank frame with the actions.[code]

View 3 Replies

ActionScript 3.0 :: Made A Button That Navigates To A URL With A _self Target?

Mar 1, 2010

I made a button that navigates to a URL with a _self target. Well, in the script, i have it like this:

Code:
clickhere2Btn.addEventListener(MouseEvent.MOUSE_DOWN, myHandler);
function myHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("https://app.playmakercrm.com/register/eNortjK0UjJWsgZcMAkeAcs!"), "_self");
}

the "_self" isn't working on the page, but when i take out the target, it works just find, it opens in a new page which i don't want.You can check it out here

Code:
dev.myhomecaresalescoach.com

and watch that flash header for about 30 seconds, theres a button at the end that reads "Click Here" try clicking on that and it wont take you to the URL.

View 1 Replies

ActionScript 2.0 :: Made An Image Of Arrow And It Is Set As A Button, Not A Movie Clip

Jun 11, 2010

I made an image of an arrow and it is set as a button, not a movie clip.

I have made it so one of my scene loops, frames 65 to 85 and added a button to go to the next scene which is at frame 86.

The code I used is

on (release) {
gotoAndPlay(86) ;
}

But when ever I test the scene I get an error saying "Mouse events are permitted only for button instances".

I am using ActionScript 2.0

View 2 Replies

ActionScript 2.0 :: Link A Flash Button To Page Made In Dreamweaver

Jul 8, 2003

i want to link a flash button to page made in dreamweaver. so i am going from a flash slpash page to html..(if i am correct<--noob) its all on my ftp server so how do i write the actionscript to find the page i want it to? i am sure that i worded this whole thing wrong so bear with me.

[Code]...

View 1 Replies

ActionScript 2.0 :: Made An Input Text Field Which Has In Front Of It A Minus Button

Sep 13, 2009

I have made an input text field which has in front of it a minus button. In another place I have a plus button. When I fill the text field my plus button becomes able and I can press it for another text field, an so on. My problem is when I press the minus button, because the fields have to rearrange and I don't know how to do that.

View 5 Replies

ActionScript 3.0 :: Made An Invisble Button On The Timeline Into A Movie Clip And Insdie The Movieclip?

Mar 29, 2011

So I created a flash banner and I want the whole banner to be clickable I made an invisble button on the timeline into a movie clip and insdie the movieclip in the actions layer my code is thi:

mybutton.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);function mouseUpHandler(evt:MouseEvent){navigateToURL(new URLRequest(root.clickTAG),"_blank");}<mybutton>.addEventListener(MouseEvent.MOUSE_UP, handleMouse);[code]...........

View 14 Replies

Button On Pressed Stage

Oct 13, 2010

I have 2buttons. Each have 3stages: up, over, down.I want to have 1st button to stay on its 'down state' when pressed and then you should see 2nd button 'up' stage(down stage of 1st button is the same as up stage in 2nd button).If someone hovered again you see 'over' stage of 2nd button,when will click, button move to 'up' stage of 1st button.

View 1 Replies

Starting Animation When Button Pressed?

Dec 22, 2009

I have done an animation which includes a button that I want to use to start it. I've added action script to stop the animation on the last frame, I just have no idea what action script to put in to start it when the button is pressed. I have 14 layers + an action script layer. 7 of the layers are animated.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved