Go Back   Flashtory Support Forum > Flash Files Support > Flash Menus > Quick 3D Carousel AS2

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-22-2009, 07:51 PM
Junior Member
 
Join Date: May 2009
Posts: 2
Default Action on PICS

Hi, i want to change de action from
getURL to gotoandPlay or loadmovie
where do i do this?
If i want to go to the parent movie to the label "index" for example..
where do i put this information?
Thnx
Reply With Quote
  #2 (permalink)  
Old 07-14-2009, 09:27 PM
Junior Member
 
Join Date: Jul 2009
Posts: 1
Default adding action instead of links

Did you ever get an answer to your question. Thinking about buying this.
Reply With Quote
  #3 (permalink)  
Old 07-21-2009, 05:10 AM
Junior Member
 
Join Date: Jul 2009
Posts: 2
Default hello.

Quote:
Originally Posted by infrarrojo View Post
Hi, i want to change de action from
getURL to gotoandPlay or loadmovie
where do i do this?
If i want to go to the parent movie to the label "index" for example..
where do i put this information?
Thnx
the component work very fine brother, so you speak spanish?
if you speak spanish i can help easy; but my english is not good, and i have problems to wrote fast.
Reply With Quote
  #4 (permalink)  
Old 07-24-2009, 11:03 AM
Junior Member
 
Join Date: Jul 2009
Posts: 28
Default action on pics

Hello,
I appologize for the delay, we all the time respond to users tehnical problems

so if you want to add actions on pictures just do like that:


you will find a file pictureClick.as,open it and you will find a function:

//function called by onPress event and return "name" variables from xml (if action is other that "_blank")
function pictureClick(par)
{
_root.mcTest.gotoAndStop(par);

//example 1
//in xml:<picture thumb="test-images/aaa.jpg" description="description" name="1" param="action"></picture>
//in xml:<picture thumb="test-images/bbb.jpg" description="description" name="2" param="action"></picture>
//par is the name value from xml name=1,name=2 and so on
yourMc.gotoAndStop(par); //par=1,2


//example 2
//in xml:<picture thumb="test-images/aaa.jpg" description="description" name="swfFolder/tes1.swf" param="action"></picture>
//in xml:<picture thumb="test-images/bbb.jpg" description="description" name="swfFolder/tes2.swf" param="action"></picture>
//par is the name value from xml name="swfFolder/tes1.swf",name="swfFolder/tes2.swf"
yourMc.loadMovie(par);
}


open you preview.fla file or whatver you source name is,save it and recompile it,..this should work.

cheers
Reply With Quote
Reply

Tags
carrousel

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