Yet another one of milefile's flash problems.

  • Thread starter milefile
  • 16 comments
  • 984 views
10,832
I don't know if this deserves a thread to itself but...

I am making a new site and am utilizing Flash MX for the first time. I want all graphics and navigational buttons to be animations.

I have the title done fine, a simple moving text thingy, which I am happy with for now, especially since I'm on a schedule.

Now right under the text I want the nav. buttons. The buttons will be words converted to symbols. I am able to get the buttons to work on the stage, i.e. change colors. But when I test movie they aren't links. When I put them into my page in Dreamweaver and test the page they aren't links either. I've gone through the lesons and the tutorials and have wasted my entire Sunday with no results.

Can anyone walk me through making five or six nav. buttons, arranged horizontally?

I seem to be missing something with layers or something. Please help . Thank you.:)
 
Have you done the basic flash lesson on buttons?

If so do that...it is froun by going Help > Lessons.

Anyway once you have done that and sorted out how to make buttons, now I will help you with the action script.

Is each webpage on a seperare .htm file or is it one huge flash piece of mumbo jumbo?

If it is on seperate .htm pages I will help!
 
The tutorials in Flash MX are totally weak compared to version 5. Don't even bother with them.

Go to the Actions tool box at the bottom of the screen. Click on Actions and it will bring down another sub list. Click on Browser/Network. Finally, double click on getURL and it will bring up a property box. You can enter the URL here.
 

Attachments

  • flash mx - geturl.gif
    flash mx - geturl.gif
    11.2 KB · Views: 70
My first flash lesson...hm

Step 1
Select a button you made. Make sure it is a button with an up, over, down and hit fields all sorted out.

Now with the button selected open up the actionscript panel. It's above the Properties panel below the stage.

Anyway you will be using the most basic of commands.
With the Actions window open it should look like this:

attachment.php


Now on the diagram I have opened up on the left the Actions category > Browser/Network and selected the getURL command.

With that selected double click 'getURL' - use normal mode so you can insert the variables and stuff easily.

In the top box: 'URL' type https://www.gtplanet.net
The 2nd box choose the window you want the link to open in:
_self - the window that link was pressed.
_blank - a new window
_parent - I haven't got a clue
_top - somebody help me

_parent and _top I think are for use in frames.

Leave all the other settings how they were - at the moment they are just there to annoy you.

attachment.php


Close the actions palet and save your work.
Press ctrl + enter to test your movie. - Click the button and you should be heading off to GTPlanet.net!

Go to the following sites for examples.

example -
http://www.entertainmentforums.net/alphadesign/index.htm

.fla file -
http://www.entertainmentforums.net/alphadesign/Basic_Buttons.fla

To make this work with your site follow the same principle except make the link for the getURL command 'www.mysite.com/links.htm'.

Any problems don't hesitate!
 
Alpha. Thanks a million. I never got on my computer yesterday and will do this tonight when I get home.

The last time I had a problem it ended up being related to the Actions Panel.

Anyway I anted to let you know I read it and say thanks before I actually do it. I'll let you know how it goes.
 
You sure you have the .swf uploaded?

Does it have the correct file name?

Did you import the flash to your webpage via Dreamweaver?

Is the name got no spaces in it?

Does it have underscores instead?

Could I have a link to the .htm and where the .swf apparantely is.
 
Originally posted by Viper Zero
The tutorials in Flash MX are totally weak compared to version 5. Don't even bother with them.

Gonna agree with this. They seem to start at some arbitrary place and not from the begining of what you want to do.
 
Are buttons supposed to work when you do "test movie?" The button changes colors on the stage according to what the up, over down and hit states are. Then when I test movie the arrow just turns into a cursor. And when I put the button into a page in Dreamweaver and hit F12 to open a browser, the button appears but doesn't work at all, no colors, no nothing.
 
mile I am lost! - I think he problem is in the publishing.

Try using a preset button, and just apply the actions to it and try it.
 
Back