Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Teacher Needs Help With A Button



I posted in the regular forum, but figured this was pretty simple so I should move it here.
Sorry if this is stupid, but I'm still learning. I've figured out how an over animation, but here's what I'm wanting to do. I'm a teacher and it's for a game for my class.
- Have an object, like blank card. No over animation.
- When the card is clicked, it flips to show another image (such as a jpeg, like the back side of the card) and stays like that. Think of a concentration game.

Basically, I'm not sure how to make it do the flip transformation when it is clicked. Could someone point me to a tutorial, or make a quick one I can dissect? Thanks for any help.



FlashKit > Flash Help > Flash Newbies
Posted on: 08-17-2008, 01:21 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

In Need Of A Teacher
Hello, im new to Flash MX and i'd like someone to teach me some stuff, ive taken the basic tutorials from within the program itself, and took a few tutorials here also, i liked it alot, but im not quite getting it, so what i want, is someone to teach me the more advanced stuff flash mx offers,
contact me here:
MSN/E-Mail: bifi1234@hotmail.com
AOL: Bifi1234 (although i use it less than msn)

Teacher Needs Help ------ Please
I would like to create online tests and quizzes using MX. I have seen the quiz template and worked with it.....I'm not sure how to collect the data from each student's test so that I can analyze the results of the entire class....
Suggestions??? Help??? Thank you.....

Please Would Someone Help Me.. I Need A Teacher.
I've bought the book "Learn Macromedia FLash 5 in 24 hrs" and I've constantly tried to learn it.. Its so hard for me. See i have an idea to make a site.. And every time I try I mess up. I don't know how to make preloaders.. and OMG ACTIONSCRIPTING Is just confusing. Please Help me out. I have many ideas. Please would someone be my teacher and teach me. I've read most of the tutorials on flashkit.com it helps but i just don't know where to start when making flash websites. Please would someone help me and be my teacher. Much appreciated. Im on aim as measostupidoazn please contact me. i would love to have a friend who knows flash

Can Someone Help Out An Old Teacher?
Hi, I am relatively new to Flash. I can do several things and understand the basics of using Flash itself. My question is this..please no laughing. I simply want to create a vertical navigation menu on the left side of a webpage that will call up different html pages to fill the page to the right of the left column navigation. Can someone help me! The entire site would just be a header graphic at the top of the page, the left side column navigation menu that would call up the urls in a box that would fill the space to the right. I would like the whole thing to fit on a page that is viewable in 800x600 space. I would like it to have space around it in a 1024x768 screen (left and right anyway). The site would look sort of like a piece of interactive paper on a desk. I might even be willing to pay a few bucks for a template, but would really like to have something or someone to learn from. Thanks troops! Markus markfarnold=YIM

Teacher?
i was Just wondering, if i can have a nice teacher.. Who's willing to teach a noob. Im really good in photoshop, so im good with layers, jus wanna learn some flash.. Plz help... Post some contacts, or add me to ya AIM list. My screen name is the same

noobflashguy


thanks

I Need A Teacher D:
I use FLASH MX 2004

Okay, I am not new to Flash. I have been working in it for a couple years, and I still suck. Besides that, I have been offered to make a game for a friend.... I told him I would do it, and now I need to learn AS. I know basic things like variables, hittest, and timeline control. I have made a beta of the game I would like to create.
Save the Princess

Now that I know what I want, I need someone to help me make it happen. I will give you credit if you help me.


What I want is:

Health bar (I know how to do the variable, not the bar)
Better Graphics (You probably cant help me with that)
a character
to be able to fire at enemies
and sound on certain events

CONTACT ME!:

AIM: Gorthus
MSN: gorth@gorthus.com
email: gorthus@landofnosleep.com

Looking For Actionscript Teacher In L.A.
Hey,
I'm looking for someone to teach me about Actionscript in Los Angeles. Obviously I would be willing to pay. I am mostly focused on learning about games in flash and how to code them. I have read books and understand some of it but need someone there to explain what I do wrong and help me to learn. I'm thinking once a week. Anyone out there wanna make a lil' extra cash?

[F8] Teacher Needs Basic Help
How do you determine when to use a preloader? What size does a file has to be?
My file is 1.17MB.
Thanks
Ecinele

