Connecting Tech Pros Worldwide Forums | Help | Site Map

Trying to locate pictures in a flash .fla file

Familiar Sight
 
Join Date: Sep 2007
Posts: 181
#1: May 18 '09
Ok im doing a bit of editing on a flash website for a friend, any way im trying to determine how the actionscript is linking the pictures with a button.

Ok here is the code that changes a picture-

Expand|Select|Wrap|Line Numbers
  1. on (release)
  2. {
  3.     pictures.gotoAndStop(14);
  4. }
  5.  
the relesase is for a button but what i cant work out is where the hell or what "pictures." is refering to. I assume its some object/container or a function but i can not find anything within the actionscript that mentions pictures except within the code for each button.

Any help with this would be great, note im a bit of a newb when it comes to flash/actionscript,

Thanks,

Familiar Sight
 
Join Date: Sep 2007
Posts: 181
#2: May 18 '09

re: Trying to locate pictures in a flash .fla file


Well i found a solution to my problem it was contained within a sprite, but still didn't identify what "pictures." was refering,

Thanks anyways
Member
 
Join Date: Nov 2008
Posts: 80
#3: May 18 '09

re: Trying to locate pictures in a flash .fla file


Try to find where 'pictures' is located; imported from library to stage (likely so), or created with actionscript.
Familiar Sight
 
Join Date: Sep 2007
Posts: 181
#4: May 20 '09

re: Trying to locate pictures in a flash .fla file


I didn't find anything called pictures within the document but it turns out that the images files where imported into a sprite and i think that in the actionscript each button was telling the sprite to jump to a frame then stop.
Member
 
Join Date: Nov 2008
Posts: 80
#5: May 20 '09

re: Trying to locate pictures in a flash .fla file


Sprite objects don't have a timeline like movieclip objects. So you cannot jump to a frame in a sprite. Please post the relevant code or the .fla file.
Reply