Home Tutorials Forums Articles Blogs Movies Library Employment Press

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

Thread Tools Rate Thread Display Modes
Old 10-29-2004, 02:02 PM   #1
Registered User
Join Date: Oct 2004
Posts: 3
Question How to create a WindowsSWF that allows the user to drag&drop things on the stage

I Would like to create my own panel windows (WindowSWF) like the components panel.
The user should be able to drag&drop things from i.e. a treeview onto the stage, and then i would like to pre-configure the component from jsfl code.
I know how to create windowSWF and run JSFL code, but how do i interact with flash to hook-up mouse event and so on into my SWF file ?
Is there any sample of somethings like this ?
andersT is offline   Reply With Quote
Old 10-29-2004, 03:45 PM   #2
hangalot's Avatar
Join Date: Feb 2002
Location: on the road
Posts: 2,858

somehow i don't think u will be able to drag something from a windowSWF to the stage. but placing a component on the stage is easy enough.

a good approach mihgt be to let the user say "add this element to the stage", and when u add somehting to the stage it seems to be the only thing in ur selection array, allowing u to access it straight away.
oi poloi
hangalot is offline   Reply With Quote
Old 10-30-2004, 04:45 AM   #3
Registered User
Join Date: Nov 2003
Posts: 189

yeah. i've tried some great things in my head that fall terribly flat when it comes to mouse movents in a WindowsSWF corresponding to an open fla.
the best way (per usual) is hangalot's suggestion. you can make a WindowSWF panel with a check list of things to add to an fla with a button that would add everything selected via JSFL... but dragging and dropping is not a possibillity.

i fell your frustration, if you're talking about not being able to put folders inside folders in the config's component folder.

tdoublea is offline   Reply With Quote

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 11:15 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.