Elementary Teacher Needing Help
I tried posting in the freelance section, but the prices I was quoted were just a tad out of a teachers price range. I thought I'd give it another shot doing it myself, but if anyone would like to offer to help, that would be awesome. I've tried doing it myself, but found unless you're a regular user of flash, it's too much to learn casually. I'm at my frustration limit. Here's what I want to do (a couple projects for my kids):
- One thing to keep in mind, neither project needs artwork. I just want a template, or framework set up. Then I can just plug in things later. I'd rather just have placeholders.
Project 1 - This one I almost have done, but it's gotten too frustrating. I figure it wouldn't take someone 15 minutes to finish (of course, I could be wrong). Basically, it's a panoramic of a bookshelf (already made and working, the scrolling part anyways). I need buttons placed on the panoramic that when clicked, go to a tree of slides. If someone could just make one tree, I assume I could just copy and past the rest. They can just be blank.
Project 2 - If you've ever seen either of the Prime Suspect games, bingo. The way I figure it would be an opening screen with different locations. Click to go to that location. Then you've just got a screen with maybe 10 items. Click on the items, they disappear (or float away). Click anywhere else and lose time. So it would need a timer.

If anyone would be interested in helping me out, it would be very much appriciated.

Help Teacher With Creating Basic Quiz (U Help Me Ill Help U)
Good evening everyone,

I have a few questions for you. If you help me create an easy to use template, I am willing to pay!

I am looking at creating all my tests on Flash for the upcoming school year. I want to be able to have the students take the tests (randomly generated to avoid cheating) and be able to submit the answers to me by emailing it to me and they would in turn get an immediate grade with the correct answers. I basically want to take my paper test and transfer it on the computer to simpilize the grading process so the students dont need to fill out those bubble sheets!

What is my best option from the above description?
If I have different amount of questions in each quiz, what do I need to change?

This would be a very simple test, multiple choice with 4 options each and anywhere from 20 - 50 questions.

Is there an easy solution to doing this?

PLEASE HELP!

Teacher Wants Drag & Drop Quiz
I'm looking to create a simple Flash program that allows students to drag text statements from one area to one of two other areas - say 'good' and 'bad' areas. If the statement is in the correct area then the student scrores 50 points. If it is wrong then the student has 50 points taken away.

I have attached a design I am thinking of using but there is no action script in it to make it work. (Anyone studying the new Edexcel DiDa course that has access to the Telford resources may recognise it!)

Anyone like to have a go or at least get me started?

Thanks

[MX04] Teacher Needs Help-Slider Ruler
Hello FLASH Angels,
I'm trying to create a simple ruler with a slider_mc(drag) that when the student drags the slider_mc to the blue line (one inch position on ruler pic) the words "1 inch" (dynamic text) will appear in the slider.
Image Setup on frame one:
1. ruler pic with blue slashes indicating one inch
2. slider pic converted to _slider_mc for drag
3. invisible button on top of _slider_mc for drag

The coding is attached to the _slider_btn:
//The drag is restricted to the length and width of the ruler pict so kids
//can not wander.
on(press) {startDrag(this,true,42,200,615,200); Inch="";var Xposition=0;
var Yposition=0;}
on (release) {
this.stopDrag();
Xposition=_xmouse;
Yposition=_ymouse;
//The Xposition is the _xmouse position if slider is moved to the first blue
//slash which indicates the one inch mark on the ruler. The Inch is dynamic
//text which shows the "1 inch" on the slider.
if (Xposition==132||133||134||135||136||137) {Inch="1 inch";}
if (Xposition==206||207||208||209||210||211||212) {Inch="2 inch";}
if (Xposition==283||284||285||286||287) {Inch="3 inch";}
if (Xposition==360||361||362||363||364||365) {Inch="4 inch";}
if(Xposition==432||433||434||435||436||437||438||4 39) {Inch="5 inch";}
if(Xposition==512||513||514||515||516||517||518||5 19) {Inch="6 inch";}

else {Inch=="Move slider";}}


