RE: [flexcoders] Possible to use Flex/Flash components Server-sid e?

2004-05-10 Thread Dan Schaffer
Tracy, Another idea is to do server side processing in a jsp page using the mxml tag library. The jsp source can use the mxml tag library and generate mxml code dynamically in java. Using this approach your java code can access your back end resources do complex calculations/analysis

RE: [flexcoders] how to pass data when creating a popup window

2004-05-03 Thread Dan Schaffer
Andrew, The instance of the new window is returned by the createPopUp call. var newwindow:MovieClip=mx.managers.PopUpManager.createPopUp(this, windowClass, true, (deferred: true}); newwindow.var1="new value"; windowClass.mxml: ?xml version="1.0" ? mx:TitleWindow xmlns:mx="..."

RE: [flexcoders] runtime loading a mxml file into a viewstack

2004-04-28 Thread Dan Schaffer
Bob, The ViewStack component has a createChild method to dynamically add components into the view stack. createChild(class,name,initprops). You could create a new mx:Image. You may have to create a container component with the mx:Image inside since containers can lay themselves out.