Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Extensions and Plugins > JSFL - Extending Flash

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-06-2012, 06:05 PM   #1
ChrisLuke
Registered User
 
Join Date: Dec 2011
Posts: 1
Default Top-Level "Prompt" Component

I have successfully put a prompt in my JSFL for a Flash tool that gets a screen cap from a directory.

The prompt asks the user to enter a name for the screen cap. Then the script runs through another 47 lines of JSFL code.

I don't know how to handle the "Cancel" button on the prompt. As it is, clicking Cancel dumps an error message in the Output panel. What code do I need to simply stop, or get out of the script when Cancel is picked?

Thanks,
Chris
ChrisLuke is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:04 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.