Here's what happening:
1. when tested the slider starts in the area of 6 inches and then when the user presses on the slider "6 inches" appears on the slider.
2. if the user presses on slider, moves it to one inch position, it still reads "6 inches"
3. i think i may need two frames or i may need a button to trigger the code processing or i am totally confused

I would any and all help with this coding so that I can teach kids how to use a ruler via a simulation.
Thanks for your help.
IT Florida_Academy

Whack A Teacher Game Actionscripting Help
Hello,
I am making a whack a mole type game with various teachers from my high school. I need help trying to perfect my coding.
I am using dynamic text with the varriable "hit." Every time the teacher is whacked, it adds one point. I need to make it so when you get 20 points you advance to the next level on a different scene (using the gotoAndplay comand). If anyone knows how I could use the if comand to go to another frame once I get 20 points it would be really appreciated...
Thanks for your time,
Ryan

Help With Flash 8: Student & Teacher Edition
My son goes to King's School Tynemouth, Senior School, and I was wondering whether Macromedia/Adobe will accept this. I would like help on this subject because it is an awful lot of money for flash and I don't want to be rejected from the Registration of the product.
Please could someone help me!!!

Thank You

P.S. It is 'Flash 8 Student and Teacher' that I am enquiring about.

Flash Teacher Wanted In Orlando Florida
Hello, I am relatively new to Flash and would like to know if there is anyone in the orlando area willing to teach for $.


Thanks,

Greg

Inform Teacher If Student Has Finished Assignment
Hi there guys,

got a pickle for ya;

Is there someway for a assignment (done in flash) to inform a teacher when a student has finished it?

Sorry if thats a bit general, but just getting an idea.

Would it involve some database work?

Inform Teacher If Student Has Finished Assignment
Hi there guys,

got a pickle for ya;

Is there someway for a assignment (done in flash) to inform a teacher when a student has finished it?

Sorry if thats a bit general, but just getting an idea.

Would it involve some database work?

[MX04] Help An Esl Teacher Capture And Play Back Student Voices
Hi all,

I have used this forum in the past and it has been an enormous help. Thank you all very much. I am again hoping that someone out there can help me solve this issue.

I need to record and play back students' voices. The students will use this to improve their English pronunciation. I know I can use the Microphone class (?) to capture the audio, but I can't seem to work out how to save the audio captured in the movie clip and play it back to the student. I also need this to be client-side. If this is not possible in Flash MX or Flash 8, is there any other way I can do this? Thanks again for your help. Any and all suggestions will be gratefully received.

ESLTeacher

Stop Button States In Button With Animation With Button
Hello there,

I wonder if someone could help me to do this:

I have a movie clip with 3 animated buttons in it. Now I want to make the same movie clip into a button itself but I want the inside buttons not to show their over, press or hit states.

If I try and change the buttons' states this will change the originals which I don't want to do. I could replace the buttons with stills but this could be very time consuming since I have a lot of buttons in very long and complex animations. I could also duplicate the buttons and make the changes and then substitute them in the new movie, but this is also a very long process...

Is there a way to disable the buttons' state in an instance of the button as supposed to all of them when changing the master ?

Thanks a million to whoever helps.

Daniel

Button On Top Of A Button... Still Retain The Base Button Actions?
Hi there.... is it possible to still use the rollover / rollout buttons when a underneath another button??

I have been trying to have a slide in menu that basically slides away on rollout, but of course when you have buttons on this slide in menu, this triggers the rollout on the underlying movie or button and makes the menu dissapear.

Is there someway to avoid this or should I be using a different approach? Maybe a hit test on the mouse cursor perhaps?

Appreciate any help in advance,

Scott

Back Button, Next Button, Exit Button
I have created a flash MX project by linking from scene to scene. and i don't know how to apply the actionscript for the "back" button, "next" button as well as the "exit" button. for the Back and Next (just like we have in our browsers). for the "exit" button, when the user click on it, it will display a confirmation message. can someone please help me.

thank you..

Rollover/off Anim Control Button, Problem Adding Button Functionality
Hi, I'm really new to flash, so forgive me for sounding like an simpleton.

I'm trying to create a button that when you roll over, it grows in size and some text animates onto it. When you roll off, the anim is supposed to reverse and go back to the rest state. I've managed to get the animation to work okay, so it grows and shrinks accordinly. My problem now is, I want to make this into a functional button, ie to add a mailto: link, or a link to another frame.

