PDA

View Full Version : I need flash help - BAD!!



ackerley1
12-08-2003, 06:20 PM
All, I am trying to create an intro flash for this site: www.asi-interiors.net. The flash on the main page does not accomplish what I want it to and I am trying to revamp it. I am using Flash MX

Here is a copy of what I have redone thus far:
www.sovereignwebdesign.com/asi/flash/intro1.swf

I essentially want to have a "Skip Intro" and "Enter Site" button in the bottom right and I want the text (for the type of renovation) and the corresponding picture to be links to the corresponding page in the site. The text ones currently work, but I can't figure out the picture ones.

Can anyone offer some help on this. Any pointers and/or suggestions/crituques are welcome too!

Thanks

Rob

Sualdam
12-08-2003, 07:55 PM
To make pictures (or any area) 'hot' in Flash all you need to do is create a button that only has a hit state. This means it is invisible, but the hit area is active.

Then, on the button put:

on(release){
getURL(yourpagenamehere);
}
Remember that 'yourpagenamehere' has to be a valid url either relative to the SWF's location in your sites directory structure or absolute in terms of the URL of the site and the path to the page you want to display.

For example, if the SWF is in the same directory as the HTML page you want to load then you just use 'getURL('pagename.htm')' or 'getURL('http://www.yourdomain.com/pagename.htm')'.

If the SWF is in the root directory but the page you want is in a sub-directory use 'getURL('subdirectoryname/pagename.htm')' etc.

I assume this is what you meant.

Put your Flash intro in a container HTML page - it is bad practice to have a SWF open in a browser window on its own, and you may find some links (especially Javascript calls) will not work properly otherwise.

12-09-2003, 10:07 AM
Sualdam,

I am a real newbie to advanced flash. How do you create the buttons for "Skip Intro" which will take the viewer to the end of the movie and then switch to a "replay intro" button which will take them back to the beginning. And also a "Enter" button that will take them into the site (index2.php).

Also please elaborate on how to create the invisible buttons that you mentioned.

Thanks

Rob

J_Paul
12-10-2003, 09:12 AM
Hey Rob, this tutorial should help you out.. it's at the bottom of the page.

http://www.flashnewz.com/2003/0627.html