--- Michael Bystrom <[EMAIL PROTECTED]> wrote: > .... > When a widget is called it should be created in the > grid and it should be > treated as one object. Just like flash. I donšt > think this is a big problem. > But the widgets maybe have to be more VDE type > specific. And I think that > both events and widgets should not be "live" until > you would preview the > project. > > > What do you all think?
That's true. Widgets should not be active untill it's previewed. I think we can simple convert any wiget into an object by adding a cover layer to the widget inside the vde: var cover = new DynLayer(null,0,0,0,0) cover.setAnchor({top:0,right:0,bottom:0,left:0}); cover.addEventListener({ // here we add mouse events that prevents // events from reaching the widget onclick : functione(e){ e.preventBubble(); }, onmouseover : functione(e){ e.preventBubble(); }, onmouseout : functione(e){ e.preventBubble(); } // add other mouseevents, etc }) // add cover to widget widget.addChild(cover); Using this method widgets will now act as objects within the vde. -- Raymond Irving > It's gonna be fun :) > > > Regards > > Daniel > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net > Donation Program. > Do you like what SourceForge.net is doing for the > Open > Source Community? Make a contribution, and help us > add new > features and functionality. Click here: > http://sourceforge.net/donate/ > _______________________________________________ > Dynapi-Dev mailing list > [EMAIL PROTECTED] > http://www.mail-archive.com/[EMAIL PROTECTED]/ __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/[EMAIL PROTECTED]/