If you see a stack trace with a function ending with _c() or _i(), that's a
sign that the old FB MXMLC compiler was the last thing to compile that SWF
and you have to run the external tool again.

-Alex

On 5/6/13 1:05 PM, "Peter Ent" <p...@adobe.com> wrote:

> I the FlexJSTest_CreateJS sample working in both ActionScript and
> JavaScript. I only have the FlexJSTest_HTML5 working in JavaScript;
> ActionScript gives me an RTE, but I'm looking into it.
> 
> TypeError: Error #1009: Cannot access a property or method of a null
> object reference.
> at 
> mx.styles::StyleManager$/getStyleManager()[/Users/aharui/git/flex/master/fl
> ex-sdk/frameworks/projects/framework/src/mx/styles/StyleManager.as:147]
> at 
> MyInitialView/http://www.adobe.com/2006/flex/mx/internal::_MyInitialView_St
> ylesInit()
> at MyInitialView()[/Users/pent/Documents/Apache
> Flex/Test_HTML5/src/MyInitialView.mxml:23]
> at FlexJSTest_again/_FlexJSTest_again_MyInitialView1_c()
> at FlexJSTest_again()[/Users/pent/Documents/Apache
> Flex/Test_HTML5/src/FlexJSTest_again.mxml:26]
> 
> 
> 
> --peter
> 
> 
> 
> On 5/6/13 12:09 PM, "Carlos Rovira" <carlos.rov...@codeoscopic.com> wrote:
> 
>> Hi peter,
>> 
>> Changes are already integrated. Erik made an update some hours ago to make
>> it work with the goof.events refactor. As he noticed in the update got
>> message example is showing some controls but it need some more changes to
>> fix all functionality.
>> 
>> 
>> El lunes, 6 de mayo de 2013, Peter Ent escribió:
>> 
>>> Thanks Carlos. I look forward to integrating your changes and to see how
>>> you did it.
>>> --peter
>>> 
>>> On 5/2/13 8:07 PM, "Carlos Rovira" <carlos.rov...@codeoscopic.com>
>>> wrote:
>>> 
>>>> Hi Peter,
>>>> 
>>>> I finaly get it working, so I merged the checkbox creates control in
>>>> develop.
>>>> 
>>>> For me this was more than an exercise to learn createjs and other js
>>>> things. As Alex commented this is more an experiment than other thing,
>>> but
>>>> since creates has many similarities to old school AS1 is very
>>> interesting
>>>> for its non-DOM nature (and a real pain now that we are using AS3, Flex
>>>> 4.x
>>>> and so on...it's very hard to go back to stone age... ;))
>>>> 
>>>> I'll try to get some time and write in the wiki some documentation for
>>>> people that want to contribute (set up environment and other things
>>> that I
>>>> learned while making this little control).
>>>> 
>>>> As well I have to decide if I'll go to other controls
>>> (RadioButtons,...)
>>>> or
>>>> go to other part of FlexJS...
>>>> 
>>>> As I get some familiarity with all pieces in play, I think something to
>>>> track what's happening in this part of the project, in what features
>>> are
>>>> working the rest of the team and some list of checkpoints for a 1.0
>>>> release
>>>> would be great for this project.
>>>> 
>>>> 
>>>> 
>>>> 2013/4/30 Peter Ent <p...@adobe.com>
>>>> 
>>>>> Hi Carlos.
>>>>> 
>>>>> I'll take a look at it today.
>>>>> 
>>>>> Peter
>>>>> 
>>>>> 
>>>>> On Apr 29, 2013, at 7:11 PM, "Carlos Rovira" <
>>>>> carlos.rov...@codeoscopic.com> wrote:
>>>>> 
>>>>>> Hi Peter,
>>>>>> 
>>>>>> I just shared a branch with a createjs checkbox control. I get
>>>>> external
>>>>>> update through the right button changing selected property, but can
>>>>> get
>>>>> it
>>>>>> to work clicking in the checkbox. Do you know what could be the
>>>>> problem?
>>>>>> 
>>>>>> I just started with all the FlexJS thing and I'm yet figuring and
>>>>> reading
>>>>>> wiki, mails and source to get a clear idea of what are you all
>>> doing.
>>>>>> 
>>>>>> If we can fix this issue and you think the rest of changes are ok
>>> we
>>>>> could
>>>>>> merge into develop.
>>>>>> 
>>>>>> Best
>>>>>> 
>>>>>> Carlos
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 2013/4/26 Peter Ent <p...@adobe.com>
>>>>>> 
>>>>>>> Hi,
>>>>>>> 
>>>>>>> I've added an experimental example to FlexJS which shows how you
>>>>> could
>>>>> use
>>>>>>> CreateJS (or specifically, EaselJS) with the FlexJS framework.
>>> This
>>>>>>> experiment has only a button and label, but if you wanted to have
>>> a
>>>>>>> non-HTML DOM framework, using CreateJS would be one way to go.
>>>>>>> 
>>>>>>> The experiment has a simple MXML application with two labels and
>>> two
>>>>>>> buttons. Clicking on the buttons changes the labels in some way -
>>> one
>>>>> is by
>>>>>>> directly setting a label's text property and the other way has the
>>>>> button
>>>>>>> changing a label indirectly using the model.
>>>>>>> 
>>>>>>> Within the JS implementation, the HTML elements are replaced with
>>>>> EaselJS
>>>>>>> components. It is actually pretty clean and simple. If you were to
>>>>> try
>>>>> this
>>>>>>> and build it with FalconJX, you'll need to copy the EaselJS
>>> library
>>>>> into
>>>>>>> the resulting bin directory(ies) and modify the index.html file to
>>>>> include
>>>>>>> the EaselJS code. I've left instructions in the main MXML file.
>>>>>>> 
>>>>>>> Peter Ent
>>>>>>> Apache Flex SDK team
>>>>>>> Adobe Systems
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> --
>>>>>> Carlos Rovira
>>>>>> Director de Tecnología
>>>>>> M: +34 607 22 60 05
>>>>>> F:  +34 912 94 80 80
>>>>>> http://www.codeoscopic.com
>>>>>> http://www.directwriter.es
>>> 
>> 
>> 
>> -- 
>> Carlos Rovira
>> Director de Tecnología
>> M: +34 607 22 60 05
>> F:  +34 912 94 80 80
>> http://www.codeoscopic.com
>> http://www.directwriter.es
>> http://www.avant2.es
> 

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui

Reply via email to