Re: [flexcoders] Flex 3.5 to 4.1

2010-10-12 Thread Richard Rodseth
So far I have compatibility mode turned on and the Halo theme added. Working
through the errors.

The latest is that I get a null pointer exception in HaloBorder

Main Thread (Suspended: TypeError: Error #1009: Cannot access a property or
method of a null object reference.)
mx.skins.halo::HaloBorder/get borderMetrics
mx.core::Container/get borderMetrics
mx.core::Container/get viewMetrics
mx.core::Container/get viewMetricsAndPadding
mx.containers.utilityClasses::BoxLayout/
http://www.adobe.com/2006/flex/mx/internal::widthPadding
mx.containers.utilityClasses::BoxLayout/measure
mx.containers::Box/measure
mx.core::UIComponent/measureSizes
mx.core::UIComponent/validateSize
mx.core::Container/validateSize
mx.managers::LayoutManager/validateSize
mx.managers::LayoutManager/doPhasedInstantiation
mx.managers::LayoutManager/doPhasedInstantiationCallback

This related question did not appear to get a response on the forums:

http://forums.adobe.com/message/3149760

Thanks for any tips.

On Mon, Oct 11, 2010 at 3:25 PM, Glenn Williams wrote:

>
>  [Attachment(s) <#12b9d6686db7c478_TopText> from Glenn Williams included
> below]
>
> hi
>
>
>
> I found it a simple process on a fairly large project we were working on.
>
>
>
> to just get it to  compile you shouldn’t have any problems
>
>
>
> to then start adding spark.
>
>
>
> first change the application tag. 
>
>
> that’s when the fun starts.
>
>
>
> the one thing I found useful to get your mx components looking how you
> expect, is to manually include the original halo css file. you can then use
> spark theme but still have any css of styling you’ve done on your mx
> components still work as you’d expect.
>
>
>
> I was about to start writing a list of ‘look outs’ but thought I’d have a
> look at your link first. it’s all in there, looks like a very good start
> anyway.
>
>
>
> our project was about 2500 source files and I think in total it was maybe a
> couple of days to have a spark application but, with all mx components and
> looking just like it was before the change. then it was just a matter of
> starting to replace some things.
>
>
>
> note. we did this as a test, the project was already complete and we used
> it to learn about the change from mx to s. it was quite simple (apart from
> needing to include the halo css default file by hand which caught us out.
> styles just weren’t doing what we expected, and as soon as we added the
> default.css from the halo directory all was well.
>
>
>
> One thing I will say – do it. Spark is in every way better.
>
>
>
> and once you have the luxury of starting a new project from scratch with
> the new spark architecture you’ll wonder how you ever managed without it.
> It’s a huge step forward in my opinion.
>
>
>
> it really is time to put flex 3 away and start enjoying the new framework.
> It’s wonderful to work with, and in all our tests just generally faster and
> more stable and uses less memory. In comparing the two there isn’t anything
> I miss about flex 3 when using flex 4. it’s worth the effort (well what
> little effort the change actually needs)
>
>
>
>
>
> if you have any trouble please feel free to email me off forum and we’ll
> help all we can.
>
>
>
> all the best
>
>
>
> glenn
>
>
>
>
>
> tiny*lion* development & design
>
>
>
>
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *Richard Rodseth
> *Sent:* Monday, October 11, 2010 10:09 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Flex 3.5 to 4.1
>
>
>
>
>
> Can anyone give me a sense for how big an effort it is to port from Flex
> 3.6 to Flex 4 SDK, without (at first) taking advantage of any of the new
> features. In other words, just getting everything compiling and running as
> well as it did before, Halo components only.
>
> This recent article is helpful, but I'd like some more experience reports.
>
> http://www.adobe.com/devnet/flex/articles/flex3_to_flex4_transitioning.html
>
> Thanks
>
>  
>
<>

[flexcoders] Re: Spark panel title fontWeight

2010-10-12 Thread Chuck Preston
Thanks



Re: [flexcoders] Spark panel title fontWeight

2010-10-12 Thread Alex Harui
No way to change from CSS.  You will have to re-skin.


On 10/12/10 1:43 PM, "Chuck Preston"  wrote:






Is it possible to change the fontWeight of the title of a Spark panel to 
normal/regular? It's always bold. I'm using an external css file. Thanks.






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


Re: [flexcoders] Flex 4 Smooth List scrolling

2010-10-12 Thread Alex Harui
Spark DataGrid is due in 2011.


On 10/12/10 12:22 PM, "Philip Smith"  wrote:






Thanks. And how about smooth scrolling a DataGrid? This example achieves this 
(http://hash-pipe.com/2008/11/flex-smooth-scrolling-datagrid/) but is there 
something more current?


To: flexcoders@yahoogroups.com
From: aha...@adobe.com
Date: Tue, 12 Oct 2010 11:37:05 -0700
Subject: Re: [flexcoders] Flex 4 Smooth List scrolling




   Use Spark List


On 10/12/10 10:32 AM, "method_air" http://loudj...@hotmail.com> > wrote:







What is the best way to achieve smooth List scrolling in Flex 4?

Thanks,

Philip






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


[flexcoders] Spark panel title fontWeight

2010-10-12 Thread Chuck Preston
Is it possible to change the fontWeight of the title of a Spark panel to 
normal/regular? It's always bold. I'm using an external css file. Thanks.