And the only advantage using MXML bindings instead of using BindingUtils, is that the MXML one will give you the compiler errors if you code in the wrong property names, source, or handler function names incorrect, right?
-Sean Thayne On Thu, Mar 13, 2014 at 2:34 PM, Gary Yang <flashflex...@gmail.com> wrote: > Yeah, > > <fx:Binding source="logicTreeGrid.columns.length" > destination="rfrCellData"/> > <fx:Binding source="rowData.cellList.length" > destination="rfrCellData"/> > > the columns and the cellist are also model object who have their own > logics trigger by other objects' properties > > I have just created another ticket: > https://issues.apache.org/jira/browse/FLEX-34143 to make this trigger > binding eaiser. > > the client side of http://pubanatomy.org is built this way, it is very > complex, but very few bug, because the logic is in the model which is built > on Bindable Objects and List, which is cristal clear, very easy to tell > whether the reactive model is correct, and UI components are driven by the > reactive model in one way direction, so it's very easy to find out which UI > component is not working properly. > > Thanks for responding and reading. > > -Gary > > > > On Thu, Mar 13, 2014 at 4:21 PM, Sean Thayne <s...@skyseek.com> wrote: > > > That's a very interesting setup you got there. VLogicTreeGridRow and > > logicTreeGrid, > > those are your own custom classes? That are being used to store your > > applications data/records? And if either of them change you want your > > bindings to be triggered? > > > > -Sean Thayne > > > > > > On Thu, Mar 13, 2014 at 2:10 PM, Gary Yang <flashflex...@gmail.com> > wrote: > > > > > Thank you Maurice, > > > > > > Please see: > > > > > > > > > private var _cellData:VLogicTreeGridCell; > > > [Bindable(event="cellDataChanged")] > > > public function get cellData():VLogicTreeGridCell{ > > > return _cellData; > > > } > > > > > > private function set rfrCellData( v:* ):void{ > > > if( rowData != null > > > && logicTreeGrid.columns != null && > > > logicTreeGrid.columns.length > 0 > > > && rowData.cellList != null && > > rowData.cellList.length > > > > 0 > > > ){ > > > var idx:int = logicTreeGrid.columns.getItemIndex( > > > treeGridColLogic ); > > > var rt:VLogicTreeGridCell = rowData.cellList.getItemAt( > > idx > > > ) as VLogicTreeGridCell; > > > if( _cellData != rt ){ > > > _cellData = rt; > > > dispatchEvent( new Event( "cellDataChanged" ) ); > > > } > > > } > > > } > > > > > > when this instance execute line: > > > > > > dispatchEvent( new Event( "cellDataChanged" ) ); > > > > > > it is going to trigger other instances' binding just how this one do, > > > that's why I call it reactive model, and the code inside this > > > > > > private function set rfrCellData( v:* ):void{ ... ... } > > > > > > is where the client side logic is, the way I see it is that client side > > > model has a lot of objects who are connected by these kind of > > transforming > > > logics, once user input something, it will change a property which will > > > trigger a chain of transforming reactions, and the changes will drive > the > > > UI layer. > > > > > > Just my little thought. > > > > > > Thanks for asking. > > > > > > -Gary > > > > > > > > > > > > > > > > > > On Thu, Mar 13, 2014 at 3:57 PM, Maurice Amsellem < > > > maurice.amsel...@systar.com> wrote: > > > > > > > However, if I understand correctly, you are showing the benefits of > > > using > > > > MXML in binding data to UI. But the data part only has event > handlers, > > > so > > > > does not require MXML. > > > > > > > > Maybe I missed something in your demonstration.... > > > > > > > > Maurice > > > > > > > > -----Message d'origine----- > > > > De : Maurice Amsellem [mailto:maurice.amsel...@systar.com] > > > > Envoyé : jeudi 13 mars 2014 20:54 > > > > À : users@flex.apache.org > > > > Objet : RE: Flex App swf initialization failure when working as an > > > Android > > > > worker!!!! > > > > > > > > And if any object or any reference in the chain is incorrect, it > won't > > > > compile!! I know you can do it Actionscript with BindingUtils, but it > > > will > > > > need a lot more code and the chain will be String only without > > compiling > > > > check. > > > > > > > > Good point for the syntax checking. > > > > > > > > Maurice > > > > > > > > -----Message d'origine----- > > > > De : Gary Yang [mailto:flashflex...@gmail.com] Envoyé : jeudi 13 > mars > > > > 2014 20:38 À : users@flex.apache.org Objet : Re: Flex App swf > > > > initialization failure when working as an Android worker!!!! > > > > > > > > Hey, thanks for the response. > > > > > > > > I understand "weird", but it is not wrong, and I can prove it's > useful, > > > > here's a small example: > > > > > > > > > > > > ~~~~~ > > > > <fx:Script><![CDATA[ > > > > [Bindable("dataChange")] > > > > public function get rowData():VLogicTreeGridRow{ > > > > return data as VLogicTreeGridRow; > > > > } > > > > > > > > private var _cellData:VLogicTreeGridCell; > > > > [Bindable(event="cellDataChanged")] > > > > public function get cellData():VLogicTreeGridCell{ > > > > return _cellData; > > > > } > > > > > > > > private function set rfrCellData( v:* ):void{ > > > > if( rowData != null > > > > && logicTreeGrid.columns != null && > > > > logicTreeGrid.columns.length > 0 > > > > && rowData.cellList != null && > > > rowData.cellList.length > > > > > 0 > > > > ){ > > > > var idx:int = logicTreeGrid.columns.getItemIndex( > > > > treeGridColLogic ); > > > > var rt:VLogicTreeGridCell = > rowData.cellList.getItemAt( > > > idx > > > > ) as VLogicTreeGridCell; > > > > if( _cellData != rt ){ > > > > _cellData = rt; > > > > dispatchEvent( new Event( "cellDataChanged" ) ); > > > > } > > > > } > > > > } > > > > ]]></fx:Script> > > > > <ui:layout> > > > > <s:HorizontalLayout paddingTop="2" paddingBottom="2" > > > > paddingLeft="2" paddingRight="2"/> > > > > </ui:layout> > > > > <fx:Binding source="logicTreeGrid.columns.length" > > > > destination="rfrCellData"/> > > > > <fx:Binding source="rowData.cellList.length" > > > > destination="rfrCellData"/> ~~~~~~ > > > > > > > > The value here is one line expression to bind a property of a chain > > > > objects: > > > > > > > > <fx:Binding source="logicTreeGrid.columns.length" > > > > destination="rfrCellData"/> > > > > <fx:Binding source="rowData.cellList.length" > > > > destination="rfrCellData"/> > > > > > > > > And if any object or any reference in the chain is incorrect, it > won't > > > > compile!! I know you can do it Actionscript with BindingUtils, but it > > > will > > > > need a lot more code and the chain will be String only without > > compiling > > > > check. > > > > > > > > Again, building a model( a network of objects referencing to each > > other ) > > > > and use it to drive the UI is the key to make complex UI, just my > > little > > > > thought, and this kind of MXML binding is very efficient to do so!!! > > > > > > > > Thanks. > > > > > > > > -Gary > > > > > > > > > > > > > > > > > > > > On Thu, Mar 13, 2014 at 3:02 PM, Alex Harui <aha...@adobe.com> > wrote: > > > > > > > > > Folks said Columbus was crazy to sail to the west, too. Let's see > if > > > > > he can get something to work and then judge it. Declarative > > languages > > > > > are supposed to deliver advantages. > > > > > > > > > > Watch the JIRA bug as well if you're not subscribed to issues@ and > > > > > want to follow along. > > https://issues.apache.org/jira/browse/FLEX-34137 > > > > > > > > > > -Alex > > > > > > > > > > On 3/13/14 11:41 AM, "Maurice Amsellem" < > maurice.amsel...@systar.com > > > > > > > > wrote: > > > > > > > > > > >>Using data bindings really seems weird in a non-UI worker.. My > > first > > > > > >>thought would be to just use events/event handlers. > > > > > > > > > > > >Agree. > > > > > >And anyway, you can use BindingUtils in AS code to get almost the > > > > > >same behavior. > > > > > > > > > > > >-----Message d'origine----- > > > > > >De : Sean Thayne [mailto:s...@skyseek.com] Envoyé : jeudi 13 mars > > > > > >2014 19:24 À : users@flex.apache.org Objet : Re: Flex App swf > > > > > >initialization failure when working as an Android worker!!!! > > > > > > > > > > > >Using data bindings really seems weird in a non-UI worker.. Gary, > > > > > >what exactly are you using the data bindings for? > > > > > > > > > > > >My first thought would be to just use events/event handlers. > > > > > > > > > > > >-Sean Thayne > > > > > > > > > > > > > > > > > >On Thu, Mar 13, 2014 at 11:53 AM, Alex Harui <aha...@adobe.com> > > > wrote: > > > > > > > > > > > >> Back further in the thread, Gary said he wants to use MXML so he > > > > > >> can use data binding syntax, etc. > > > > > >> > > > > > >> I've posted the beginnings of a possible solution in FLEX-34137. > > > > > >> I'm willing to spend a little time here and there helping to try > > to > > > > > >> make it work. > > > > > >> > > > > > >> -Alex > > > > > >> > > > > > >> On 3/13/14 10:46 AM, "Sean Thayne" <s...@skyseek.com> wrote: > > > > > >> > > > > > >> >Hey Gary, > > > > > >> > > > > > > >> >You should be able to use some flex classes without extending > > > > > >> >spark application. You just can't use mxml. Use ActionScript > > > > > >> >instead of mxml and you should be fine. > > > > > >> > On Mar 13, 2014 10:55 AM, "Gary Yang" <flashflex...@gmail.com > > > > > > wrote: > > > > > >> > > > > > > >> >> Alex, > > > > > >> >> > > > > > >> >> I am doing both, it is working perfect inside Flash Player!! > > > > > >> >> > > > > > >> >> Please make sure it can be used for mobile too! > > > > > >> >> > > > > > >> >> I do have some ideas on current Flex architecture: > > > > > >> >> https://issues.apache.org/jira/browse/FLEX-34138 > > > > > >> >> > > > > > >> >> I'd like to share and explain more, if you are interested. > > > > > >> >> > > > > > >> >> thanks. > > > > > >> >> > > > > > >> >> -Gary > > > > > >> >> > > > > > >> >> > > > > > >> >> > > > > > >> >> > > > > > >> >> On Thu, Mar 13, 2014 at 12:08 PM, Alex Harui < > aha...@adobe.com > > > > > > > > >>wrote: > > > > > >> >> > > > > > >> >> > Are you using [RemoteClass] to serialize the data between > the > > > > > >> >> > worker > > > > > >> >>and > > > > > >> >> > the main app, or are you getting to the network from the > > > worker? > > > > > >> >> > > > > > > >> >> > On 3/13/14 8:56 AM, "Gary Yang" <flashflex...@gmail.com> > > > wrote: > > > > > >> >> > > > > > > >> >> > >I have hundred s , I don't want to do it manual ly On Mar > > > > > >> >> > >13, > > > > > >> >> > >2014 11:54 AM, "Maurice Amsellem" > > > > > >> >> > ><maurice.amsel...@systar.com> > > > > > >> >> > >wrote: > > > > > >> >> > > > > > > > >> >> > >> You can call registerClassAlias() to register > remoteClass > > > > > >>manually. > > > > > >> >> > >> > > > > > >> >> > >> Maurice > > > > > >> >> > >> > > > > > >> >> > >> -----Message d'origine----- De : Gary Yang > > > > > >> >> > >>[mailto:flashflex...@gmail.com] Envoyé : jeudi > > > > > >> >> > >>13 mars 2014 16:30 À : users@flex.apache.org Objet : > RE: > > > > > >> >> > >>Flex App swf initialization failure when working as an > > > > > >> >> > >>Android worker!!!! > > > > > >> >> > >> > > > > > >> >> > >> I tried, without Application remoteclass meta won't > work. > > > > > >> >> > >> On Mar 13, 2014 11:14 AM, "Maurice Amsellem" > > > > > >> >> > >><maurice.amsel...@systar.com> > > > > > >> >> > >> wrote: > > > > > >> >> > >> > > > > > >> >> > >> > Would it work to extend the app from MovieClip ? > > > > > >> >> > >> > > > > > > >> >> > >> > I have seen that is pure AS projects (games). > > > > > >> >> > >> > > > > > > >> >> > >> > Maurice > > > > > >> >> > >> > > > > > > >> >> > >> > -----Message d'origine----- De : Alex Harui > > > > > >> >> > >> > [mailto:aha...@adobe.com] Envoyé : jeudi 13 mars > > > > > >> >> 2014 > > > > > >> >> > >> > 16:06 À : users@flex.apache.org Objet : Re: Flex App > > swf > > > > > >> >> > >> > initialization failure when working as an Android > > > worker!!!! > > > > > >> >> > >> > > > > > > >> >> > >> > Spark Application is not designed to be a Worker. It > is > > > > > >> >>designed to > > > > > >> >> > >> > have UI children. > > > > > >> >> > >> > > > > > > >> >> > >> > mx:SimpleApplication has fewer assumptions and might > > work. > > > > > >> >>Please > > > > > >> >> try > > > > > >> >> > >> it. > > > > > >> >> > >> > > > > > > >> >> > >> > -Alex > > > > > >> >> > >> > > > > > > >> >> > >> > On 3/13/14 7:58 AM, "Gary Yang" < > flashflex...@gmail.com > > > > > > > > >>wrote: > > > > > >> >> > >> > > > > > > >> >> > >> > >I am using Spark Application On Mar 13, 2014 10:51 > AM, > > > > > >> >> > >> > >"Alex Harui" <aha...@adobe.com> > > > > > >> wrote: > > > > > >> >> > >> > > > > > > > >> >> > >> > >> Did you try using mx:SimpleApplication instead of > > > > > >>Application? > > > > > >> >> > >> > >> > > > > > >> >> > >> > >> On 3/13/14 6:45 AM, "Gary Yang" > > > > > >> >> > >> > >> <flashflex...@gmail.com> > > > > > >> >>wrote: > > > > > >> >> > >> > >> > > > > > >> >> > >> > >> >I already have it working perfect in Flash Player > > > > > >> >> > >> > >> >>=11.5 > > > > > >>! > > > > > >> >>I am > > > > > >> >> > >> > >>excited > > > > > >> >> > >> > >> >about workers in Android and IOS( coming according > > to > > > > > >> >>roadmap )! > > > > > >> >> > >> > >> > > > > > > >> >> > >> > >> >I am not using any display list features in > worker. > > > > > >> >> > >> > >> > > > > > > >> >> > >> > >> >I am building a reactive model with Flex using its > > > > > >> >> > >> > >> >binding, > > > > > >> >>meta > > > > > >> >> > >> > >> >tag processing, collection classes, > > > > > >> >> > >> > >> >PropertyChangeEvent > > > > > >>.... > > > > > >> >> > >> > >> > > > > > > >> >> > >> > >> >The way I see it, Flash/Flex is the only way to > > build > > > > > >> >> > >> > >> >complex logic in browsers, and that's one of the > > core > > > > > >> >> > >> > >> >values,( the > > > > > >> >>other > > > > > >> >> > >> > >> >one is the > > > > > >> >> > >> > >>unified > > > > > >> >> > >> > >> >API ). > > > > > >> >> > >> > >> > > > > > > >> >> > >> > >> >Please let Flex swf running as a worker on all > > > > platform!!! > > > > > >> >> > >> > >> > > > > > > >> >> > >> > >> > > > > > > >> >> > >> > >> >-Gary > > > > > >> >> > >> > >> > > > > > > >> >> > >> > >> > > > > > > >> >> > >> > >> > > > > > > >> >> > >> > >> > > > > > > >> >> > >> > >> > > > > > > >> >> > >> > >> > > > > > > >> >> > >> > >> > > > > > > >> >> > >> > >> >On Wed, Mar 12, 2014 at 10:00 PM, Alex Harui > > > > > >> >><aha...@adobe.com> > > > > > >> >> > >> wrote: > > > > > >> >> > >> > >> > > > > > > >> >> > >> > >> >> It would be interesting to see an example of how > > it > > > > > >> >> > >> > >> >> could > > > > > >> >> work. > > > > > >> >> > >> > >>There > > > > > >> >> > >> > >> >>is > > > > > >> >> > >> > >> >> the class mx.core.SimpleApplication that you can > > > > > >> >> > >> > >> >>try to > > > > > >> >>use as > > > > > >> >> > >> > >> >>the > > > > > >> >> > >> > >>base > > > > > >> >> > >> > >> >> for a Worker. If that doesn't work it might be > > > > > >> >> > >> > >> >> possible to create a variant that behaves within > > > > > >> >> > >> > >> >> the constraints of a > > > > > >> >> > >>Worker. > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> >> -Alex > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> >> On 3/12/14 2:55 PM, "Sean Thayne" > > > > > >> >> > >> > >> >> <s...@skyseek.com> > > > > > >> wrote: > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> >> >Sounds like a very strange way to use workers. > > > > > >> >> > >> > >> >> > > > > > > >> >> > >> > >> >> >-Sean Thayne > > > > > >> >> > >> > >> >> > > > > > > >> >> > >> > >> >> > > > > > > >> >> > >> > >> >> >On Wed, Mar 12, 2014 at 3:18 PM, Alex Harui < > > > > > >> >> aha...@adobe.com> > > > > > >> >> > >> > >>wrote: > > > > > >> >> > >> > >> >> > > > > > > >> >> > >> > >> >> >> So really, what you want is to use MXML to > > > > > >> >> > >> > >> >> >> define a SWF > > > > > >> >> that > > > > > >> >> > >> > >> >> >> can > > > > > >> >> > >> > >>be > > > > > >> >> > >> > >> >>used > > > > > >> >> > >> > >> >> >> as a Worker, right? > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> >> On 3/12/14 1:23 PM, "Gary Yang" > > > > > >> >> > >> > >> >> >> <flashflex...@gmail.com > > > > > >> > > > > > > >> >> > >>wrote: > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> >> >Greg, > > > > > >> >> > >> > >> >> >> > > > > > > >> >> > >> > >> >> >> >I agree with you on the display list thing. > > > > > >> >> > >> > >> >> >> > > > > > > >> >> > >> > >> >> >> >But I am not using any display list features > > in > > > > > >> >>worker, I > > > > > >> >> am > > > > > >> >> > >> > >>trying > > > > > >> >> > >> > >> >>to > > > > > >> >> > >> > >> >> >> >build a reactive model with Flex's binding, > > > > > >> >> > >> > >> >> >> >meta tag processing, collection classes, > > > > > >>PropertyChangeEvent. > > > > > >> >>This > > > > > >> >> > >> > >> >> >> >reactive model will pass > > > > > >> >> > >> > >>changes > > > > > >> >> > >> > >> >>to > > > > > >> >> > >> > >> >> >>the > > > > > >> >> > >> > >> >> >> >main UI thread to drive UI, and user input > > will > > > > > >> >> > >> > >> >> >> >be > > > > > >> >>passed > > > > > >> >> > >> > >> >> >> >back to > > > > > >> >> > >> > >> >> >>reactive > > > > > >> >> > >> > >> >> >> >model as a trigger input. > > > > > >> >> > >> > >> >> >> > > > > > > >> >> > >> > >> >> >> >For long run, the best solution would be > > divide > > > > > >> >> > >> > >> >> >> >Flex > > > > > >> >>into > > > > > >> >> > >> > >>different > > > > > >> >> > >> > >> >> >> >modules, > > > > > >> >>https://issues.apache.org/jira/browse/FLEX-34138 > > > > > >> >> ; > > > > > >> >> > >> > >> >> >> >But for now, please just make it usable. > > > > > >> >> > >> > >> >> >> > > > > > > >> >> > >> > >> >> >> >Thanks. > > > > > >> >> > >> > >> >> >> > > > > > > >> >> > >> > >> >> >> >Thanks. > > > > > >> >> > >> > >> >> >> > > > > > > >> >> > >> > >> >> >> >-Gary > > > > > >> >> > >> > >> >> >> > > > > > > >> >> > >> > >> >> >> > > > > > > >> >> > >> > >> >> >> > > > > > > >> >> > >> > >> >> >> > > > > > > >> >> > >> > >> >> >> > > > > > > >> >> > >> > >> >> >> > > > > > > >> >> > >> > >> >> >> >On Wed, Mar 12, 2014 at 4:05 PM, Greg Dove > > > > > >> >> > >> > >> >> >> ><greg.d...@gmail.com> > > > > > >> >> > >> > >> >> wrote: > > > > > >> >> > >> > >> >> >> > > > > > > >> >> > >> > >> >> >> >> I can't imagine using a flex application > as > > a > > > > > >> >>worker. I > > > > > >> >> > >> > >> >> >> >> don't > > > > > >> >> > >> > >> >>think > > > > > >> >> > >> > >> >> >> >>Workers > > > > > >> >> > >> > >> >> >> >> can access the main display list/stage, > and > > a > > > > > >> >> > >> > >> >> >> >>flex application > > > > > >> >> > >> > >> >> >>expects > > > > > >> >> > >> > >> >> >> >>to > > > > > >> >> > >> > >> >> >> >> do so. It may be because of this that you > > are > > > > > >> >> > >> > >> >> >> >>seeing > > > > > >> >>the > > > > > >> >> > >> > >> >> >> >>error > > > > > >> >> > >> > >> >> >>because > > > > > >> >> > >> > >> >> >> >> ContextMenu is not available on Android, > and > > > > > >> >> > >> > >> >> >> >> that > > > > > >> >>part > > > > > >> >> is > > > > > >> >> > >> > >>nothing > > > > > >> >> > >> > >> >>to > > > > > >> >> > >> > >> >> >>do > > > > > >> >> > >> > >> >> >> >> with Flex. > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> > > > > > >> >> > >> > >> > > > > > >> >> > > > http://help.adobe.com/en_US/FlashPlatform/reference/actionscri > > > > > >> >> > pt/ > > > > > >> >> > 3/f > > > > > >> >> > >> > >>la > > > > > >> >> > >> > >>sh/ > > > > > >> >> > >> > >> >> >> >>ui/ContextMenu.html *AIR profile support:* > > > > > >> >> > >> > >> >> >> >>This feature is not supported > > > > > >> >>on > > > > > >> >> > >> > >> >> >> >>mobile > > > > > >> >> > >> > >> >> >>devices > > > > > >> >> > >> > >> >> >> >>or > > > > > >> >> > >> > >> >> >> >> AIR for TV devices. > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> >> On Thu, Mar 13, 2014 at 8:14 AM, Gary Yang > > > > > >> >> > >> > >> >><flashflex...@gmail.com> > > > > > >> >> > >> > >> >> >> >>wrote: > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> >> > You have to support it!!! > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > Flex's binding, [remote class], > collection > > > > > >> >> > >> > >> >> >> >> > data > > > > > >> >>models > > > > > >> >> > >> > >> >> >> >> > are > > > > > >> >> > >> > >> >>critical > > > > > >> >> > >> > >> >> >> >>for > > > > > >> >> > >> > >> >> >> >> > building reacting model which is a key > for > > > > > >> >> > >> > >> >> >> >> > complex > > > > > >> >> > >> > >>application > > > > > >> >> > >> > >> >>and > > > > > >> >> > >> > >> >> >> >>this > > > > > >> >> > >> > >> >> >> >> is > > > > > >> >> > >> > >> >> >> >> > Flex's core value! > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > It's already working for Flash Player in > > > > > >> >> > >> > >> >> >> >> > browsers, > > > > > >> >>if > > > > > >> >> > >> > >> >> >> >> > you can > > > > > >> >> > >> > >> >>add a > > > > > >> >> > >> > >> >> >> >>few > > > > > >> >> > >> > >> >> >> >> > lines to make sure > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > var defaultMenu:ContextMenu = new > > > > > >> >> > >> > >> >> >> >> > ContextMenu(); > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > won't kill the initialization process, > it > > > > > >> >> > >> > >> >> >> >> > will be > > > > > >> >>good > > > > > >> >> > >> > >> >> >> >> > for > > > > > >> >> > >> > >>now!! > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > For the future, I would like to > recommend > > > > > >> >> > >> > >> >> >> >> > to take a > > > > > >> >> look > > > > > >> >> > >> > >> >> >> >> > at > > > > > >> >> > >> > >>Java > > > > > >> >> > >> > >> >> >> >>Spring's > > > > > >> >> > >> > >> >> >> >> > growth. > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > Please!! > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > On Wed, Mar 12, 2014 at 2:49 PM, Alex > > Harui > > > > > >> >> > >> > >><aha...@adobe.com> > > > > > >> >> > >> > >> >> >>wrote: > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > > You're trying to run a Flex SWF as a > > > > > >> >> > >> > >> >> >> >> > > worker and > > > > > >> >>not > > > > > >> >> > >> > >> >> >> >> > > the > > > > > >> >> > >> > >>main > > > > > >> >> > >> > >> >> >>app? I > > > > > >> >> > >> > >> >> >> >> > doubt > > > > > >> >> > >> > >> >> >> >> > > that is supported. > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >> > >> > >> >> >> >> > > -Alex > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >> > >> > >> >> >> >> > > On 3/12/14 8:43 AM, "Gary Yang" > > > > > >> >> > >> > >> >> >> >> > > <flashflex...@gmail.com> > > > > > >> >> > >> > >> >>wrote: > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >> > >> > >> >> >> >> > > > > > > > > >> https://issues.apache.org/jira/browse/FLEX-34137 > > > > > >> >> > >> > >> >> >> >> > > > > > > > > >> >> > >> > >> >> >> >> > > > > > > > > >> >> > >> > >> >> >> >> > > >On Wed, Mar 12, 2014 at 10:26 AM, > Gary > > > > > >> >> > >> > >> >> >> >> > > >Yang > > > > > >> >> > >> > >> >> >> >><flashflex...@gmail.com> > > > > > >> >> > >> > >> >> >> >> > > >wrote: > > > > > >> >> > >> > >> >> >> >> > > > > > > > > >> >> > >> > >> >> >> >> > > >> Error: Error #3731: This feature is > > > > > >> >> > >> > >> >> >> >> > > >> not > > > > > >> >>available > > > > > >> >> > >> > >> >> >> >> > > >> within > > > > > >> >> > >> > >> >>this > > > > > >> >> > >> > >> >> >> >> context. > > > > > >> >> > >> > >> >> >> >> > > >> at > > > > > >> >> > >> > >> >> >> >> > > >> > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> > > > > > >> >> > >> > > > > > > >> >> > > >>>>>>>>>>spark.components::Application/initContextMenu()[/Users > > > > > >> >> >>>>>>>>>>/ju > > > > > >> >> >>>>>>>>>>sti > > > > > >> >> > >> > >>>>>>>>>>nm > > > > > >> >> > >> > >>>>>>>>>>cle > > > > > >> >> > >> > >>>>>>>>>>an > > > > > >> >> > >> > >> >>>>>>>>/D > > > > > >> >> > >> > >> >> >>>>>>oc > > > > > >> >> > >> > >> >> >> >>>>um > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> > > > > > >> >> > >> > > > > > > >> >> > > >>>>>>>>>>ents/ApacheFlex4.12.0/frameworks/projects/spark/src/sp > > > > > >> >> >>>>>>>>>>ark > > > > > >> >> >>>>>>>>>>/co > > > > > >> >> > >> > >>>>>>>>>>mp > > > > > >> >> > >> > >>>>>>>>>>one > > > > > >> >> > >> > >>>>>>>>>>nt > > > > > >> >> > >> > >> >>>>>>>>s/ > > > > > >> >> > >> > >> >> >>>>>>Ap > > > > > >> >> > >> > >> >> >> >>>>pl > > > > > >> >> > >> > >> >> >> >> > > >>ication.as:1832] > > > > > >> >> > >> > >> >> >> >> > > >> at > > > > > >> >> > >> > >> >> >> >> > > >> > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> > > > > > >> >> > >> > > > > > > >> >> > > >>>>>>>>>>spark.components::Application/initialize()[/Users/just > > > > > >> >> >>>>>>>>>>inm > > > > > >> >> >>>>>>>>>>cle > > > > > >> >> > >> > >>>>>>>>>>an > > > > > >> >> > >> > >>>>>>>>>>/Do > > > > > >> >> > >> > >>>>>>>>>>cu > > > > > >> >> > >> > >> >>>>>>>>me > > > > > >> >> > >> > >> >> >>>>>>nt > > > > > >> >> > >> > >> >> >> >>>>s/ > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> > > > > > >> >> > >> > > > > > > >> >> > > >>>>>>>>>>ApacheFlex4.12.0/frameworks/projects/spark/src/spark/c > > > > > >> >> >>>>>>>>>>omp > > > > > >> >> >>>>>>>>>>one > > > > > >> >> > >> > >>>>>>>>>>nt > > > > > >> >> > >> > >>>>>>>>>>s/A > > > > > >> >> > >> > >>>>>>>>>>pp > > > > > >> >> > >> > >> >>>>>>>>li > > > > > >> >> > >> > >> >> >>>>>>ca > > > > > >> >> > >> > >> >> >> >>>>ti > > > > > >> >> > >> > >> >> >> >> > > >>on.as:1385] > > > > > >> >> > >> > >> >> >> >> > > >> at AppMain/initialize() at > > > > > >> >> > >> > >> >> >> >> > > >> > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> > > > > > >> >> > >> > > > > > > >> >> > > >>>>>>>>>>mx.managers.systemClasses::ChildManager/childAdded()[/ > > > > > >> >> >>>>>>>>>>Use > > > > > >> >> >>>>>>>>>>rs/ > > > > > >> >> > >> > >>>>>>>>>>ju > > > > > >> >> > >> > >>>>>>>>>>sti > > > > > >> >> > >> > >>>>>>>>>>nm > > > > > >> >> > >> > >> >>>>>>>>cl > > > > > >> >> > >> > >> >> >>>>>>ea > > > > > >> >> > >> > >> >> >> >>>>n/ > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> > > > > > >> >> > >> > > > > > > >> >> > > >>>>>>>>>>Documents/ApacheFlex4.12.0/frameworks/projects/framewo > > > > > >> >> >>>>>>>>>>rk/ > > > > > >> >> >>>>>>>>>>src > > > > > >> >> > >> > >>>>>>>>>>/m > > > > > >> >> > >> > >>>>>>>>>>x/m > > > > > >> >> > >> > >>>>>>>>>>an > > > > > >> >> > >> > >> >>>>>>>>ag > > > > > >> >> > >> > >> >> >>>>>>er > > > > > >> >> > >> > >> >> >> >>>>s/ > > > > > >> >> > >> > >> >> >> >> > > >>systemClasses/ChildManager.as:197] > > > > > >> >> > >> > >> >> >> >> > > >> at > > > > > >> >> > >> > >> >> >> >> > > >> > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> > > > > > >> >> > >> > > > > > > >> >> > > >>>>>>>>>>mx.managers.systemClasses::ChildManager/initializeTopL > > > > > >> >> >>>>>>>>>>eve > > > > > >> >> >>>>>>>>>>lWi > > > > > >> >> > >> > >>>>>>>>>>nd > > > > > >> >> > >> > >>>>>>>>>>ow( > > > > > >> >> > >> > >>>>>>>>>>)[ > > > > > >> >> > >> > >> >>>>>>>>/U > > > > > >> >> > >> > >> >> >>>>>>se > > > > > >> >> > >> > >> >> >> >>>>rs > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> > > > > > >> >> > >> > > > > > > >> >> > > >>>>>>>>>>/justinmclean/Documents/ApacheFlex4.12.0/frameworks/pr > > > > > >> >> >>>>>>>>>>oje > > > > > >> >> >>>>>>>>>>cts > > > > > >> >> > >> > >>>>>>>>>>/f > > > > > >> >> > >> > >>>>>>>>>>ram > > > > > >> >> > >> > >>>>>>>>>>ew > > > > > >> >> > >> > >> >>>>>>>>or > > > > > >> >> > >> > >> >> >>>>>>k/ > > > > > >> >> > >> > >> >> >> >>>>sr > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >>>>c/mx/managers/systemClasses/ChildManager.as:367] > > > > > >> >> > >> > >> >> >> >> > > >> at > > > > > >> >> > >> > >> >> >> >> > > >> > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> > > > > > >> >> > >> > > > > > > >> >> > > >>>>>>>>>>mx.managers::SystemManager/initializeTopLevelWindow()[ > > > > > >> >> >>>>>>>>>>/Us > > > > > >> >> >>>>>>>>>>ers > > > > > >> >> > >> > >>>>>>>>>>/j > > > > > >> >> > >> > >>>>>>>>>>ust > > > > > >> >> > >> > >>>>>>>>>>in > > > > > >> >> > >> > >> >>>>>>>>mc > > > > > >> >> > >> > >> >> >>>>>>le > > > > > >> >> > >> > >> >> >> >>>>an > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> > > > > > >> >> > >> > > > > > > >> >> > > >>>>>>>>>>/Documents/ApacheFlex4.12.0/frameworks/projects/framew > > > > > >> >> >>>>>>>>>>ork > > > > > >> >> >>>>>>>>>>/sr > > > > > >> >> > >> > >>>>>>>>>>c/ > > > > > >> >> > >> > >>>>>>>>>>mx/ > > > > > >> >> > >> > >>>>>>>>>>ma > > > > > >> >> > >> > >> >>>>>>>>na > > > > > >> >> > >> > >> >> >>>>>>ge > > > > > >> >> > >> > >> >> >> >>>>rs > > > > > >> >> > >> > >> >> >> >> > > >>/SystemManager.as:3065] > > > > > >> >> > >> > >> >> >> >> > > >> at mx.managers::SystemManager/ > > > > > >> >> > >> > >> >> >> >> > > >> > > > > > >> >> > >> > >> >> >> >> > > >> > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> > > > > > >> >> > >> > >> > > > > > >> >> > > > http://www.adobe.com/2006/flex/mx/internal::kickOff()[/Users/j > > > > > >> >> > ust > > > > > >> >> > inm > > > > > >> >> > >> > >>cl > > > > > >> >> > >> > >>ean > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> > > > > > >> >> > >> > > > > > > >> >> > > >>>>>>>>>>/Documents/ApacheFlex4.12.0/frameworks/projects/framew > > > > > >> >> >>>>>>>>>>ork > > > > > >> >> >>>>>>>>>>/sr > > > > > >> >> > >> > >>>>>>>>>>c/ > > > > > >> >> > >> > >>>>>>>>>>mx/ > > > > > >> >> > >> > >>>>>>>>>>ma > > > > > >> >> > >> > >> >>>>>>>>na > > > > > >> >> > >> > >> >> >>>>>>ge > > > > > >> >> > >> > >> >> >> >>>>rs > > > > > >> >> > >> > >> >> >> >> > > >>/SystemManager.as:2851] > > > > > >> >> > >> > >> >> >> >> > > >> at mx.managers::SystemManager/ > > > > > >> >> > >> > >> >> >> >> > > >> > > > > > >> >> > >> > >> >> >> >> > > >> > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> > > > > > >> >> > >> > >> > > > > > >> >> > > > http://www.adobe.com/2006/flex/mx/internal::preloader_complete > > > > > >> >> > Han > > > > > >> >> > dle > > > > > >> >> > >> > >>r( > > > > > >> >> > >> > >>)[/ > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> > > > > > >> >> > >> > > > > > > >> >> > > >>>>>>>>>>Users/justinmclean/Documents/ApacheFlex4.12.0/framewor > > > > > >> >> >>>>>>>>>>ks/ > > > > > >> >> >>>>>>>>>>pro > > > > > >> >> > >> > >>>>>>>>>>je > > > > > >> >> > >> > >>>>>>>>>>cts > > > > > >> >> > >> > >>>>>>>>>>/f > > > > > >> >> > >> > >> >>>>>>>>ra > > > > > >> >> > >> > >> >> >>>>>>me > > > > > >> >> > >> > >> >> >> >>>>wo > > > > > >> >> > >> > >> >> >> >> > > > > >>rk/src/mx/managers/SystemManager.as:273 > > > > > >> >> > >> > >> >> >> >> > > >>1] > > > > > >> >> > >> > >> >> >> >> > > >> at > > > > > >> >> > >> > > >>flash.events::EventDispatcher/dispatchEventFunction() > > > > > >> >> > >> > >> >> >> >> > > >> at > > > > > >> >>flash.events::EventDispatcher/dispatchEvent() > > > > > >> >> > >> > >> >> >> >> > > >> at > > > > > >> >> > >> > >> >> >> >> > > >> > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> > > > > > >> >> > >> > > > > > > >> >> > > >>>>>>>>>>mx.preloaders::Preloader/timerHandler()[/Users/justinm > > > > > >> >> >>>>>>>>>>cle > > > > > >> >> >>>>>>>>>>an/ > > > > > >> >> > >> > >>>>>>>>>>Do > > > > > >> >> > >> > >>>>>>>>>>cum > > > > > >> >> > >> > >>>>>>>>>>en > > > > > >> >> > >> > >> >>>>>>>>ts > > > > > >> >> > >> > >> >> >>>>>>/A > > > > > >> >> > >> > >> >> >> >>>>pa > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> > > > > > >> >> > >> > > > > > > >> >> > > >>>>>>>>>>cheFlex4.12.0/frameworks/projects/framework/src/mx/pre > > > > > >> >> >>>>>>>>>>loa > > > > > >> >> >>>>>>>>>>der > > > > > >> >> > >> > >>>>>>>>>>s/ > > > > > >> >> > >> > >>>>>>>>>>Pre > > > > > >> >> > >> > >>>>>>>>>>lo > > > > > >> >> > >> > >> >>>>>>>>ad > > > > > >> >> > >> > >> >> >>>>>>er > > > > > >> >> > >> > >> >> >> >>>>.a > > > > > >> >> > >> > >> >> >> >> > > >>s:572] > > > > > >> >> > >> > >> >> >> >> > > >> at > > flash.utils::Timer/_timerDispatch() > > > > > >> >> > >> > >> >> >> >> > > >> at flash.utils::Timer/tick() > > > > > >> >> > >> > >> >> >> >> > > >> > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >> > >> > >> >> >> >> > > > > > > > >> >> > >> > >> >> >> >> > > > > > > >> >> > >> > >> >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> >> > > > > > >> >> > >> > >> > > > > > >> >> > >> > >> > > > > > >> >> > >> > > > > > > >> >> > >> > > > > > > >> >> > >> > > > > > >> >> > > > > > > >> >> > > > > > > >> >> > > > > > >> > > > > > >> > > > > > > > > > > > > > > > > > > > >