PSX5Central

Non Gaming Discussions => Off-Topic => Topic started by: ##RaCeR## on September 29, 2002, 07:39:59 PM

Title: Flash is really annoying me... HELP
Post by: ##RaCeR## on September 29, 2002, 07:39:59 PM
Ok, I have created a button in Flash, how do I assign it to take me to a URL when\'s its pressed?

I have tried everything, and it just does nothing. Can anyone help me please? I am going skitszo...
Title: Flash is really annoying me... HELP
Post by: Black Samurai on September 29, 2002, 11:35:26 PM
If you have AIM hit me up at MrMenshun and I\'ll tell you what to do.
Title: Flash is really annoying me... HELP
Post by: ##RaCeR## on September 30, 2002, 12:36:58 AM
Can you PM me? I dont have AIM. I dont even know what that is... :)
Title: Flash is really annoying me... HELP
Post by: §ôµÏG®ïñD on September 30, 2002, 02:01:19 AM
Donno what progie u use.. This is how i do it in flashscript.
Double-click the Button to get its Properties dialog and select the Action tab.
Use the drop down menu to add a "Get URL" Action.
Then enter FULL URL

Click, OK then publish to view if it works..
Title: Flash is really annoying me... HELP
Post by: ##RaCeR## on September 30, 2002, 02:15:26 AM
Thats what I have been doing and it doesnt work.
Title: Flash is really annoying me... HELP
Post by: §ôµÏG®ïñD on September 30, 2002, 02:28:03 AM
lol, guess your screwed.. Cause that\'s how u do it. :)
Title: Flash is really annoying me... HELP
Post by: Black Samurai on September 30, 2002, 08:08:55 AM
Nah you forgot a step. Double click on the button. Make sure its "Object " Properties.

Now you want to add:

Quote
On mouse event (release)
{
GetUrl("http://yadda yadda",)
}

^^^probably not the exact code; but very similar

For the mouse event------- release can be anything from press to rollover". These two actions should be under the basic actions tab.
Title: Flash is really annoying me... HELP
Post by: Black Samurai on September 30, 2002, 01:50:07 PM
Let me know if it worked or not.

Even though I already know it works. :D
Title: Flash is really annoying me... HELP
Post by: ##RaCeR## on September 30, 2002, 04:57:18 PM
Double clicking on the button just takes me to the Up, Down edit.

What am I doing wrong?
Title: Flash is really annoying me... HELP
Post by: Black Samurai on September 30, 2002, 08:19:19 PM
Up, down edit?

Double click on the frame(in the timeline). That should bring up "Frame Properties(or actions, I can\'t remember)"

Once that window is open, click on the button and it should change to "Object Properties/Actions"

Once that is done put in the code from above and viola.
Title: Flash is really annoying me... HELP
Post by: ##RaCeR## on September 30, 2002, 08:53:45 PM
Gohan, yes, its now working, but not as I wanted...

I wanted to be directed to a URL once I click the button, this just links me once it gets to that part of the frame, so you dont even have to click \'enter\' (its an intro movie to a website). Once the movie finishes it just automatically takes you.

Its ok, but I did want to click it thats all. Thanks.
Title: Flash is really annoying me... HELP
Post by: Black Samurai on September 30, 2002, 09:50:51 PM
Alright let me try to walk you through it step-by-step.

1. Make sure you are on the frame where the button should appear.

2. Be sure that there is a stop action somewhere to get the movie to stop on this frame.

3. In the bottom right of the main project window there are 7 icons.

4. You want to click on the second from the right. The arrow. It is the show actions button.

5. When the window opens it should say "Frame Actions" in the top right corner.

6. Click on the button that you created. The window should now say "Object Actions".

7. Under basic actions, double click on "On Mouse Event"

8. Under basic actions double-click on "Get URL"

9. Change the settings under each action to suit your needs.

The exact code should look like this:
Quote

on (release) {
    getURL ("http://www.FILLINHERE.com");
}


BTW, Are you POSITIVE that the symbol you are trying to attach the action to is a "Button" symbol? If not you will have to do a little more to get it to work.
Title: Flash is really annoying me... HELP
Post by: ##RaCeR## on September 30, 2002, 10:40:31 PM
Hehehe, its working now. Geez I am dumb, I forgot to add \'on mouse event\'

I used to program Delphi in school last year in between shower wrestling so you would think I would know that. I wasn\'t very good at Delphi...

Thanks