Whats the best way to achieve this? I've tried to convert to a button and have the anim in all button states, but this didn't work. And a get an error when trying to add the mailto action script to the button, saying 'on release' should only be used on instanced buttons. I tried making an invisible button behind the animated on, but I loose the animation playback when rolling over the invisible button. It seems I can't do both for some reason.

I'm using this script on the first frame to control the playback of the movie. And stop on the last frame.


stop();
this.onRollOver = function() {
rewind = false;
this.play();
};
this.onRollOut = function() {
rewind = true;
};
this.onEnterFrame = function() {
if (rewind == true) {
prevFrame();
}
};

Any help would be appreciated, I've tried so many times with different approaches to no avail.

Display Movie-clip With Image/text/button ..when Clicked On A Button
We had generated a template.

Template has 2 area
Buttons on left and right had side area is blank

on click of button we want to display a movie-clip having image/text and buttons for nvaigation.


We found that on click we can display the movie ...it displays image text is not diapled. Also we want to display buttons on the same.

Your help is great value addtion to us.

Thanks in advance

Ramesh

Button Inside Button - Only Parent's OnRelease Is Called (by Player Nature)
I am sure this is the most asked question in history of Flash, but I dont happen to know how to lets say create a popup menu, which should fade away when the user moves the mouse away yet make the movieclips in the menu have their onRelease handlers called. The issue is that when the menu gets the onRollOver and onRollOut handlers required to make the fade in/out work, the hand cursor appears over the whole menu, and the movieclips it contains dont dont react on the mouse anymore - the player seems to only consider the whole menu movieclip.

Is there a workaround for this without creating own mouse event handling system with hitTest and things like this ?

Maybe the trackAsMenu is relevant here ? I am not sure how to use it either

Flash Button: Question Regarding "Animation In MouseOver And MouseOut On The Button.
Hello. I came across a problem while creating a flash button and I've come here to seek your help.

I am creating a Flash button where:

- MouseOver on the button will play Movie #1.
- MouseOut on the button will play Movie #2.

Now, I can do the first part without a problem because I can create Movie #1 within the "Over" section of the button. The problem is, I don't understand how to implement a method so that when MouseOut is detected, Movie #2 will play.

I don't know if you guys can understand what I mean, and I have supplied a link to the .fla file below:

button.fla

Any suggestions or help will be greatly appreciated. I am sort of a newbie to designing with Flash, and this part of working with buttons seems a bit advanced to me. Thank you. Have a nice day.

On Stage Pressin Button..works, Test Movie, Press Button Dosent Work
i really need some help on that, it's really annoying me, on the stage i enable simple button and simple frame actions, then i click and it goes to the specified frame, but when i go and test the movie and click on the button, it just sits there, i've tried everything, any ideas?

Questions Re: Button Event Code Syntax W/ Variables & Browser Back Button Programming
SHORT VERSION OF MY QUESTION
I have some variables in my movie named backMovie & backFrame, Then I have a button that I'd like to attach the following code to, but obviously I've formatted it incorrectly. Could anyone please offer me the correct syntax for using variables in these instances.

on(press){
loadMovieNum('"+backMovie+".swf',1);
}
on(release){
_level1.gotoAndPlay(backframe);
}


LONG VERSION OF MY QUESTION
I have a movie and my client has now said they cant live without the back and forward buttons on the browser working.....Grrrr

