[flexcoders] FlexUnit not working

2012-12-04 Thread flexwdw
Hey all,

I have a Flex3 project I am trying to add unit testing to.  Currently using 
Flashbuilder 4.5 Pro.  I am using the IDE-provided stub generators to do this.  
I took my real project out of the equation, and made a Flex 3 project with an 
app and one static function I wish to test.  I create a test suite, then a test 
case.  They run in the browser based test runner just fine, and will 
fail/succeed as I expect.  However, I cannot get the "FlextUnit Results" pane 
to do anything.  I have tried two different machines, multiple projects, a Flex 
4 project -- nothing works.  Any advice here?  Google hasn't helped me out at 
all on this topic...thanks.



[flexcoders] Re: Inserting Flex Container to TLF?

2012-12-04 Thread handitan
Hi Alex,

The content is a math formula where user could do CRUD operation.
Dummy bitmap approach does sound interesting...I believe that's basically the 
state where I am right now with my changes.

Really appreciate it, Alex!
Hope Adobe treats you well!

Handi

--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> What is the content of this container?  If it is non-interactive, take a 
> bitmap of it and insert that instead.
> 
> If you are trying to get text to flow around it, Flex text widgets do not 
> support that ,but TLF supposedly does.by setting up a set of TLF containers 
> for the ContainerController to work with.
> 
> Also, you can insert a dummy bitmap in the TextFlow and float a Flex 
> container over that area.
> 
> 
> On 12/4/12 9:10 AM, "handitan"  wrote:
> 
> 
> 
> 
> 
> 
> Hi Alex!
> 
> Thanks for the reply!
> Hmmm...I guess that's the only way to do it, huh?
> Any other suggestion?
> 
> Again thank you!
> 
> Handi
> --- In flexcoders@yahoogroups.com  , 
> Alex Harui  wrote:
> >
> > UIComponents must be parented by other UIComponents.
> >
> > Now there is a call that sets a virtual parent that you might be able to 
> > use to jump over all of the TLF parents to rewire the container into the 
> > Flex DOM.  We use it in MX containers for scrolling since we put a 
> > non-UIComponent between the container and its children so we can clip it.  
> > No guarantees that will work though.
> >
> >
> > On 11/29/12 6:05 PM, "handitan"  wrote:
> >
> >
> >
> >
> >
> >
> > Hi all,
> >
> > I am in the process of trying to customize TLF to be able to read my custom 
> > html tag that will be able to render Flex container.
> >
> > I am using TLF code that's related to InlineGraphicElement as my reference 
> > for this customization.
> > I think I got into a good point where the Flex container is added but the 
> > style doesn't get rendered (blue border and red background).
> >
> > I don't know why that is but my best guess is the validation doesn't get 
> > called since TLF is not based on Flex.
> > To verify this I tried another experiment by creating a subclass of  
> > RectangularBorder where the updateDisplayList overridden with code that has 
> > drawRect,and bla bla.
> >
> > I found out that updateDisplayList never gets called at all.
> > Here's the framework that I am using:
> > - Flex 3.6
> > - TLF 3.0
> >
> > Could anyone please point me into the right direction on how to solve this 
> > issue?
> >
> > Thank you,
> >
> > Handi
> >
> >
> >
> >
> >
> >
> > --
> > Alex Harui
> > Flex SDK Team
> > Adobe Systems, Inc.
> > http://blogs.adobe.com/aharui
> >
> 
> 
> 
> 
> 
> 
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>




Re: [flexcoders] Re: Inserting Flex Container to TLF?

2012-12-04 Thread Alex Harui
What is the content of this container?  If it is non-interactive, take a bitmap 
of it and insert that instead.

If you are trying to get text to flow around it, Flex text widgets do not 
support that ,but TLF supposedly does.by setting up a set of TLF containers for 
the ContainerController to work with.

Also, you can insert a dummy bitmap in the TextFlow and float a Flex container 
over that area.


On 12/4/12 9:10 AM, "handitan"  wrote:






Hi Alex!

Thanks for the reply!
Hmmm...I guess that's the only way to do it, huh?
Any other suggestion?

Again thank you!

Handi
--- In flexcoders@yahoogroups.com  , Alex 
Harui  wrote:
>
> UIComponents must be parented by other UIComponents.
>
> Now there is a call that sets a virtual parent that you might be able to use 
> to jump over all of the TLF parents to rewire the container into the Flex 
> DOM.  We use it in MX containers for scrolling since we put a non-UIComponent 
> between the container and its children so we can clip it.  No guarantees that 
> will work though.
>
>
> On 11/29/12 6:05 PM, "handitan"  wrote:
>
>
>
>
>
>
> Hi all,
>
> I am in the process of trying to customize TLF to be able to read my custom 
> html tag that will be able to render Flex container.
>
> I am using TLF code that's related to InlineGraphicElement as my reference 
> for this customization.
> I think I got into a good point where the Flex container is added but the 
> style doesn't get rendered (blue border and red background).
>
> I don't know why that is but my best guess is the validation doesn't get 
> called since TLF is not based on Flex.
> To verify this I tried another experiment by creating a subclass of  
> RectangularBorder where the updateDisplayList overridden with code that has 
> drawRect,and bla bla.
>
> I found out that updateDisplayList never gets called at all.
> Here's the framework that I am using:
> - Flex 3.6
> - TLF 3.0
>
> Could anyone please point me into the right direction on how to solve this 
> issue?
>
> Thank you,
>
> Handi
>
>
>
>
>
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>






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


[flexcoders] Re: Inserting Flex Container to TLF?

2012-12-04 Thread handitan
Hi Alex!

Thanks for the reply!
Hmmm...I guess that's the only way to do it, huh?
Any other suggestion?

Again thank you!

Handi
--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> UIComponents must be parented by other UIComponents.
> 
> Now there is a call that sets a virtual parent that you might be able to use 
> to jump over all of the TLF parents to rewire the container into the Flex 
> DOM.  We use it in MX containers for scrolling since we put a non-UIComponent 
> between the container and its children so we can clip it.  No guarantees that 
> will work though.
> 
> 
> On 11/29/12 6:05 PM, "handitan"  wrote:
> 
> 
> 
> 
> 
> 
> Hi all,
> 
> I am in the process of trying to customize TLF to be able to read my custom 
> html tag that will be able to render Flex container.
> 
> I am using TLF code that's related to InlineGraphicElement as my reference 
> for this customization.
> I think I got into a good point where the Flex container is added but the 
> style doesn't get rendered (blue border and red background).
> 
> I don't know why that is but my best guess is the validation doesn't get 
> called since TLF is not based on Flex.
> To verify this I tried another experiment by creating a subclass of  
> RectangularBorder where the updateDisplayList overridden with code that has 
> drawRect,and bla bla.
> 
> I found out that updateDisplayList never gets called at all.
> Here's the framework that I am using:
> - Flex 3.6
> - TLF 3.0
> 
> Could anyone please point me into the right direction on how to solve this 
> issue?
> 
> Thank you,
> 
> Handi
> 
> 
> 
> 
> 
> 
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>