Ultrashock Forums > Flash > Flash Newbie
Flash & XML - Image transitions and links

You are currently viewing our website as a guest which gives you limited access to forums, files and other resources.

Click here to join now for free, and start interacting with our members, download files and much more!

Click here if you are looking for our Flash files and other professional assets.
 
Post Reply | View first unread | Rate Thread Search this Thread | Thread Tools | Display Modes

#1
Bookmark and Share!
Flash & XML - Image transitions and links
Old 2008-03-28

Hey there all.

So I am an upcoming designer, going to school for Visual Art and Communications, and am stoked on learning AS.

So a friend of mine who I work worth wants me to make him a flash app for his site.

It seems fairly simple. The site is http://www.zoedane.com

He wants the main image on his homepage to be a image that changes with transitions, thats easy enough.

Second he wants there to be a button on the bottom of each image to take them to that corresponding section of the site, and I was saying to myself. Peace of Cake, I could have this done in no time..

Third, he wants to be able to update it himself, without having to go into flash, he is already learning Dreamweaver to maintain his site and doesn't want to pick up anymore programs.

So I was thinking that using flash and XML would be a good idea for this job, except the only problem is I dont know where to begin.

I have never had any serious actionscripting tutoring, so I recently picked up a book "Essential Actionscript 2.0"

Any pointers or code to help me start this would be stellar. I am kinda clueless, but am EAGER and HUNGRY to learn, I have the will to become an actionscript master, so hence me joining this user community.

Thanks in advance, and hope we can make this, then post it in the creative assets.

Cheers.

Tmaynar
postbit arrow 1 comment | 1953 views postbit arrow Reply: with Quote   
Registered User
tmaynar is offline
seperator
Posts: 18
2007-08-25
Age: 25
tmaynar lives in United States
tmaynar's Avatar
seperator

Ultrashock Member Comments:
tmaynar's Avatar tmaynar tmaynar is offline tmaynar lives in United States 2008-03-30 #2 Old  
Ok,

So I have surfed the net and found a nice Image transition fla.

The xml looks like this..

<RSS PAUSE="6000">
<IMAGE TRANSITION="1" ALT_PAUSE = "6000">gallery01.jpg</IMAGE>
<IMAGE TRANSITION="1" ALT_PAUSE = "6000">gallery02.jpg</IMAGE>
<IMAGE TRANSITION="1" ALT_PAUSE = "6000">gallery03.jpg</IMAGE>
</RSS>

Now If I wanted to add a link to the image... I would like the change the xml to this..

<IMAGE TRANSITION="1" ALT_PAUSE="6000" LINK="http://www.linkhere.com">gallery#.jpg</imgage>

So then, I am not sure where to edit the actionscript to tell it to make a link on the picture.. Would I need to add an invisible button that the link reads through the XML?

I have included all of the associated file. Please help.

Cheers!

Tyler

NOTE: I had to take out 1 of the images for upload size purposes, I edited the XML accordingly.
Attached Files
File Type: zip zoedane1.zip (391.6 KB, 74 views)
Reply With Quote  
Thread Tools
Display Modes Rate This Thread
Rate This Thread: