• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Use jsfl to create something like the Frame Picker.

Explorer ,
Oct 27, 2022 Oct 27, 2022

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?

Views

444

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , Oct 28, 2022 Oct 28, 2022

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.

 

 

 

 

Votes

Translate

Translate
Community Expert ,
Oct 27, 2022 Oct 27, 2022

Copy link to clipboard

Copied

start window with the jsfl api.  google it.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 27, 2022 Oct 27, 2022

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.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 27, 2022 Oct 27, 2022

Copy link to clipboard

Copied

google: jsfl api

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 27, 2022 Oct 27, 2022

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. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 27, 2022 Oct 27, 2022

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 27, 2022 Oct 27, 2022

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 27, 2022 Oct 27, 2022

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Oct 27, 2022 Oct 27, 2022

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.

 

Nick - Character Designer and Animator, Flash user since 1998
Member of the Flanimate Power Tools team - extensions for character animation

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 28, 2022 Oct 28, 2022

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 28, 2022 Oct 28, 2022

Copy link to clipboard

Copied

LATEST

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.

 

 

 

 

- Vlad: UX and graphic design, Flash user since 1998
Member of Flanimate Power Tools team - extensions for character animation

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines