Copy link to clipboard
Copied
Where to start to code something like the Frame Picker (or like the old Keyframe Caddy extension) which shows the timeline of a selected instance in a window. I can't see a way for a jsfl script to effectively send back content data to the swf window. Any hints?
I think there is no other approach than "to export the content and to import it in the panel via AS". You can use PNG sequence or a single SWF, but in my opinion, the PNGs will be more secure.
Copy link to clipboard
Copied
start window with the jsfl api. google it.
Copy link to clipboard
Copied
Thanks Kglad - I haven't been able to find a reply on Google so far using the terms "start window with the jsfl API". Just to add more detail, we have a custom window panel that is accessing the current doc's timelines - but how to take images from a timeline to show in our custom window panel (ala the Frame Picker)? Would you mind linking to a page that might give some tips? Kind regards.
Copy link to clipboard
Copied
google: jsfl api
Copy link to clipboard
Copied
Thanks again. Googling "jsfl api" doesn't provide any clues as to how to do this (there's only 5 pages worth so it's easy to scan through). If you could give a general approach to putting images from the current timeline into a custom window panel would be super useful.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
as for your specific code, you want to manually select a timeline then have the jsfl loop through all layers and frames looking for bitmaps and doing something with those bitmps?
Copy link to clipboard
Copied
Oh I see. Yeah, I've got the guide. I guess I'm not explaining what I want to accomplish. Let's take the Frame Picker for example. If you were going to create that (like the old Keyframe Caddy extension did), how is it able to retrieve the timeline of a selected instance and show in the window - not the stage but inside the custom window?
Copy link to clipboard
Copied
Just in case if you're unaware of the existence of Smart Graphic Control - it is properly maintained and more functional than Frme Picker and the abandoned Caddy.
Copy link to clipboard
Copied
Wonderful, thanks for posting, @n. tilcheff That looks interesting, I'll have to take a look. While you're there, could you drop a quick clue as to how you've transferred timeline images from a doc into your custom window? Are you exporting them as a sequence of images and then reimporting via Action Script with the window code to display within your Smart Graphic Control window?
Copy link to clipboard
Copied
I think there is no other approach than "to export the content and to import it in the panel via AS". You can use PNG sequence or a single SWF, but in my opinion, the PNGs will be more secure.