Go Back   Flashtory Support Forum > Flash Files Support > Flash Menus > Horizontal Scroller Motion Blur

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-19-2009, 07:17 PM
Junior Member
 
Join Date: Jun 2009
Posts: 2
Default Linking images/buttons to frame#/scene#

Hi!
Very nice product, thank you.

I need to know how to use the scrolliong images as buttons, linking (gotoandPlay) to a frame # further in my timeline/on another scene.

I am currently updating our website with your scroller, because what we got right now works fine, but isn't quite as estethic as your blur scroller!... You will understand what i mean if you went go to www.cine-scene.ca, check out the artistic productions/corporate productions pages.


Thank you,
François Bouillon
Productions Ciné-Scène
fbouillon@cine-scene.ca
Reply With Quote
  #2 (permalink)  
Old 07-18-2009, 06:51 PM
Flashtory Staff
 
Join Date: Feb 2009
Posts: 239
Default

Hello, your changes must be made in image.as. You must replace the getURL function with gotoandPlay, use node.attributes.url to properly refer the frame from inside the .xml file.

Cheers
Reply With Quote
  #3 (permalink)  
Old 11-26-2009, 11:19 PM
Junior Member
 
Join Date: Jun 2009
Posts: 2
Default

Uhm... I need help!

Here is the code from image.as:
******************

private function onPress()//actions for pressing one image
{
if (loaded == 1)
{
onRollOut();
gotoandPlay(node.attributes.frame);
}

}
******************************
AND THE CODE FROM THE XML:
</settings_horizontal_scroller>

<thumb image="images/1.jpg" title="Priere de de pas deranger" frame="21"></thumb>

***********

As you probably noticed, i need to link the GOTOANDPLAY function to a frame number in the same scene in which the scroller is loaded. ('Scene 3' in this case)

Doesn't seem to work that way... do i need to set a variable elsewhere? How?

HEEEEEELPPPPPPPPPPP!!!!

Thanks!!!
Francois Bouillon
Reply With Quote
  #4 (permalink)  
Old 12-10-2009, 03:19 AM
Flashtory Staff
 
Join Date: Feb 2009
Posts: 239
Default

_root.gotoandPlay(Number(node.attributes.frame));

Please use the above code, it should do the trick

Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
based on a modified theme of CompleteGFX