So I did some research on programming the browser back button but determined that it wasn't cross-browser friendly and therefore it was safer to try and create a back button within my movie. The problem is I am loading several multi level swf's and also am a very novice actionscripter (so I'm sure my way is the looong way)

Anyway, I managed to create several variables that change each time a different navigation element is clicked.

What I'm trying to do is reference some of these variable in the programming of my movies own 'back button'. But I don't know how the code should look. My variable names are 'backMovie' & 'backFrame'.....and I've tried variations of the following:

on(press){
loadMovieNum('"+backMovie+".swf',1);
}
on(release){
_level1.gotoAndPlay(backframe);
}


But they don't work

If it helps, I've uploaded my practice files to: http://www.lucid-life.com/back-button-workaround.zip

(It would be a bonus to learn that the actual back button of the browser could be programmed with this actionscript...but I dont think that's possible...is it? and using the anchors method with the back button woudln't work because I'm using levels...right?)

Any help or advice greatly appreciated!
Many Thanks in advance

Cheska

Rotating Menu/ How To Prevent Button Sound When Button Is Under Another Layer
I have a rotating menu on my site. The menu buttons have a sound effect when they are rolled over.. I have a layer overtop of the rotating menu, but the buttons still rollover (and that sets off the sound effect.) when they are hidden by the top layer. How can I prevent this? It there any _x _y actionscripting that I can do to prevent this?

Here is the site if you want to see what I'm talking about:

http://www.webraptor.com/index2.html


Thanks,

-- Jeff

Button: Level1 Button Tells Level2 Movie To GotoAndPlay
on (release) {
_root._level2.gotoAndPlay ("interact", "startscreen");
}
___________________________________________

What's wrong with that?

I have a button within a level 1 movie, and I want it to tell the movie on level2 to go to the 'startscreen' label within the "interact" scene.

I've tried a few variations, but nothing seems to make it work. Any ideas?

(the _root. thing was added, cause I saw everyone else using it. still doesn't work)

Thank you all for being so helpful in advance!

Tone.

When You Click On A Button, The Button Grows Into A Large Box With The Content Inside
How in the world are people doing that?? Hopefully you know what I mean... and example would be right here. When you click on one of those boxes, you can open the "card" and then the white box grows into a larger box with the content inside. Is there a relatively simple way to do this?

*begging*

Mute All Sounds Button / Resume Playing Sound Button
Hi there gang!

ok i dont know how exactly to do this..so i need some help, a fla file for this kinda thing would be super if you happen to have the solution.

Ive done about a 5 mins flash presentation with audio speak for that duration, the speak itself is cut up into about 36 seperate wav files on the timeline. ANyhow i would like a MUTE button that when click would mute the sound...BUT!

Important thing is that if the viewer decides to click it again at anytime and wants to hear the speak, it should resume from where you are currently going on the timeline..this is streaming speak which is in sync with animations.

I could use a Stop all sounds commmand but then thats not quite enough..would like to also have the option to resume speak and in sync from where you are currently..

The file is here and is almost done..exe file link:

http://www.beats.midnightsunrecordin..._LtY/LtY20.exe

Im in quite a hurry with this so if anyone has any comment please please..im crap with action script so an FLA for normal MX would be helpful..

many thanks!

cc

(I Guess) An Easy Button Question - How To Make A Function For A Button
Hi!

I have a little button problem. I have plenty of buttons in my presentation which should take the movie to different frame labels. But some of the buttons shouldn't be active from the beginning and they should have a different ("not active") color. Instead of setting enable = false; and color changes for every button, I tried to make a function and then call it. I put it in the first frame. It looks like this:
code:
/*** TRYING TO CALL THE FUNCTION ***/
_root.flowerButton.notActive(this._name);

/*** FUNCTION ***/
function notActive(nameofbutton) {
nameofbutton.enabled = false;
//color change...
}

I don't know if this script is alright or not, it simply doesn't work. I tried many combinations and put trace to the function, but nothing. It looks like I can't call a function for a button like this. Can anybody help me how to make it work? And I would really appreciate an explanation why this code doesn't work.
Thank you!

Poco

Button Problem: Animation Stops When Cursor Is Moved Off Of Button.
I have a row of buttons for my navigation bar. On the over state of each button I placed a quick movie clip. I'm trying to figure out how to get the movie clip to complete even when the cursor is moved off of the button. As it stands right now, if I move my cursor off the button the movie clip cuts out and the button returns to its original state.

Any help would be very much appreciated.

Thank you.

Convert Button Event Code To A Function AND 'if,then,else' Statement On A Button Even
mac os X
flash mx 2004


Hi

Can anyone please help me convert the following code from a button event into a function:


on (press) {
paypal = new LoadVars();
paypal.cmd="_cart";
paypal.item_number= myVB2;
paypal.item_name= mvVB;
paypal.upload="1";
paypal.business="ady@atinybitofgod.com";
paypal.currency_code="USD";
paypal.amount= myVB3;
//paypal.handling ="2.00";
paypal.send("https://www.paypal.com/cart/add=","_blank","post");
}



My plan is to have 5 of these (obviously named differently and with slightly diff. values for the variables) and then on a single button's (press) i will have an 'if,then,else' statement, which will call one of these 5 functions depending on the value of another variable in my movie.


is this possible??? I have been spending 2 weeks now posting on numerous threads trying to find a workaround for a different problem, with no joy..so the above is my *hopeful* solution... please ask me if i haven't explained anything clearly enough.....

Thanks so much for your time and any help you might be able to offer...

kindly with crossed fingers,

Cheska


(ps...if you want to try and help my initial problem, you can visit http://www.atinybitofgod.com/kids/paypal.html and see all my code and my swf and the rror i get from paypal when i try to send three variables that reference other variables in my movie.....BUT...since i have had no joy and think that ive tried most peoples suggestions, i'd really like to try to figure out this new 'function' and 'if then else' thing on my button...if that's even possible).

Button [ ] On Click Goto Frame 2 [X] Movieclip X Mark Button
Ok I have a movie clip first frame looks like this [ ] second frame looks like this [X] I want to apply action script to it that says on press goto frame 2. Then another that says if on frame 2 go back to frame 1! But I'm kind of lost here I don't how to make this happen!

Changing The Function Of A Button Depending On Previous Button Press
Hi all,

this problem has been stressing me out all day! (its probably extremely simple, but i can't get my head round it)

I was wondering if anyone can help me, I'm loading in 5 jpegs from an external file using "loadMovie" and i have 5 corresponding buttons (1-5) to load them with.

I want to change the jpeg the button loads in depending whether a separate navigation button has been pressed -

i.e.

navigation buttons:

-motorbike pics
-car pics
-lorry pics

If a user clicked on "car pics" then the loading buttons 1 to 5 would load "car1.jpg", "car2.jpg" and so on...

similarly if the user clicked on "lorry pics", the same loading buttons 1 to 5 would load "lorry1.jpg" and "lorry2.jpg"

any help and code snippets would be greatly appreciated!

Thankyou!

FLASH 8 - Toggle Button/released State/pressed Button
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?

Please help someone,
Thanks,
M

Mc Instance Activated By Button How Do I Unload Mc On Click Of Another Button?
I have 4 buttons each with a mc instance attached. on release of button one it plays the movie clip - eg click "about us" button plays a movie clip to open up the company details. But when you click the 2nd button "contact us" I want the first movie to disappear(unload) and the 2nd movie clip to play.

Can anyone help?
Desperate!!!

Jumping To A Scene From Button In A Movie Clip Button?
I need to jump to a scene from a button inside a movie clip of ascene. Can any one please help? On the frame for the button in the movie clip I have this action script:

on (press, release) {
gotoAndPlay ("presCambells", "presCamp");
continue;
}

It works (with enable simple button action) in flash, however, when I publish and preview as a swf flash file it just shows the current scene with the movie clip looping after I click on it. Please Help.

MC Acts As Button, Cancels Out Button Contained In MC Aghhhhhh
There is a MC on my stage. With in that MC is a button that changes color in the OVER instance. I would like the MC on the stage, with the button in it, to load an .exe file when the mouse is released.

I am using this code for the MC to load an .exe file

on (release) {
fscommand("exec", "CEAS_ACT.exe");
}


But when I use the "on (release)" command, the OVER state no longer activates. Hence, there is no change in color when the mouse goes over the button on the MC - very frsutrating.

Can anyone throw me a bone here? This has to be ridiculously easy, and I'm looking right past it.

Thanks for your help.

Button._focurect Disables Also Button Keyboard Access
I'm trying to make my Flash movie keyboard-accessible.
It's a search engine control panel, with a drop list for categories, a textfield and a Search button.

I have set a "halo" effect to enhance the GUI element currently under focus, for both keyboard and mouse interaction.

Everything works fine if I leave the _focusrect active, but it's really ugly and I want to eliminate it.

Unfortunatelly when I set Button._focusrect = false, the buttons recieve focus but are not "pushed" when I press the spacebar (I tried to add Key-specific triggers to a button, but that doesn't work either).

Does anybody know how to help this?

p.s. I already set all the tabIndex stuff...

How To Make A Button In Flash Work As A Form Button?
I'm trying to figure out how to use a button in flash as a form button. I have all of this HTML:

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but22.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="julie1@juliedesigns.com">
<input type="hidden" name="item_name" value="picture">
<input type="hidden" name="item_number" value="picture1">
<input type="hidden" name="amount" value="10.00">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
</form>

And I want to be able to make button in flash be able to do what that form button would. Anyone know how to do this?

Making A Button Event Happen Without Click A Button
hello.

Got this script, an event happens when the user clicks
a button. The button isn't a standard movie clip button,
its a component.

No actions attached to the buttons.

There is an actions layer with the actions:

loadFeedBtn.addEventListener("click",Delegate.crea te(this,loadxml));

loadFeedBtn is the instance name of the button.

there is also:

function loadxml(p_evtObj) {
bla bla bla
}


My question, how do I make it, so that it just performs the action
that the happens when the user clicks the button, with out them clicking the button, just by them entering the frame?

Thanks

Switching Out A Component Button With A Custom-made Button
Hey there,

I had a programmer work up some code that would allow me to use different usernames and passwords to enter a site. This was done with .as and xml. It works beautifully. The .as is a separate file that I also upload with the swf.

The problem I'm having is that the programmer used a component button and I need to use one that I made (one that matches the rest of the site). I created a button and switched the component button out with this newly made button. But now it refuses to work! I've tried naming it exactly the same in the instance box and even in the properties box but it just will not work.

What could I be doing wrong?

Mute Button Not Working For Button Rollover Sounds
I got my code for a mute button from the flashkit FAQ on sound,
and it seems to be muting everything but my rollovers. Anyone have any ideas?

it mutes the sound in all levels except for the buttons in _level0
and the button itself is in _level0 ?

code: // on main timeline
globalvolume = new Sound(); // no associated movie clip.

//button to mute sound and change toggle mc frames
on(release){
if(_root.globalvolume.getVolume() > 0){
_root.globalvolume.setVolume(0); // mutes all sound
play(); //switch to mute frame
} else {
_root.globalvolume.setVolume(100); // unmutes all sound
play(); //switch to unmute frame
}
}

thanks in advance for any input

Recording Button Instanec Names On Button Press
Hi,

I have a number of different buttons in a scene each with different instance names. On pressing any one of these buttons the program moves to the next frame.

I need to record the instance name of the button which is pressed. Currently on each button i have code which on (release) sets a variable 'name' equal to that button instance. ie for the button whose instance name is 'james' i have:

on(release){
name = james
nextFrame()
}

I want to increase the number of buttons and do not want to have to manually write code for each button.

Is there a way in the main scene to get actionscript to find the instance name of the button which is pressed so that for any button press the name of that button can be saved?

many thanks
john

Button Script On Timeline Works Only When Button In Same Frame
in frame 1 i have define what btn1 shall do when clicked. this works if the button is also in frame 1.

is there a way to define btn1 in frame 1 and let the button appear for the first time in frame 3?

Trying To Get A Button To Play A Movie Clip After I Click The Button
trying to get a button to play a movie clip after i click the button. right now when i preview my web i have to hold the button for it to play and after i let it go it dissaperes. please help with flash mx. use to corel rave so simple but limited

Mute Volume Button & Start/Pause Button
Hi!

OK..I used to be "OK" at AS1 and AS2...but I haven't done Flash in 2 years. Now I've plunged myself into CS3 and AS3 and feel like I know NOTHING! And I suppose I do...I don't understand "Classes" and a lot of things.

Can someone direct me to a tutorial that teaches me how to:

1) Create a button that toggle mutes/unmutes an embedded audio (voice over) file that streams throughout the entire movie? (I need to be sure that the file syncs exactly to the animation, that's why it's embedded).

2) Create a button that simply toggles start/pause for the main movie timeline.

Thank you for ANY help you can give.

--Darcie

Copyright © 2005-08 www.BigResource.com, All rights reserved