[flexcoders] Problem with custom cursor in AIR

2010-06-29 Thread reflexactions
So I have a flex web based app and an AIR app, both use some custom cursors 
(FB4/SDK3.2/AIR2). 

The images for the cursors are in an external runtime loaded CSS.

The web app loads the CSS from it start directory, the AIR app picks them up 
straight from the installation directory, they are both loaded into the current 
ApplicationDomain on startup only difference the SecurityDomain setting is null 
for AIR and current for the web (because AIR wont let me set it as current).

Everything else is the same.

They both then load a module that needs a custom cursor. 

The web one displays, the AIR one doesn't.

I have checked and the image is there in the CSS, I can see it has a value when 
it goes to set the cursor but it never displays in AIR.

I assume this is some domain issue but how to fix it. The odd thing is this 
just seems to effect cursors, Button icons which are also in the CSS display 
without a problem in the module.

Thoughts?



[flexcoders] Re: AIR and -keep-all-type-selectors

2010-06-23 Thread reflexactions
Never mind I think I know why.
(we added that argument into the web version where we build the modules and 
then we just copy the modules to the AIR app so if we dont also add the arg to 
the AIR app the style is not going to be included)

--- In flexcoders@yahoogroups.com, "reflexactions"  wrote:
>
> I have hit a quirky problem. (FB4/SDK3.2/AIR2.0)
> 
> When I compile and run an AIR app, the RadioButton all appear as regular 
> buttons, and I checked and they only have the Button style not the 
> RadioButton style applied.
> 
> However if I add the compiler argument '-keep-all-type-selectors' then the 
> RadioButtons appear as normal.
> 
> Anyone know why?
>




[flexcoders] AIR and -keep-all-type-selectors

2010-06-23 Thread reflexactions
I have hit a quirky problem. (FB4/SDK3.2/AIR2.0)

When I compile and run an AIR app, the RadioButton all appear as regular 
buttons, and I checked and they only have the Button style not the RadioButton 
style applied.

However if I add the compiler argument '-keep-all-type-selectors' then the 
RadioButtons appear as normal.

Anyone know why?



[flexcoders] Re: How to get GlobelErrorHandling working.

2010-06-21 Thread reflexactions
OK I spotted the obvious error.
 
systemManager.loaderInfo
should be:
systemManager.loaderInfo["uncaughtErrorEvents"]


After that I am getting error that I forced into the main app but an error in a 
module didn't show up in the GEH, it threw an error and went to the old std 
popup window.

Do I need to link in every module as it loads?



--- In flexcoders@yahoogroups.com, "reflexactions"  wrote:
>
> AFAIK this is player dependent right?
> 
> So I have latest debug player 10.1.53.64.
> 
> Using FB4/SDK3.2
> 
> In the the main application mxml I have added a listener.
> 
> systemManager.loaderInfo.addEventListener("uncaughtError", 
> globalErrorHandler);
>   
> But it never gets called.
> 
> Is that the right way to do it?
> 
> 
> If I load modules will uncaught error in those modules also bubble up to this 
> error handler?
>




[flexcoders] How to get GlobelErrorHandling working.

2010-06-21 Thread reflexactions
AFAIK this is player dependent right?

So I have latest debug player 10.1.53.64.

Using FB4/SDK3.2

In the the main application mxml I have added a listener.

systemManager.loaderInfo.addEventListener("uncaughtError", globalErrorHandler);

But it never gets called.

Is that the right way to do it?


If I load modules will uncaught error in those modules also bubble up to this 
error handler?



[flexcoders] Profiler Issue - Object with 0 Paths

2010-06-11 Thread reflexactions
I am tring to figure out why when I open and closed a TitleWindow everything is 
fine but when I open two and then close two one doesnt get GC'd.

Using the profiler and looking at the obvious, one TitleWindow is clearly stuck 
in memory but when I click on it and expand paths it says 0 paths. So if there 
are no paths why wasnt it GC'd?



[flexcoders] Use Local Debug RSL When Debugging

2010-05-27 Thread reflexactions
In FB4 if I have this checked it doesnt seem to have any effect.
I still cant debug into the framework.

Is this only available with certain SDK's?

I am currently using 3.2. 

If it doesnt work with 3.2 is there a way to get the debug version of 3.2 RSLs?

Thanks



[flexcoders] AIR Bug SDK-11134 fixed or not?

2010-05-20 Thread reflexactions
If showFlexChrome=false for a WindowedApplication and you have a title set, the 
titlebar shows up briefly before disappearing (on Windows)

This is very noticeable when you change the title after initially loading.

I have run into the same problem as this bug, I am using FB4, SDK3.2.

According to JIRA this bug is closed as it is a duplicate of 1509350, but when 
you search for 1509350 it says no such bug exists.

Any got a clue?

I need to fix this as it look really lame.



[flexcoders] Re: Maximized alwaysInFront AIR App covers Windows TaskBar

2010-05-18 Thread reflexactions
I thought of that but from what I can see the Screen bounds are returning the 
same dimensions i.e. not taking the TaskBar into account.

On my screen everything from Screen/Stage/NativeWindow all return the same 
height 1050px (well 1054px actually but that is down to the usual 3+1 bug)

Currently the only way I can seem to do it is to manually calculate the height 
(32px) and deduct it, of course that doesnt work as expected if the TaskBar is 
anywhere other than at the bottom and isn't the same height as the one on my PC.

--- In flexcoders@yahoogroups.com, Tom Chiverton  wrote:
>
> On Tuesday 18 May 2010 09:13:41 you wrote:
> > Is there a way to either make it maximized but behind the TaskBar or
> >  failing that can I resize it so it fills the screen leaving space for the
> >  TaskBar.
> 
> You can get the screen bounds from the Screens object, check the reference.
> 
> -- 
> Tom Chiverton
> Helping to paradigmatically embrace efficient IPOs as part of the IT team of 
> the year 2010, '09 and '08
> 
> 
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered in England and 
> Wales under registered number OC307980 whose registered office address is at 
> Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
> of members is available for inspection at the registered office together with 
> a list of those non members who are referred to as partners.  We use the word 
> ?partner? to refer to a member of the LLP, or an employee or consultant with 
> equivalent standing and qualifications. Regulated by the Solicitors 
> Regulation Authority.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named above and may 
> be confidential or legally privileged.  If you are not the addressee you must 
> not read it and must not use any information contained in nor copy it nor 
> inform any person other than Halliwells LLP or the addressee of its existence 
> or contents.  If you have received this email in error please delete it and 
> notify Halliwells LLP IT Department on 0870 365 2500.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
>




[flexcoders] Maximized alwaysInFront AIR App covers Windows TaskBar

2010-05-18 Thread reflexactions
If I have an AIR app and set it to alwaysInFront and them I maximize it it 
covers the Windows TaskBar.

Is there a way to either make it maximized but behind the TaskBar or failing 
that can I resize it so it fills the screen leaving space for the TaskBar.

(Basically whilst visible the app is on top and fills the screen, then it gets 
hidden to the systray)



[flexcoders] FB4 Framework Linkage keeps resetting

2010-05-04 Thread reflexactions
We have been converting projects from FB3 to FB4 but the Framework Linkage in 
the Flex Library Build Path keeps getting reset on a whole bunch of projects, 
when we open FB it is reset to Merged Into Code when it is supposed to be 
External.

At first of course you think you made a mistake and forgot to set it, but this 
is across a dozen projects that have been gone through several times to 
carefully set the value, and once you close FB and reopen it changes back.

Its very time consuming to keep having to go back through and check every 
project when it is loaded.

Anyone seen this issue?



[flexcoders] Scaling and custom components

2010-04-23 Thread reflexactions
Couple of things I am not clear about when a component is being scaled.

If a component is scaled should 'measure' set the measured properties  as 
unscaled or scaled?

Should setActualSize set dimensions scaled or unscaled.



[flexcoders] Out Of Memory Errors in FB4 compiling CSS

2010-03-30 Thread reflexactions
Since upgrading to FB4 I am no longer able to compile an external CSS file 
containg a long list of embeded images.

 
The CSS works fine under 3 (my colleagues who havent moved to 4 have no 
problem).

I am running on Vista with 4gb RAM.

 
My memory config have not been changed in FB4

--launcher.XXMaxPermSize 
256m 
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms1200m
-Xmx1300m

The CSS will only compile if I reduce the number of images down to about 20% of 
the actual total.

 
Ideas?




[flexcoders] Re: Do you need to uninstall Flex 3 before installing Flex 4?

2010-03-24 Thread reflexactions
You should note that although using the standlone version both can coexist, the 
project file format is different so you cant actually access a project with FB3 
once you have accessed it using FB4. 

--- In flexcoders@yahoogroups.com, "ellistein52"  wrote:
>
> Or can they coexist together without issues?
>




[flexcoders] Re: Do you need to uninstall Flex Builder 3 before installing Flash Builder 4??

2010-03-24 Thread reflexactions
If standalone both can coexist.

If using the plugin and you install FB4 to the same version of eclipse as FB3 
then you DO need to unistall FB3.

Caught me out at first... lots of fun java class not found errors. 

--- In flexcoders@yahoogroups.com, "fred44455"  wrote:
>
> Or can they coexist together?
>




[flexcoders] Re: Flex Builder Out of Memory Errors

2010-03-24 Thread reflexactions
Ok I was getting this all day today until I remebered that in FB3 I had 
manually changed the eclipse vm args in eclipse.ini. 

If running the plugin go to the eclipse.ini file in the folder where 
eclipse.exe is located.

What I think you will see is that the FB4 installation appends some VMArgs 
settings to that file that effectively override your own previous changes.

So I reverted it back, for me that means: 
-Xms256m
-Xmx1024m

If running standalone your old FB3 settings will not have been carried froward 
AFAIK, so then look in the eclipse-host-distro folder for the same eclipse.ini 
file and add your old settings.

Once I did that there were no problems






--- In flexcoders@yahoogroups.com, "d9_tech"  wrote:
>
> Yep. Sounds like we're all experiencing the same (very frustrating) thing. 
> 
> Is anyone from Adobe or from the Flex team still reading this list? If so, 
> can you please post a solution or at least provide some explanation?
> 
> Christian
> 
> 
> --- In flexcoders@yahoogroups.com, "Christopher McArthur"  wrote:
> >
> > Yeah, I get this constantly too. I have 4GB of ram, and Flexbuilder
> > never goes above 700Mb, but still get the errors constantly.
> > 
> >  
> > 
> > Ive also tried everything I can find on google adjusting the memory
> > settings, tried values all over the place, and nothing, constnatly out
> > of memory crashes.
> > 
> >  
> > 
> > Our entire dev team gets this and we have a range of winXP, Macintosh,
> > vista, and windows 7.
> > 
> >  
> > 
> > Upgraded to Flash Builder 4, and no dice, still constant crashing =(
> > 
> >  
> > 
> >  
> > 
> > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> > Behalf Of d9_tech
> > Sent: Friday, March 19, 2010 2:31 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Flex Builder Out of Memory Errors
> > 
> >  
> > 
> >   
> > 
> > It's pretty frustrating that Flex Builder regularly crashes with "Out of
> > Memory" errors during compile and sometimes even when design view is
> > refreshing. 
> > 
> > After searching for solutions and trying all sorts of memory
> > configurations in the Flex Builder config file, our dev team finally
> > gave up looking for a fix, hoping that things would get better in a
> > patch release. 
> > 
> > Unfortunately, they haven't. With each update of Flex Builder the out of
> > memory errors continue, sometimes manifesting as silent crashes where
> > Flex Builder just disappears. Even after we all got new Alienware
> > computers with 12 GB of RAM, Flex Builder still can't find enough
> > resources for whatever it's trying to do during compile. Today I
> > actually got three Out of Memory error dialogs at once, all piled on top
> > of each other. 
> > 
> > Can someone from the Flex team please shed light on what's going on and
> > let us know if there is a solution for this problem?
> > 
> > thanks,
> > 
> > Christian
> >
>




[flexcoders] Re: Flex 4 Issue - flash/mx source code not found

2010-03-24 Thread reflexactions
In FB3 it displays a .as header file which just is a quick way to see the 
syntax without firing up the while help system (if u hv FB3 try it and see)...

in any case I have the same issue with the whole framework source which does 
exist... and I am sure fixing one case fixes all...

--- In flexcoders@yahoogroups.com, Oleg Sivokon  wrote:
>
> There are no source for Array.splice() - it is not publicly available - what
> did you want to see there?
>




[flexcoders] Flex 4 Issue - flash/mx source code not found

2010-03-24 Thread reflexactions
Having a prb with FB4 and an existing 3.2 app .

The app compiles fine so not a compiler issue.

However the issue is with the syntax help for framework/flash code. If I 
control-click a var it should take me to the definition but (for example) say 
if I click "splice" I get an error message telling me it can find the source 
code fo Array.splice in the 3.2 player.swc, previously for flash.* it would 
jump to the header file and for mx.* it would load the class source.

Similar issue if I try to step through the code, it won't step through any 
framework code as it cant find the source.

This was working fine yesterday before upgrading.

I did copy the 3.2 SDK into FB4 from my FB3 folder and as said it compiles so 
it does know the SDK is there.

So whats broken and more importantly how to fix?

Any thoughts???



[flexcoders] Re: Flex Builder Out of Memory Errors

2010-03-19 Thread reflexactions
This is not a fix but what I tend to do is keep a track of how much memory FB 
is using throughout the day (I have TaskManager open all the time anyway to 
kill IE instances) and when I get over a gig I restart FB.

--- In flexcoders@yahoogroups.com, "d9_tech"  wrote:
>
> It's pretty frustrating that Flex Builder regularly crashes with "Out of 
> Memory" errors during compile and sometimes even when design view is 
> refreshing. 
> 
> After searching for solutions and trying all sorts of memory configurations 
> in the Flex Builder config file, our dev team finally gave up looking for a 
> fix, hoping that things would get better in a patch release. 
> 
> Unfortunately, they haven't. With each update of Flex Builder the out of 
> memory errors continue, sometimes manifesting as silent crashes where Flex 
> Builder just disappears. Even after we all got new Alienware computers with 
> 12 GB of RAM, Flex Builder still can't find enough resources for whatever 
> it's trying to do during compile. Today I actually got three Out of Memory 
> error dialogs at once, all piled on top of each other. 
> 
> Can someone from the Flex team please shed light on what's going on and let 
> us know if there is a solution for this problem?
> 
> thanks,
> 
> Christian
>




[flexcoders] Re: How to unset a color from an external CSS file

2010-03-19 Thread reflexactions

Ah thanks.
--- In flexcoders@yahoogroups.com, Jamie S  wrote:
>
> In your CSS, try using...
> 
> backgroundColor: ClassReference(null);
> 
> Jamie
> 
> On Fri, Mar 19, 2010 at 2:13 PM, reflexactions wrote:
> 
> >
> >
> > A backgroundColor is defined in a base class.
> >
> > I need to set it to undefined in an external CSS to stop it from drawing.
> >
> > In css if I use undefined or null I get a string 'undefined'.
> >
> > Any way to handle this?
> >
> >  
> >
>




[flexcoders] How to unset a color from an external CSS file

2010-03-19 Thread reflexactions
A backgroundColor is defined in a base class.

I need to set it to undefined in an external CSS to stop it from drawing.

In css if I use undefined or null I get a string 'undefined'.

Any way to handle this?



[flexcoders] Re: FileReference.load() not found -- help please?

2010-03-19 Thread reflexactions
No its not just in the IDE (and yes we did that).

To be very clear what we have done as a final resort to test the problem 

We went to this site
http://sherifabdou.com/2008/06/using-the-new-filereference-class-in-flex-to-save-and-load-without-a-server/

and accessed the flex app there.

A number of users all using FP10 access this app get the above error even ones 
using FP10.1

I access the app and I dont get any error.


The same issue happened with our own application. So we can compile the app , 
some people can use it others cant even if using same browser, same version of 
FP.

Its a show stopper at moment

 

--- In flexcoders@yahoogroups.com, "tntomek"  wrote:
>
> If this problem is in the IDE open all your .project/.flexProperties etc 
> files and manually search for 9.x. Flex libraries don't have version number 
> exposed in the IDE which makes it even harder to troubleshoot
> 
> -Tom Gruszowski (http://tomek.me)
> 
> 
> --- In flexcoders@yahoogroups.com, "reflexactions"  wrote:
> >
> > This API is marked as FP10.
> > 
> > We have been having a problem with some people getting the above error and 
> > they are using FP10.
> > 
> > One guy was using FP10.0.32.18 and got the error, another guy was using 
> > 10.1 the same version as I was using and they got they error but I didnt.
> > 
> > We even tried an example of this API that was on the web
> > 
> > The same issue, works for me but not for the other guys .
> > 
> > Any idea on what the problem is??
> >
>




[flexcoders] FileReference.load() not found -- help please?

2010-03-19 Thread reflexactions
This API is marked as FP10.

We have been having a problem with some people getting the above error and they 
are using FP10.

One guy was using FP10.0.32.18 and got the error, another guy was using 10.1 
the same version as I was using and they got they error but I didnt.

We even tried an example of this API that was on the web

The same issue, works for me but not for the other guys .

Any idea on what the problem is??



[flexcoders] Searching in FlexBuilder

2010-02-25 Thread reflexactions
A while back I switched from FB Standalone to the FB Plugin primarily becuase I 
found that when searching using FB Standalone the results window only show the 
number of matches in a file:

UIComponent.as - .. (5 matches)

whereas the plugin showed each line that matched:
UIComponent.as -
line 124 .
line 251 .

This was a huge productivty gain as I could quickly see which matches were 
false or I was not interested in without needing to open the file and search 
through it.

Now suddenly the serching has switched back to only showing the number of 
matches in each file again, I think this possibly coincided with my installing 
the latest AIR2 beta.  

Does anyone know how to get back the standard "eclipse" style searching rather 
than the "adobe" crippled searching.



[flexcoders] Re: Steve Jobs on Flash .......

2010-02-08 Thread reflexactions
Well I hope you are correct. 
I was talking to someone today and we both commented that we had been using 
10.1 and hadn't noticed any difference so I am hoping there is some magic 
setting that can be made that will enable 10.1 to use less memory.

--- In flexcoders@yahoogroups.com, "Battershall, Jeff"  
wrote:
>
> I believe FP 10.1 is specifically designed to address the two biggest issues 
> that affect the deployment of Flash on devices: Memory consumption and global 
> error handling. So help is on the way and I would think that Adobe's actions 
> in that regard are anything but lazy. 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of reflexactions
> Sent: Monday, February 08, 2010 8:58 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Steve Jobs on Flash ...
> 
> Its not a question of whether it was possible at some point to construct 
> 'something' on a device with a limited version of flash.
> 
> Its a question of whether you can construct something like this for example
> http://www.extjs.com/deploy/dev/examples/grouptabs/grouptabs.html
> in flash with a comparable footprint and performance (a common complaint is 
> cpu utilization for some reason flash soaks up a huge amount of the cpu 
> compared to javascript).
> 
> I was testing some regex code today and the same code ran 4 times faster in 
> IE, 20 times faster in Safari and Chrome.
> 
> Its not like these issues are anything new they've been around for years but 
> they don't get fixed which I guess is what SJ was really meaning when he 
> called Adobe lazy.
> 
> --- In flexcoders@yahoogroups.com, Guy Morton  wrote:
> >
> > That's nuts. We built a flash app that ran on the pocket PC 5 years ago - 
> > it's mad to think flash couldn't run on something as powerful as an iPhone.
> > 
> > On the other hand, if I was looking at a new project, I'd certainly be 
> > asking myself if something like the SVGWeb toolkit from google would allow 
> > me to build something that would run native in many browsers (and in the 
> > iPhone and iPad).
> > 
> > I do think Adobe should have been looking prior to now for ways to leverage 
> > SVG and javascript - all that platform needs is a good development 
> > environment - that's something Adobe could be making money from right now.
> > 
> > Anyway...it's all rather silly and the town hall thing is farcical. Steve 
> > should have spent some of that pent up energy doing something truly great 
> > with the iPad, instead of just scaling up an iPhone.
> > 
> > Guy
> > 
> > 
> > On 08/02/2010, at 10:20 PM, reflexactions wrote:
> > 
> > > Well after 10 years plus of AS development my feelings are that SJ isn't 
> > > wrong.
> > > 
> > > We have to fend of a constant stream of complaints from users that the 
> > > app is a memory hog and slow. We tell them it will improve soon but it 
> > > never does, we tell them flash is a million times better than the 
> > > alternatives, but to be honest JavaScript has caught up and is ahead in 
> > > many things. 
> > > 
> > > Our app starts up at around 130Mb and reaches 250Mb before it levels out, 
> > > JavaScript apps are a fraction of that.
> > > 
> > > I hope his rant finally has some impact at Adobe and they pull there 
> > > finger out, becuase past experience has shown that years of 
> > > complaining/requests/bug reports gets nowhere then finally a rant in the 
> > > face of someone who matters gets them to shift, I have no idea why its 
> > > like that but time and again thats what happens.
> > > 
> > > For us it is probably too late as this week after SJ's rant we were told 
> > > to start planning the move away flash, the argument has been lost so 
> > > badly it wasn't even an argument this time.
> > > 
> > > For us to stay with flash, the next release would have to perform a 
> > > miracle in terms of memory and performace gains on Mac and PC.
> > > 
> > > Personally I don't think they can do it, I think they would be better of 
> > > making AS3 compile down to JavaScript. With maybe a lighterweight plugin 
> > > for somethings like video or graphics.
> > > 
> > > Whatever they really needed to realise all this a year ago with solutions 
> > > to be released now, not just smelling the coffee today.
> > > 
> > > --- In flexcoders@yahoogroups.com, Tim Romano  wrote:
> &g

[flexcoders] Re: Steve Jobs on Flash .......

2010-02-08 Thread reflexactions
Its not a question of whether it was possible at some point to construct 
'something' on a device with a limited version of flash.

Its a question of whether you can construct something like this for example
http://www.extjs.com/deploy/dev/examples/grouptabs/grouptabs.html
in flash with a comparable footprint and performance (a common complaint is cpu 
utilization for some reason flash soaks up a huge amount of the cpu compared to 
javascript).

I was testing some regex code today and the same code ran 4 times faster in IE, 
20 times faster in Safari and Chrome.

Its not like these issues are anything new they've been around for years but 
they don't get fixed which I guess is what SJ was really meaning when he called 
Adobe lazy.

--- In flexcoders@yahoogroups.com, Guy Morton  wrote:
>
> That's nuts. We built a flash app that ran on the pocket PC 5 years ago - 
> it's mad to think flash couldn't run on something as powerful as an iPhone.
> 
> On the other hand, if I was looking at a new project, I'd certainly be asking 
> myself if something like the SVGWeb toolkit from google would allow me to 
> build something that would run native in many browsers (and in the iPhone and 
> iPad).
> 
> I do think Adobe should have been looking prior to now for ways to leverage 
> SVG and javascript - all that platform needs is a good development 
> environment - that's something Adobe could be making money from right now.
> 
> Anyway...it's all rather silly and the town hall thing is farcical. Steve 
> should have spent some of that pent up energy doing something truly great 
> with the iPad, instead of just scaling up an iPhone.
> 
> Guy
> 
> 
> On 08/02/2010, at 10:20 PM, reflexactions wrote:
> 
> > Well after 10 years plus of AS development my feelings are that SJ isn't 
> > wrong.
> > 
> > We have to fend of a constant stream of complaints from users that the app 
> > is a memory hog and slow. We tell them it will improve soon but it never 
> > does, we tell them flash is a million times better than the alternatives, 
> > but to be honest JavaScript has caught up and is ahead in many things. 
> > 
> > Our app starts up at around 130Mb and reaches 250Mb before it levels out, 
> > JavaScript apps are a fraction of that.
> > 
> > I hope his rant finally has some impact at Adobe and they pull there finger 
> > out, becuase past experience has shown that years of 
> > complaining/requests/bug reports gets nowhere then finally a rant in the 
> > face of someone who matters gets them to shift, I have no idea why its like 
> > that but time and again thats what happens.
> > 
> > For us it is probably too late as this week after SJ's rant we were told to 
> > start planning the move away flash, the argument has been lost so badly it 
> > wasn't even an argument this time.
> > 
> > For us to stay with flash, the next release would have to perform a miracle 
> > in terms of memory and performace gains on Mac and PC.
> > 
> > Personally I don't think they can do it, I think they would be better of 
> > making AS3 compile down to JavaScript. With maybe a lighterweight plugin 
> > for somethings like video or graphics.
> > 
> > Whatever they really needed to realise all this a year ago with solutions 
> > to be released now, not just smelling the coffee today.
> > 
> > --- In flexcoders@yahoogroups.com, Tim Romano  wrote:
> > >
> > > If the rumors about Bing are true, then this panning could also have 
> > > something to do with Silverlight. If I were at MSFT and my role was to 
> > > ensure that Silverlight succeeded in knocking Flash off (as Word knocked 
> > > off WordPerfect back in the day, e.g.) then I'd be looking for chinks in 
> > > Adobe's armor wherever they may be.
> > > 
> > > On 2/1/2010 2:26 PM, Paul Andrews wrote:
> > > >
> > > > It's just commercial tactics.
> > > >
> > > > You'd never guess he has his own tied-in development system to support.
> > > > Why wouldn't he knock flash?
> > > >
> > > > hworke wrote:
> > > > > 
> > > > http://news.yahoo.com/s/pcworld/20100201/tc_pcworld/stevejobsdissesapplerivalsduringtownhallmeeting
> > > >  
> > > > <http://news.yahoo.com/s/pcworld/20100201/tc_pcworld/stevejobsdissesapplerivalsduringtownhallmeeting>
> > > > >
> > > > >
> > > > > Jobs has previously called out Adobe Flash, currently the
> > > > > dominant animation platform on the Web, for being &q

[flexcoders] Re: Steve Jobs on Flash .......

2010-02-08 Thread reflexactions
Well after 10 years plus of AS development my feelings are that SJ isn't wrong.

We have to fend of a constant stream of complaints from users that the app is a 
memory hog and slow. We tell them it will improve soon but it never does, we 
tell them flash is a million times better than the alternatives, but to be 
honest JavaScript has caught up and is ahead in many things. 

Our app starts up at around 130Mb and reaches 250Mb before it levels out, 
JavaScript apps are a fraction of that.

I hope his rant finally has some impact at Adobe and they pull there finger 
out, becuase past experience has shown that years of complaining/requests/bug 
reports gets nowhere then finally a rant in the face of someone who matters 
gets them to shift, I have no idea why its like that but time and again thats 
what happens.

For us it is probably too late as this week after SJ's rant we were told to 
start planning the move away flash, the argument has been lost so badly it 
wasn't even an argument this time.

For us to stay with flash, the next release would have to perform a miracle in 
terms of memory and performace gains on Mac and PC.

Personally I don't think they can do it, I think they would be better of making 
AS3 compile down to JavaScript. With maybe a lighterweight plugin for 
somethings like video or graphics.

Whatever they really needed to realise all this a year ago with solutions to be 
released now, not just smelling the coffee today.


--- In flexcoders@yahoogroups.com, Tim Romano  wrote:
>
> If the rumors about Bing are true, then this panning could also have 
> something to do with Silverlight. If I were at MSFT and my role was to 
> ensure that Silverlight succeeded in knocking Flash off (as Word knocked 
> off WordPerfect back in the day, e.g.) then I'd be looking for chinks in 
> Adobe's armor wherever they may be.
> 
> On 2/1/2010 2:26 PM, Paul Andrews wrote:
> >
> > It's just commercial tactics.
> >
> > You'd never guess he has his own tied-in development system to support.
> > Why wouldn't he knock flash?
> >
> > hworke wrote:
> > > 
> > http://news.yahoo.com/s/pcworld/20100201/tc_pcworld/stevejobsdissesapplerivalsduringtownhallmeeting
> >  
> > 
> > >
> > >
> > > Jobs has previously called out Adobe Flash, currently the
> > > dominant animation platform on the Web, for being "too slow to be 
> > useful" and Flash Lite, Adobe's versio n of Flash for mobile devices, 
> > as not advanced enough for the iPhone. So it's no surprise to hear 
> > Jobs called out Flash during Apple's Town Hall, but his language this 
> > time sounds a little over the top. Jobs reportedly called Adobe a lazy 
> > company, and said that when a Mac crashes it's usually because of Flash.
> > >
> > > Whether or not that's true, it's clear that Jobs is not a fan of 
> > Adobe's multimedia platform. The iPhone is routinely criticized for 
> > its inability to render Flash-based Web pages, videos and games, and 
> > early criticisms about the iPad also decry the lack of Flash 
> > compatibility on Apple's latest device.
> > >
> > >
> > >
> >
> >
>




[flexcoders] RTE focusManager is null in a popup

2010-02-04 Thread reflexactions
I have a custom control that is similar to a combo in that it has a 'popup' 
dropdown.

The difference is that the popup is editable and can be clicked into.

The problem I am having is that when I click into the dropdown I get a RTE 
because focusManager is null.

The problem seems to be that the addPopUp sets the parent to be the SM and and 
the owner is my control.

With SM as parent the focusManager is automatically null.

So where am I going wrong?



[flexcoders] Re: AIR Performance

2009-10-27 Thread reflexactions
"head-in-the-sand comment got me fired up "
As did the statement that bad memory issues in AIR were down to bad coding.

Ok we probably are comming at this from a different scale, the number of 
modules on our app runs in to the hundreds not 30 so we probably have quite a 
different perspective, but like Jack I have been coding for over 30 years, the 
last 10 in actionscript, I do nothing other than pure AS coding (I logged 
140hrs in pure flex development last week alone and we have 7 other developers 
as well) and I know for a fact that even with the best coding you still have 
memory/cpu issues with AIR/flex that simply can't be avoided.


--- In flexcoders@yahoogroups.com, "Gregor Kiddie"  wrote:
>
> Sorry Jack, I didn't mean it to come across as accusing you of either
> writing bad code, or not doing due diligence.  It wasn't intended that
> way! The head-in-the-sand comment got me fired up ;)
> 
>  
> 
> I'm sure as a developer you know these arguments always crop up on lists
> like this... ask 3 developers a question and you'll get 5 different
> answers, I know I could have written reflexaction's post as easily as my
> own (depending on how annoyed with Flex I was feeling at the time)!
> 
>  
> 
> I'd never stop people from asking questions on this list, far from it!
> 
>  
> 
> Ask me again tomorrow, and I'll give you a different answer ;)
> 
>  
> 
> Gk.
> 
> Gregor Kiddie
> Senior Developer
> INPS
> 
> Tel:   01382 564343
> 
> Registered address: The Bread Factory, 1a Broughton Street, London SW8
> 3QJ
> 
> Registered Number: 1788577
> 
> Registered in the UK
> 
> Visit our Internet Web site at www.inps.co.uk
> http://www.inps.co.uk/> 
> 
> The information in this internet email is confidential and is intended
> solely for the addressee. Access, copying or re-use of information in it
> by anyone else is not authorised. Any views or opinions presented are
> solely those of the author and do not necessarily represent those of
> INPS or any of its affiliates. If you are not the intended recipient
> please contact is.helpd...@...
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of jwc_wensan
> Sent: 27 October 2009 12:15
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: AIR Performance
> 
>  
> 
>   
> 
> 
> 
> Gregor:
> 
> I am doing my due diligence. That is why I am asking those who have
> more experience working with AIR than I do. 
> 
> I read the articles and I was just asking for input from the "real
> world" developers and not relying soley on information contained in
> article(s).
> 
> Isn't this what this forum is for?
> 
> You assume that I would write crappy software. 
> 
> Never have. Never will.
> 
> I have been developing software for over 30 years.
> 
> Sorry if asking my question upset you.
> 
> However, thanks for your input.
> 
> Jack
>




[flexcoders] Re: AIR Performance

2009-10-26 Thread reflexactions
"If you write it well, you will not have any CPU or memory issues"
I am sorry but that is just so far from reality it is ridiculous.

AIR does not just have 'the same memory and CPU issue as every other app'.

The issues are well known and accepted so I don't where you come up with that 
notion, even Adobe have talked about how they are going to address memory 
issues in the next version and Flex4 has throttling code built in to try and 
make a PC usable when an AIR is in the background something not 'every other 
app' usually requires.

When some guy is asking about makeing a decison that might affect the future of 
his company it really doesnt help to stick you head in the sand and pretend 
everything is hunky dory when it isn't.



--- In flexcoders@yahoogroups.com, "Gregor Kiddie"  wrote:
>
> AIR apps have exactly the same memory and CPU issues as every
> application written in every language ever.
> 
>  
> 
> If you write it well, you will not have any CPU or memory issues.
> 
> If you write it badly, you will have CPU and memory issues.
> 
>  
> 
> This is true regardless of the technology involved.
> 
>  
> 
> Answering your question more directly, yes you can use AIR for the
> project, it scales quite well when you start using modules, etc.
> 
>  
> 
> Gk.
> 
>  
> 
> Gregor Kiddie
> Senior Developer
> INPS
> 
> Tel:   01382 564343
> 
> Registered address: The Bread Factory, 1a Broughton Street, London SW8
> 3QJ
> 
> Registered Number: 1788577
> 
> Registered in the UK
> 
> Visit our Internet Web site at www.inps.co.uk
> http://www.inps.co.uk/> 
> 
> The information in this internet email is confidential and is intended
> solely for the addressee. Access, copying or re-use of information in it
> by anyone else is not authorised. Any views or opinions presented are
> solely those of the author and do not necessarily represent those of
> INPS or any of its affiliates. If you are not the intended recipient
> please contact is.helpd...@...
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of jwc_wensan
> Sent: 26 October 2009 14:49
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] AIR Performance
> 
>  
> 
>   
> 
> Good morning all,
> 
> I have read that AIR 1.5 apps have some memory and CPU issues. 
> 
> This may or may not be fixed/improved in AIR 2.0.
> 
> I am considering a large scale app that will have a hundred plus 
> screens. It is AIR because of the requirement for local database.
> 
> While I know it can be programmed, my question is should I and/or 
> can I use AIR for this size project?
> 
> Thoughts, recommendations, etc.
> 
> Thanks,
> 
> Jack
>




[flexcoders] How to know whether there is a hideEffect?

2009-10-22 Thread reflexactions
I have some code that needs to run when a window is hidden, the problem is that 
there might (or might not) be an effect attached to the hide event which means 
if there is I dont want to run this routine until after the effect has 
completed, if there isnt I can run it immediately.

So how do I determine in code if changing visibility is going to trigger an 
effect?





[flexcoders] How to set focus to a control in a popup when activated

2009-10-21 Thread reflexactions
How can I set focus to a particular control in a container whenever it it first 
gets poped up.

However after the user has clicked in some other control I want focus to go to 
the control they last clicked in if the window gets deactivated and activated.



[flexcoders] Strange DragDrop problem

2009-10-16 Thread reflexactions
I have a HBox with two VBox's in. 
Initial lets say the VBox1 is 300px wide, but I hide same controls and reduce 
its width to 30.

Now I am trying to drag and drop between two grids in VBox2.

The problem I am having is I can't drop into a grid if that grid is within 
300px of the edge i.e. where the edge of VBox1 was previously.

Specifically the drop feedback is indicating can't drop.

If I resize VBox1 back to 300px I can then drop into the grid in VBox2 without 
a problem as its now shifted over.

Any thoughts on what the issue is?





[SPAM] Re: [flexcoders] Flex with .Net

2009-10-12 Thread reflexactions
Or Remoting using Fluorine by TheSilentGroup which is for .net on the back end, 
which is just as simple to code.


--- In flexcoders@yahoogroups.com, "Tracy Spratt"  wrote:
>
> Or use HTTPService.  It works great with .net and is simpler to code than
> WebService.
> 
>  
> 
> Tracy Spratt,
> 
> Lariat Services, development services available
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of sachindev tripathi
> Sent: Friday, October 09, 2009 12:52 PM
> To: flexcoders@yahoogroups.com
> Cc: nrk...@...
> Subject: [SPAM] Re: [flexcoders] Flex with .Net
> 
>  
> 
>   
> 
> 
> You have to use .net webservices as backend and in front end Flex will be
> used.
> 
> 
> --- On Mon, 5/10/09, Ramkumar  wrote:
> 
> 
> From: Ramkumar 
> Subject: [flexcoders] Flex with .Net
> To: nrk...@...
> Date: Monday, 5 October, 2009, 9:34 PM
> 
>   
> 
> Hi All,
> 
> We have the application on .Net and we have to replace the asp pages with
> flex UI.
> 
> I am little bit exposure only to flex(I am java developer) and dont have
> knowledge on .Net.
> 
> Please provide me sample codes(like the data passing from UI to db) and
> materials for doing the application.
> 
> from there i will try to manage my self.
> 
>  
> 
> Thanks and Regards,
> 
> N.Ramkumar
> 
> 
> 
> 
> 
>   _  
> 
> 
> Keep up with people you care about with Yahoo! India Mail. Learn how
>  onnectmore> .
>




[flexcoders] Re: Change event doesn't get fired when I Update selected state for toggle button.

2009-10-12 Thread reflexactions
listen for VALUE_COMMIT instead of CHANGE. 

--- In flexcoders@yahoogroups.com, "srikanth_reddy_007"  
wrote:
>
> Hi,
> 
> when I use the click on the button then the change event gets fired for 
> toggle button. But when I update the "selected" property of the button, then 
> the change event doesn't get fired.
> 
> How to make this work.
> 
> Thanks,
> Srikanth
>




[flexcoders] Re: Flex4 for building Flex3 projects?

2009-10-11 Thread reflexactions
Well I tried it almost a complete disaster...

During installing FB4 it asks you whether you want the plugin installed into a 
version of Eclipse other than the bundled version, I said yes as I use a 
version of 3.4.2 which is configured as I want and has all my other flex and 
non-flex stuff that I need already added in.

What I didn't appreciate was if I said yes I would no longer be able to load 
FB3, and even worse FB4 wouldn't run anyway, when eclipse loads I get loads of 
errors message about wrongly configured Adobe plugins and it cant even load an 
editor to display AS files.

Seems only to work with the bundled version currently.

I tried to revert the config but that didnt fix it, so in the end I had to 
uninstall FB4 and then reinstall it and this time only use the bundled version 
of eclipse.

Its a major pain to have to now go through and try and add in all the plugins I 
usually use with eclipse, then set them all up, particularly some of the java 
and db plugins, at the end of the day not sure its really worth all the effort.

--- In flexcoders@yahoogroups.com, "Alex"  wrote:
>
> You will most probably have no problems building with a 3.x SDK under Flash 
> Builder 4 beta. Remember that the IDE (FB3, FB4, regardless) calls the 
> compiler available in the selected version of the SDK. 
> I have been using FB4 for a couple of months now and I must admit I am pretty 
> pleased with how it works; it appears quite stable. I remember at some point 
> the code completion sometimes stopped working but other than that I have seen 
> no blocking issues.
> 
> Hope it helps,
> Alex
> 
> --- In flexcoders@yahoogroups.com, "reflexactions"  wrote:
> >
> > I know Flex4 is still very much a beta product at this stage and that 
> > usually means not stable, not working, not suitable for production  etc. 
> > etc.
> > 
> > But I wondered about how stable it is in building Flex SDK3 projects, I 
> > mean compiling to say Flex SDK3.2.
> > 
> > To be honest I can't see that we will move to Flex4 SDK any time soon, even 
> > after it is released, but the IDE has some 'basics' that are very 
> > attractive like conditional breakpoints etc and these are unrelated to the 
> > SDK/Framework level so I could imagine they could be fairly stable already 
> > and these sort of things won't afffect the stability of the actual compiled 
> > application anyway which is really the only thing that matters.
> > 
> > Anyone have some knowledge to share on this?
> > 
> > ...and can't resist a moan about 'FlashBuilder', ugghh, I am NOT a flash 
> > developer, never have been and never will be, never even used the designer 
> > mode in FB :)
> >
>




[flexcoders] Flex4 for building Flex3 projects?

2009-10-10 Thread reflexactions
I know Flex4 is still very much a beta product at this stage and that usually 
means not stable, not working, not suitable for production  etc. etc.

But I wondered about how stable it is in building Flex SDK3 projects, I mean 
compiling to say Flex SDK3.2.

To be honest I can't see that we will move to Flex4 SDK any time soon, even 
after it is released, but the IDE has some 'basics' that are very attractive 
like conditional breakpoints etc and these are unrelated to the SDK/Framework 
level so I could imagine they could be fairly stable already and these sort of 
things won't afffect the stability of the actual compiled application anyway 
which is really the only thing that matters.

Anyone have some knowledge to share on this?

...and can't resist a moan about 'FlashBuilder', ugghh, I am NOT a flash 
developer, never have been and never will be, never even used the designer mode 
in FB :)



[flexcoders] Re: AIR from a Flex ActionScript Project? SOLVED

2009-10-06 Thread reflexactions
Developing Adobe AIR 1.5 Applications with Flex:
See section "Creating your first AIR application with the Flex SDK" 

See the para "Write the application code"

"Note: SWF-based AIR applications can use a main class defined either with MXML 
or with Adobe® ActionScript® 3.0. This example uses an MXML file to define its 
main class. The process for creating an AIR application with a main 
ActionScript class is similar. Instead of compiling an MXML file into the SWF, 
you compile the ActionScript class file. When using ActionScript, the main 
class must extend flash.display.Sprite."

Also see "Create the AIR application descriptor file"

--- In flexcoders@yahoogroups.com, John McCormack  wrote:
>
> reflexactions wrote:
> > FYI The Adobe docs do describe how to create a pure AS (i.e. not using 
> > MXML) AIR application.
> >   
> 
> I haven't found that, although I have found lots of other references.
> Unfortunately the Adobe PDF help files overlap and they have no dates, 
> so things are hard to find.
> 
> Some of my problems were because I was using various properties of the 
> main Class and when it because an AIR application it wasn't the main 
> class any more.
> 
> If possible, please point me to the particular document it's in.
> 
> Thanks
> 
> John
>




[flexcoders] Re: AIR from a Flex ActionScript Project? SOLVED

2009-10-06 Thread reflexactions
FYI The Adobe docs do describe how to create a pure AS (i.e. not using MXML) 
AIR application.

--- In flexcoders@yahoogroups.com, John McCormack  wrote:
>
> Michael,
> 
> I had problems getting the ActionScript project code into the AIR 
> application.
> 
> The original Document Class from OriginalProgram.AS would not run 
> because it was no longer automatically on the display list and so its 
> stage variable was null.
> 
> I emptied the code from the constructor into a new function called main, 
> added an instance to the stage, see below, and completed the 
> construction via main().
> It could then proceed since stage was no longer null.
> 
> My background colour has changed and the aligment isn't working but it 
> looks very promising.
> 
> Thanks again.
> 
> John
> 
> 
> 
>  http://www.adobe.com/2006/mxml"; 
> layout="absolute" creationComplete="start();">
>   
>
>  
>  
> 
> 
> 
> 
> Michael wrote:
> > John,
> >
> > Though your code is in ActionScript, you should just be able to use the 
> > MXML WindowedApplication tag just at the very top-level, and initialize 
> > your main ActionScript UI within an  tag.
> >
> > Something like:
> >
> > http://www.adobe.com/2006/mxml"; 
> >   applicationComplete="init();">
> > 
> > 
> > 
> > 
> >
> >
> > Finally, I left out a step (4) in my previous message.  Steps 1-3 are 
> > sufficient to run your AIR app in the debugger, but to distribute your AIR 
> > application you typically need to generate and sign a .air file.  Flex 
> > Builder can do that; from the raw SDK, you should check out the adt tool.
> >
> > Hope this helps,
> > Michael Portuesi
> >
> >
> > --- In flexcoders@yahoogroups.com, John McCormack  wrote:
> >   
> >> Thanks Michael,
> >>
> >> I will give this a try.
> >>
> >> Currently, within FB3 I can create an AIR project and it does these 
> >> things for me but the output is structured similarly to a Flex project 
> >> but my projects are ActionScript projects built within FB3 and so the 
> >> conversion isn't quite the same.
> >>
> >> Perhaps I should be looking to convert from AcitionScript to Flex as an 
> >> intermediate step: by minimizing the mxml and calling my main Document 
> >> Class from the main mxml class and then modify that for AIR.
> >>
> >> It's annoying because from within Flash Prof. I can publish as AIR, but 
> >> that's a conversion step backwards.
> >>
> >> John
> >>
> >>
> >> Michael wrote:
> >> 
> >>> John,
> >>>
> >>> You can convert your Flex project to an AIR application pretty easily.  
> >>> There's three basic steps involved:
> >>>
> >>> 1) Your application should be declared as inheriting from 
> >>> WindowedApplication, rather than Application in your main myapp.mxml file.
> >>>
> >>> http://www.adobe.com/2006/mxml"; 
> >>> xmlns="*">
> >>>
> >>> 
> >>>
> >>> 
> >>>
> >>> 2) Create an AIR app descriptor file. Here's an example.  Name it 
> >>> myapp-app.xml and place in the same folder as your main myapp.mxml file. 
> >>>
> >>> 
> >>> http://ns.adobe.com/air/application/1.5.1";>
> >>>   com.myapp.tester
> >>>   0.1
> >>>   tester
> >>>   FlexUnit Test Runner
> >>>   
> >>>   tester.swf
> >>>   true
> >>>   standard
> >>>   false
> >>>   1024
> >>>   768
> >>>   
> >>> 
> >>>
> >>> There is detailed documentation on the AIR app descriptor format on the 
> >>> Adobe site:
> >>>
> >>> http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7ff1.html
> >>>
> >>> 3) Use the AIR MXML compiler (amxmlc rather than mxmlc) in your build 
> >>> scripts.  If you're using Flex Builder, you can add an AIR Project 
> >>> Builder to your in the Project Properties > Builders pane.
> >>>
> >>> That should be enough to get you started.  Good luck.
> >>>
> >>> Michael Portuesi
> >>>
> >>>
> >>> --- In flexcoders@yahoogroups.com, John McCormack  wrote:
> >>>   
> >>>   
>  Is there any easy way to publish a Flex ActionScript Project as an AIR 
>  file.
>  This project, by its nature, has no mxml tags.
> 
>  John
> 
>  
>  
> >>>
> >>>
> >>> 
> >>>
> >>> --
> >>> Flexcoders Mailing List
> >>> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> >>> Alternative FAQ location: 
> >>> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> >>> Search Archives: 
> >>> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups 
> >>> Links
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>   
> >
> >
> >
> >
> > 
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Alternative FAQ location: 
> > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> > Search Archives: 
> > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
> >
> >
> >
> >
> >
> >

[flexcoders] Re: Adobe promises *full flash* on mobile devices (all except iPhone)

2009-10-05 Thread reflexactions
Personally, for me, the real "woo hoo!" on this release is the global error 
handling.

Its good to see that beating up adobe staff does work, ... eventually :)

Now if only they could do something about the memory and we might have a real 
RIA platform on our hands.

--- In flexcoders@yahoogroups.com, "reflexactions"  wrote:
>
> However getting your (non-game) app to run in the amount of memory typically 
> available on a mobile devices is something else again :)
> 
> --- In flexcoders@yahoogroups.com, Tom Chiverton  wrote:
> >
> > http://www.theregister.co.uk/2009/10/05/new_flash/
> > 
> > Woo hoo !
> > -- 
> > Helping to paradigmatically accelerate efficient distributed error-free 
> > ubiquitous users as part of the IT team of the year, '09 and '08
> > 
> > 
> > 
> > This email is sent for and on behalf of Halliwells LLP.
> > 
> > Halliwells LLP is a limited liability partnership registered in England and 
> > Wales under registered number OC307980 whose registered office address is 
> > at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A 
> > list of members is available for inspection at the registered office 
> > together with a list of those non members who are referred to as partners.  
> > We use the word “partner” to refer to a member of the LLP, or an 
> > employee or consultant with equivalent standing and qualifications. 
> > Regulated by the Solicitors Regulation Authority.
> > 
> > CONFIDENTIALITY
> > 
> > This email is intended only for the use of the addressee named above and 
> > may be confidential or legally privileged.  If you are not the addressee 
> > you must not read it and must not use any information contained in nor copy 
> > it nor inform any person other than Halliwells LLP or the addressee of its 
> > existence or contents.  If you have received this email in error please 
> > delete it and notify Halliwells LLP IT Department on 0870 365 2500.
> > 
> > For more information about Halliwells LLP visit www.halliwells.com.
> >
>




[flexcoders] Re: Adobe promises *full flash* on mobile devices (all except iPhone)

2009-10-05 Thread reflexactions
However getting your (non-game) app to run in the amount of memory typically 
available on a mobile devices is something else again :)

--- In flexcoders@yahoogroups.com, Tom Chiverton  wrote:
>
> http://www.theregister.co.uk/2009/10/05/new_flash/
> 
> Woo hoo !
> -- 
> Helping to paradigmatically accelerate efficient distributed error-free 
> ubiquitous users as part of the IT team of the year, '09 and '08
> 
> 
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered in England and 
> Wales under registered number OC307980 whose registered office address is at 
> Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
> of members is available for inspection at the registered office together with 
> a list of those non members who are referred to as partners.  We use the word 
> “partner” to refer to a member of the LLP, or an employee or consultant 
> with equivalent standing and qualifications. Regulated by the Solicitors 
> Regulation Authority.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named above and may 
> be confidential or legally privileged.  If you are not the addressee you must 
> not read it and must not use any information contained in nor copy it nor 
> inform any person other than Halliwells LLP or the addressee of its existence 
> or contents.  If you have received this email in error please delete it and 
> notify Halliwells LLP IT Department on 0870 365 2500.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
>




[flexcoders] Re: AIR + RSL Error #2035: URL Not Found

2009-10-01 Thread reflexactions
Thanks for the reply.

Well firstly we would need to redesign the app to even get the modules merged 
in, as AFAIK FB only merges things that are referenced, since we dont have any 
references to the modules from the application we would need to change the app 
to make dummy references. The application currently stands at over 1000 
classes, and changes daily.

Then, correct me if I am wrong but, if modules are merged into code rather than 
external it would make all the code resident in memory all the time whereas 
external modules can be loaded only when required and then unloaded when not 
needed. We have serious enough memory issues already with flex apps without 
having large amounts of unused code resident in memory.

Additionally there are build issue with FB when merged, before we switched to 
using external modules a few years back, build times would often exceed an hour 
even with 4GB/DualProcessors etc instead of around 1 minute with modules (max 
2-3 min if doing a full clean on all modules).

...and then we would ask ourselves why are we having to do this, is AIR not 
capable of supporting RSL's, which leads us back to the original question?



--- In flexcoders@yahoogroups.com, Tom Chiverton  wrote:
>
> On Monday 28 Sep 2009, reflexactions wrote:
> > We do a single build of the modules and run them in both the web and AIR
> > version.
> 
> *Right*, which is a good way to do it.
> But why not just bake the modules into the app, rather than load them at 
> runtime... ?
> 
> -- 
> Helping to proactively unleash innovative exceptional infomediaries as part 
> of 
> the IT team of the year, '09 and '08
> 
> 
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered in England and 
> Wales under registered number OC307980 whose registered office address is at 
> Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
> of members is available for inspection at the registered office together with 
> a list of those non members who are referred to as partners.  We use the word 
> ?partner? to refer to a member of the LLP, or an employee or consultant with 
> equivalent standing and qualifications. Regulated by the Solicitors 
> Regulation Authority.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named above and may 
> be confidential or legally privileged.  If you are not the addressee you must 
> not read it and must not use any information contained in nor copy it nor 
> inform any person other than Halliwells LLP or the addressee of its existence 
> or contents.  If you have received this email in error please delete it and 
> notify Halliwells LLP IT Department on 0870 365 2500.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
>




[flexcoders] Re: Converting RGB to Hex color

2009-09-30 Thread reflexactions
Well GlowFilter.color looks like it is just a standard 24Bit uint color value, 
the same as most other color properties so don't see anything out of the 
ordinary there.

If you set the style in a CSS file to a hex string #RRGGBB which is pretty 
standard and the style is declared as a color type I don't see there should be 
any problem or any conversion required.

[Style(name="textGlowColor", type="uint", format="Color", inherit="yes")]




--- In flexcoders@yahoogroups.com, Greg Hess  wrote:
>
> The issue I am having is that I added a GlowFilter to a label and I need to
> allow it to be styled in CSS.
> 
> So in my code read in my style like:
> 
> var glowRGB:uint = getStyle( "textGlowColor" );
> glowFilter.color = glowRGB;
> 
> But this fails because glowFilter.color wants a HEX color. I just seemed
> strange that I did not have a utility function to do the conversion for me
> and it seemed like basic functionality.
> 
> I am not big on bit wise operations and shifting and when I see those
> examples it scares me as I am not used to doing it.
> 
> So, if the best thing for me to do is just "write that shifing code" I will
> :-). But if there is a handy converstion function in the SDK, please show
> me.
> 
> Thanks,
> 
> Greg
> 
> 
> On Wed, Sep 30, 2009 at 1:22 AM, reflexactions wrote:
> 
> >
> >
> > Well depends on what you call 'RGB Format'.
> >
> > If you mean you have 3 seperate string values between 0-255, then no it
> > doesn't do that, but that is a really trivial one line function to write
> > (convert to int and shift and add) and I don't find it strange at all that
> > flex doesn't have that built in as I think it would be more normal to hold
> > such values externally as hex strings rather than RGB strings.
> >
> > On the other hand if you mean you have a 24Bit number then that doesnt need
> > any real conversion does it.
> >
> > FYI normally you declare color variables as uint in flex, you can also use
> > Number but don't use int, as althougth it can theoretically hold a 24Bit
> > value flex gets upset with the signed bit.
> >
> >
> > --- In flexcoders@yahoogroups.com ,
> > "turbo_vb"  wrote:
> > >
> > > Yeah, that's the one I was thinking of; not RGB to hex though. I claim
> > temporary brain death. :)
> > >
> > > -TH
> >
> > >
> > > --- In flexcoders@yahoogroups.com ,
> > "reflexactions"  wrote:
> > > >
> > > >
> > > > StyleManager.getColorName(...)
> > > >
> > > > Does what you ask for below.
> > > >
> > > > --- In flexcoders@yahoogroups.com ,
> > "turbo_vb"  wrote:
> > > > >
> > > > > Never mind, I'm just way off-base on this one.
> > > > >
> > > > > -TH
> > > > >
> > > > > --- In flexcoders@yahoogroups.com ,
> > "turbo_vb"  wrote:
> > > > > >
> > > > > > Isn't there a utility that converts CSS strings like "#ff" to
> > 0xff? Or "white" to 0xf?
> > > > > >
> > > > > > -TH
> > > > > >
> > > > > > --- In flexcoders@yahoogroups.com ,
> > Alex Harui  wrote:
> > > > > > >
> > > > > > >
> > > > > > > I have to admit I'm confused by the question. What is the type of
> > the variable holding the RGB value? If it is a uint, the toString(16) should
> > be the hex representation.
> > > > > > >
> > > > > > >
> > > > > > > Alex Harui
> > > > > > > Flex SDK Developer
> > > > > > > Adobe Systems Inc.<http://www.adobe.com/>
> > > > > > > Blog: http://blogs.adobe.com/aharui
> > > > > > >
> > > > > > > From: flexcoders@yahoogroups.com 
> > > > > > > [mailto:
> > flexcoders@yahoogroups.com ] On Behalf Of
> > Chet Haase
> > > > > > > Sent: Tuesday, September 29, 2009 4:35 PM
> > > > > > > To: flexcoders@yahoogroups.com 
> > > > > > > Subject: RE: [flexcoders] Re: Converting RGB to Hex color
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Nope: HSBColor is a utility class for dealing with colors
> > repre

[flexcoders] Re: Converting RGB to Hex color

2009-09-29 Thread reflexactions
Well depends on what you call 'RGB Format'.

If you mean you have 3 seperate string values between 0-255, then no it doesn't 
do that, but that is a really trivial one line function to write (convert to 
int and shift and add) and I don't find it strange at all that flex doesn't 
have that built in as I think it would be more normal to hold such values 
externally as hex strings rather than RGB strings.

On the other hand if you mean you have a 24Bit number then that doesnt need any 
real conversion does it.

FYI normally you declare color variables as uint in flex, you can also use 
Number but don't use int, as althougth it can theoretically hold a 24Bit value 
flex gets upset with the signed bit.

--- In flexcoders@yahoogroups.com, "turbo_vb"  wrote:
>
> Yeah, that's the one I was thinking of; not RGB to hex though.  I claim 
> temporary brain death. :)
> 
> -TH
> 
> --- In flexcoders@yahoogroups.com, "reflexactions"  wrote:
> >
> > 
> > StyleManager.getColorName(...)
> > 
> > Does what you ask for below.
> > 
> > --- In flexcoders@yahoogroups.com, "turbo_vb"  wrote:
> > >
> > > Never mind, I'm just way off-base on this one.
> > > 
> > > -TH
> > > 
> > > --- In flexcoders@yahoogroups.com, "turbo_vb"  wrote:
> > > >
> > > > Isn't there a utility that converts CSS strings like "#ff" to 
> > > > 0xff?  Or "white" to 0xf?
> > > > 
> > > > -TH
> > > > 
> > > > --- In flexcoders@yahoogroups.com, Alex Harui  wrote:
> > > > >
> > > > > 
> > > > > I have to admit I'm confused by the question.  What is the type of 
> > > > > the variable holding the RGB value?  If it is a uint, the 
> > > > > toString(16) should be the hex representation.
> > > > > 
> > > > > 
> > > > > Alex Harui
> > > > > Flex SDK Developer
> > > > > Adobe Systems Inc.<http://www.adobe.com/>
> > > > > Blog: http://blogs.adobe.com/aharui
> > > > > 
> > > > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] 
> > > > > On Behalf Of Chet Haase
> > > > > Sent: Tuesday, September 29, 2009 4:35 PM
> > > > > To: flexcoders@yahoogroups.com
> > > > > Subject: RE: [flexcoders] Re: Converting RGB to Hex color
> > > > > 
> > > > > 
> > > > > 
> > > > > Nope: HSBColor is a utility class for dealing with colors represented 
> > > > > in the HSB (Hue, Saturation, and Balance) color space. It will help 
> > > > > you convert between RGB and HSB colors, but will not help you with 
> > > > > RGB to hex string conversions.
> > > > > 
> > > > > Chet.
> > > > > 
> > > > > 
> > > > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] 
> > > > > On Behalf Of turbo_vb
> > > > > Sent: Tuesday, September 29, 2009 1:35 PM
> > > > > To: flexcoders@yahoogroups.com
> > > > > Subject: [flexcoders] Re: Converting RGB to Hex color
> > > > > 
> > > > > 
> > > > > 
> > > > > There's a utility in the sdk to convert rgb string to uint. For Flex4 
> > > > > it's mx.utils.HSBColor.
> > > > > 
> > > > > -TH
> > > > > 
> > > > > --- In 
> > > > > flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, Greg 
> > > > > Hess  wrote:
> > > > > >
> > > > > > Hi All,
> > > > > >
> > > > > > I am trying to externalize our effect styles to css. However, when I
> > > > > > read in the color values getStyle() they come in RGB format and
> > > > > > GlowFilter needs Hex. I have found lots of posts of people writing
> > > > > > rgbToHex conversion function but I find it strange that this is not
> > > > > > available in the Flex SDK.
> > > > > >
> > > > > > What is the best way to do such conversions.
> > > > > >
> > > > > > Any help much appreciated,
> > > > > >
> > > > > > Greg
> > > > > >
> > > > >
> > > >
> > >
> >
>




[flexcoders] Re: Converting RGB to Hex color

2009-09-29 Thread reflexactions

StyleManager.getColorName(...)

Does what you ask for below.

--- In flexcoders@yahoogroups.com, "turbo_vb"  wrote:
>
> Never mind, I'm just way off-base on this one.
> 
> -TH
> 
> --- In flexcoders@yahoogroups.com, "turbo_vb"  wrote:
> >
> > Isn't there a utility that converts CSS strings like "#ff" to 0xff? 
> >  Or "white" to 0xf?
> > 
> > -TH
> > 
> > --- In flexcoders@yahoogroups.com, Alex Harui  wrote:
> > >
> > > 
> > > I have to admit I'm confused by the question.  What is the type of the 
> > > variable holding the RGB value?  If it is a uint, the toString(16) should 
> > > be the hex representation.
> > > 
> > > 
> > > Alex Harui
> > > Flex SDK Developer
> > > Adobe Systems Inc.
> > > Blog: http://blogs.adobe.com/aharui
> > > 
> > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> > > Behalf Of Chet Haase
> > > Sent: Tuesday, September 29, 2009 4:35 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: RE: [flexcoders] Re: Converting RGB to Hex color
> > > 
> > > 
> > > 
> > > Nope: HSBColor is a utility class for dealing with colors represented in 
> > > the HSB (Hue, Saturation, and Balance) color space. It will help you 
> > > convert between RGB and HSB colors, but will not help you with RGB to hex 
> > > string conversions.
> > > 
> > > Chet.
> > > 
> > > 
> > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> > > Behalf Of turbo_vb
> > > Sent: Tuesday, September 29, 2009 1:35 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Re: Converting RGB to Hex color
> > > 
> > > 
> > > 
> > > There's a utility in the sdk to convert rgb string to uint. For Flex4 
> > > it's mx.utils.HSBColor.
> > > 
> > > -TH
> > > 
> > > --- In flexcoders@yahoogroups.com, 
> > > Greg Hess  wrote:
> > > >
> > > > Hi All,
> > > >
> > > > I am trying to externalize our effect styles to css. However, when I
> > > > read in the color values getStyle() they come in RGB format and
> > > > GlowFilter needs Hex. I have found lots of posts of people writing
> > > > rgbToHex conversion function but I find it strange that this is not
> > > > available in the Flex SDK.
> > > >
> > > > What is the best way to do such conversions.
> > > >
> > > > Any help much appreciated,
> > > >
> > > > Greg
> > > >
> > >
> >
>




[flexcoders] Re: How do I determing If I'm running an Air app vs. Flex app?

2009-09-29 Thread reflexactions
--- In flexcoders@yahoogroups.com, "luvfotography"  wrote:
>
> Hi, 
> What's the simplest way to test (in actionscript) if
> I'm running Air vs. Flex?
> thanks,
>
isAir = (Capabilities.playerType == "Desktop");



[flexcoders] Re: AIR + RSL Error #2035: URL Not Found

2009-09-28 Thread reflexactions
Becuase the 'real' AIR app is actually a port of an existing production web 
based app that has been built as RSL's and about 200 Modules by our team over 
several years.

The modules all have the adobe framework marked as an RSL and our own framework 
as external. 

We do a single build of the modules and run them in both the web and AIR 
version.

The actual app doesnt really do anything but load the RSL's and modules as 
needed, it has no references to anything.

This 'test' app was to be for testing certain specific configurations or 
specifc modules but currently fails to even load all of the Adobe libs.



--- In flexcoders@yahoogroups.com, Tom Chiverton  wrote:
>
> On Wednesday 23 Sep 2009, reflexactions wrote:
> > I created a new AIR project "Test".
> 
> Why are you using RSL for an AIR project anyway ?
> 
> -- 
> Helping to biannually aggregate architectures as part of the IT team of the 
> year, '09 and '08
> 
> 
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered in England and 
> Wales under registered number OC307980 whose registered office address is at 
> Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
> of members is available for inspection at the registered office together with 
> a list of those non members who are referred to as partners.  We use the word 
> ?partner? to refer to a member of the LLP, or an employee or consultant with 
> equivalent standing and qualifications. Regulated by the Solicitors 
> Regulation Authority.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named above and may 
> be confidential or legally privileged.  If you are not the addressee you must 
> not read it and must not use any information contained in nor copy it nor 
> inform any person other than Halliwells LLP or the addressee of its existence 
> or contents.  If you have received this email in error please delete it and 
> notify Halliwells LLP IT Department on 0870 365 2500.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
>




[flexcoders] Re: How to stop a button click from changing focus

2009-09-24 Thread reflexactions
I have that set already and it seems to have no impact on this.

I think thats becuase the SystemManager is capturing the MouseDown at 
SystemManager level so it sees the mouse down event which is not really 
effected by mouseFocusEnabled setting on the button. 

Once it sees the mouse down it runs the activate/deactivate code regardless of 
any focus enabled prop.

--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> mouseFocusEnabled=false
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.<http://www.adobe.com/>
> Blog: http://blogs.adobe.com/aharui
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of reflexactions
> Sent: Thursday, September 24, 2009 8:47 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: How to stop a button click from changing focus
> 
> 
> 
> Yes I want to be able to click in the main form because that is where the 
> button is, this is why using modal or disabling the main app won't work.
> 
> If it is easier to understand think of a toolbar that lives in the main form 
> with several non-modal popup windows. Clicking the toolbar will do something 
> to the active popup.
> 
> So when you click a button in the toolbar I dont want it to remove focus from 
> the active popup, becuase otherwise by the time the button's click fires 
> focus has been moved to the main app.
> 
> So far a hack that works is to have my own mouseDown handler that runs ahead 
> of the SystemManager and stops the event propagating if the target is my 
> button but I am not currently sure of the consequences of this.
> 
> --- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, Tom 
> McNeer  wrote:
> >
> > First question would be: do you *want* them to be able to click in the main
> > form?
> >
> > If not, you could simply set the "modal" property of the popup to "true"
> > when you create it.
> >
> >
> >
> >
> > --
> > Thanks,
> >
> > Tom
> >
> > Tom McNeer
> > MediumCool
> > http://www.mediumcool.com
> > 1735 Johnson Road NE
> > Atlanta, GA 30306
> > 404.589.0560
> >
>




[flexcoders] Re: How to stop a button click from changing focus

2009-09-24 Thread reflexactions
Yes I want to be able to click in the main form because that is where the 
button is, this is why using modal or disabling the main app won't work.

If it is easier to understand think of a toolbar that lives in the main form 
with several non-modal popup windows. Clicking the toolbar will do something to 
the active popup.

So when you click a button in the toolbar I dont want it to remove focus from 
the active popup, becuase otherwise by the time the button's click fires focus 
has been moved to the main app.

So far a hack that works is to have my own mouseDown handler that runs ahead of 
the SystemManager and stops the event propagating if the target is my button 
but I am not currently sure of the consequences of this.


--- In flexcoders@yahoogroups.com, Tom McNeer  wrote:
>
> First question would be: do you *want* them to be able to click in the main
> form?
> 
> If not, you could simply set the "modal" property of the popup to "true"
> when you create it.
> 
> 
> 
> 
> -- 
> Thanks,
> 
> Tom
> 
> Tom McNeer
> MediumCool
> http://www.mediumcool.com
> 1735 Johnson Road NE
> Atlanta, GA 30306
> 404.589.0560
>




[flexcoders] How to stop a button click from changing focus

2009-09-24 Thread reflexactions
If I have a popup window which has focus and I then click a button that is in 
the application main form the SystemManager's mouseDown handler automatically 
activates the main app and deactivates the popup.

How can I stop that from happening.



[flexcoders] Re: Detecing AIR Network Timeout - Best Practices

2009-09-23 Thread reflexactions
We use an error handler on the Operation and then resend up to 3 times before 
raising a hard fail. 

--- In flexcoders@yahoogroups.com, "Battershall, Jeff"  
wrote:
>
> Thanks Alban,
> 
> That would work from a 'brute force' type of approach, but doesn't address 
> the scenario of the user interacting with an app but not making network 
> calls, and then encountering an exception when they attempt a network call 
> and the network has timed out.
> 
> You could conceivably keep the network connection alive by periodic calls to 
> the back end, but then you're using resources without need. I'd prefer to 
> close the app when the network times out. Just a question of what event to 
> listen to.  
> 
> Jeff
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of b_productiv2000
> Sent: Wednesday, September 23, 2009 3:50 AM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Detecing AIR Network Timeout - Best Practices
> 
> You've got an example in "Tour de Flex" named "detecting user 
> presence", it is place in the menu AIR capabilities > coding 
> technique.
> 
> I don't know if it will serve you but when i read your message i 
> remember this demo.
> 
> Alban
> 
> Battershall, Jeff a écrit :
> > 
> > 
> > In the AIR app I'm building, if the user leaves the app running for 
> > without interaction, the network times out and the user gets 
> > ChannelCall.Failed error when they next attempt to interact with the 
> > application.
> > 
> >  
> > 
> > What's the best way to listen for a timeout? On the ChannelSet? Or to 
> > keep the network connection alive by periodic requests?
> > 
> >  
> > 
> > Jeff Battershall
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location: 
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
>




[flexcoders] AIR + RSL Error #2035: URL Not Found

2009-09-22 Thread reflexactions
I created a new AIR project "Test".

The go to project properties and change all the linkages on the libs to RSL.

The app compiles fine.

However when you run it the .swz's load but the first .swf it hits will throw 
an error:

Error #2035: URL Not Found. URL: app:/Test.swf/airframework.swf

It will fail on all and any .swf.

The actual swf concerned is correctly copied into bin-debug, so it is there, 
the issue seems to be as shown in the error messages it looks for a url of 
app:/Test.swf/airframework.swf when it should be app:/airframework.swf.

Anyone come across this, or know of a fix?

TKS



[flexcoders] Re: Event.ADDED_TO_STAGE triggering twice twice inside my uiComponent

2009-09-21 Thread reflexactions
Usually caused when the parent container turns on the content pane because of 
scrollbars, causing everything below to get removed and added again.

--- In flexcoders@yahoogroups.com, "djhatrick"  wrote:
>
> I made a module, create a flash component added it to my uiComponent, and the 
> result is that objects inside my flash component, movieclip and sprites get 
> the ADDED_TO_STAGE method fired twice.
> 
> Anyone else notice this?
> 
> Thanks,
> Patrick
>




[flexcoders] Re: Still struggling with creation complete

2009-09-18 Thread reflexactions
Out of the box when using deferred instantiation the ViewStack was designed to 
only support animations on a child container 'hide' not 'show'.

If you only slide 'out' it should work fine, if you want to slide 'in' or both 
'in' and 'out' you need to roll you own version of ViewStack and build in the 
support.

This is something we have done, though I can't really help with the code 
because of copyright.

You need to override selectedIndex, commitSelectedIndex, and commitProperties 
as well as add a function to init the selected child container.

Its not really difficult, you should take a look at the adobe code in the 
ViewStack and basically emulate that.


--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> I still believe that all children of a viewstack are created no matter the 
> creationpolicy.  CreationPolicy affects the grandchildren.  CreationComplete 
> on the child is long gone.  Try listening to SHOW as well, and call 
> validateNow on the entire viewstack, not just the child.  Children get their 
> size from the parent.
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.
> Blog: http://blogs.adobe.com/aharui
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of dfalling
> Sent: Friday, September 18, 2009 12:09 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Still struggling with creation complete
> 
> 
> 
> I have a viewstack that animates its children by sliding them in and out. It 
> works fine when the creationPolicy is set to all, but when it's set to auto, 
> uncreated views slide in blank, then render themselves.
> 
> I thought that I could fix this by checking to see if a view has been created 
> yet (the only way I could figure out how to do this is 
> mx_internal::numChildrenCreated), and then trigger its creation with 
> createComponentFromDescriptor. For some reason this isn't working though- my 
> creationComplete function is never called...what am I doing wrong?
> 
> override public function set selectedIndex(value:int):void
> {
> _lastIndex = selectedIndex;
> 
> if(value != _lastIndex && value >= 0 && _lastIndex >= 0)
> {
> _newIndex = value;
> var targetChild:Container = getChildAt(value) as Container;
> if (targetChild.mx_internal::numChildrenCreated < 0)
> {
> targetChild.addEventListener(FlexEvent.CREATION_COMPLETE,child_creation,false,0,true);
> createComponentFromDescriptor(targetChild.descriptor,true);
> targetChild.validateNow();
> return;
> }
> else
> {
> slideTabs(_lastIndex,_newIndex);
> }
> }
> }
> 
> private function child_creation(event:Event):void
> {
> slideTabs(_lastIndex,_newIndex);
> }
>




[flexcoders] Re: How to add files when exporting air application

2009-09-16 Thread reflexactions
Thanks!!!

This really helped.

Actually I found that even with copy non-embedded files checked FB wouldn't 
copy content from linked folders only direct 'physical' folders under 'src' so 
I had to use your 'hit the back button' trick in the export screen, as you say 
a PITA but works!

--- In flexcoders@yahoogroups.com, "Jim Hayes"  wrote:
>
>  
> In flexbuilder, to get those files into your .air package, try the
> following :
>  
> Either
>  
>  tick "copy non embedded files to output folder" in
> project|properties|flex compiler", and with a bit of luck when you
> publish your .air from FB they will appear in the "Air file contents"
> screen included files list for you to check or uncheck as necessary.
> Personally I find this way to be not quite fitting with my sloppy ways,
> and sometimes seemed a little unreliable.
>  
> The other option is to get to that screen (keep hitting Next button),
> whereby the "bin-release" folder will be created, then copy your extra
> files into that. Hit "back" button in the export screen, then "next" to
> get back to where you were, only this time you should see and be able to
> include your files.
>  
> Both of these get old fairly quickly if you need to do it a lot, I found
> that an ant script saved me a ton of time and aggro for compiling and
> packaging air projects.
>  
>  
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of reflexactions
> Sent: 16 September 2009 13:11
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] How to add files when exporting air application
>  
>   
> If I want to add swf modules or a compiled css file that are all extern
> (ie there is no explicit reference to them in the actual application
> code) and will be loaded at run time to an AIR package how do I do it?
> 
> Just to clarify, I can run the app just fine at the moment so long as I
> manually copy the swfs to the app install folder after installation, so
> this isnt a question of how to make the app run with run time loaded
> modules, its about how to get them into the .air file so they get
> installed initially.
> 
> Thanks
> 
> 
> __
> This communication is from Primal Pictures Ltd., a company registered in 
> England and Wales with registration No. 02622298 and registered office: 4th 
> Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. 
> VAT registration No. 648874577.
> 
> This e-mail is confidential and may be privileged. It may be read, copied and 
> used only by the intended recipient. If you have received it in error, please 
> contact the sender immediately by return e-mail or by telephoning +44(0)20 
> 7637 1010. Please then delete the e-mail and do not disclose its contents to 
> any person.
> This email has been scanned for Primal Pictures by the MessageLabs Email 
> Security System.
> __
>




[flexcoders] Re: How to add files when exporting air application

2009-09-16 Thread reflexactions
Thanks,
However I understood that for security reasons AIR apps are prevented from 
writing to the application installation directory?


--- In flexcoders@yahoogroups.com, "Jake Churchill"  wrote:
>
> Include them in the root of your package and when your app runs, check for
> them in the install directory.  If they are not there, move them there.
> Here's some code that I use to do this with an included DB file in an AIR
> app:
> 
>  
> 
> try
> 
> {
> 
> var
> dbSeed:File =
> File.applicationDirectory.resolvePath(ModelLocator.DATABASE_FILE_NAME);
> 
>  
> var dbPerm:File = new
> File(ModelLocator.DATABASE_PATH+File.separator+ModelLocator.DATABASE_FILE_NA
> ME);
> 
>  
> 
> 
>  
> if( !dbPerm.exists )
> 
>  
> {
> 
>  
> trace("dbPerm File did NOT exist");
> 
>  
> dbSeed.copyTo(dbPerm);
> 
>  
> }
> 
>  
> else
> 
>  
> {
> 
>  
> trace("dbPerm File DID exist");
> 
>  
> // this overwrites the file no matter whether it exists or not
> 
>  
> //dbPerm.deleteFile();
> 
>  
> //dbSeed.copyTo(dbPerm);
> 
>  
> }
> 
> }
> 
> catch( err:Error )
> 
> {
> 
> trace(
> "[FileCopyError]:  " + err.message );
> 
> }
> 
> 
> 
>  
> 
> Jake Churchill
> 
> CF Webtools
> 
> 11204 Davenport, Ste. 100
> 
> Omaha, NE  68154
> 
> http://www.cfwebtools.com
> 
> 402-408-3733 x103
> 
>  
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of reflexactions
> Sent: Wednesday, September 16, 2009 7:11 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] How to add files when exporting air application
> 
>  
> 
>   
> 
> If I want to add swf modules or a compiled css file that are all extern (ie
> there is no explicit reference to them in the actual application code) and
> will be loaded at run time to an AIR package how do I do it?
> 
> Just to clarify, I can run the app just fine at the moment so long as I
> manually copy the swfs to the app install folder after installation, so this
> isnt a question of how to make the app run with run time loaded modules, its
> about how to get them into the .air file so they get installed initially.
> 
> Thanks
>




[flexcoders] How to add files when exporting air application

2009-09-16 Thread reflexactions
If I want to add swf modules or a compiled css file that are all extern (ie 
there is no explicit reference to them in the actual application code) and will 
be loaded at run time to an AIR package how do I do it?

Just to clarify, I can run the app just fine at the moment so long as I 
manually copy the swfs to the app install folder after installation, so this 
isnt a question of how to make the app run with run time loaded modules, its 
about how to get them into the .air file so they get installed initially.

Thanks



[flexcoders] Re: AIR and Framework RSL's

2009-09-15 Thread reflexactions
Thanks, the question was really more related to the 'packaging' for 
distribution/updating than directly load/run execution.

The app doesnt really have a main and sub apps as much as several peers based 
on common libs.
 
I couldnt see a way to not include common modules in the .air distribution and 
still have everything in sync and work.

Beginning to think the only way is to bypass the AIR updater and write my own.
--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> AIR apps in the same folder should be able to share the RSLs.  Like modules, 
> if there is a main app and many sub-apps, the sub-apps should not use RSL 
> linkage, but rather, just load-extern the RSL because the main app will bring 
> in the classes.
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.<http://www.adobe.com/>
> Blog: http://blogs.adobe.com/aharui
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of reflexactions
> Sent: Tuesday, September 15, 2009 7:43 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] AIR and Framework RSL's
> 
> 
> 
> Is there anyway to NOT have to include the Adobe signed framework RSLs with 
> every AIR package if we are using RSL's?
> 
> and also for that matter 'share' common modules?
> 
> We have a several apps where the actual AIR app is really very very thin, 
> they just share common code in RSL's (actually the same RSLs we use for the 
> web versions).
> 
> Whereas the web versions only need to download the RSL's once (and with the 
> Adobe framewok maybe not even once if they already have the RSL), the AIR 
> version has to include all the common modules and the adobe framework in each 
> AIR app.
> 
> Although you can say well its only a one time download,
> 1) It still makes for an awful big download
> 2) We update the apps on a 3 week cycle so its an awful lot and quite often.
>




[flexcoders] AIR and Framework RSL's

2009-09-15 Thread reflexactions
Is there anyway to NOT have to include the Adobe signed framework RSLs with 
every AIR package if we are using RSL's?

and also for that matter 'share' common modules?

We have a several apps where the actual AIR app is really very very thin, they 
just share common code in RSL's (actually the same RSLs we use for the web 
versions). 

Whereas the web versions only need to download the RSL's once (and with the 
Adobe framewok maybe not even once if they already have the RSL), the AIR 
version has to include all the common modules and the adobe framework in each 
AIR app.

Although you can say well its only a one time download, 
1) It still makes for an awful big download
2) We update the apps on a 3 week cycle so its an awful lot and quite often.



[flexcoders] Re: Logging API

2009-09-15 Thread reflexactions
Oh Really ??

I thought that was just for adding an ILoggingTarget not an ILogger.

I am very sceptical of how that could work but I will give it a try.



--- In flexcoders@yahoogroups.com, Sönke Rohde  wrote:
>
> You can add your own logger with Log.addTarget(yourLoggerInstance) or  
> simply define it in MXML like here: 
> http://soenkerohde.com/2008/08/sos-logging-target/
> 
> 
> On 15.09.2009, at 10:44, reflexactions wrote:
> 
> > Am I missing something or as much as I can write a class that  
> > implements ILogger there is no way to actually use it?
> >
> > I can't see anyway to specify the ILogger to be used and Log just  
> > uses LogLogger by default, as per usual all the variables are  
> > private in Log so can't be accessed, the class is static so cant be  
> > overriden, so the only option seems to be to clone the Log class and  
> > then just not use Log anywhere in our apps??
> >
> > Also once logging a category there is no way to stop short of  
> > calling flush and dumping everything?
> >
> >
> >
>




[flexcoders] Logging API

2009-09-15 Thread reflexactions
Am I missing something or as much as I can write a class that implements 
ILogger there is no way to actually use it?

I can't see anyway to specify the ILogger to be used and Log just uses 
LogLogger by default, as per usual all the variables are private in Log so 
can't be accessed, the class is static so cant be overriden, so the only option 
seems to be to clone the Log class and then just not use Log anywhere in our 
apps??

Also once logging a category there is no way to stop short of calling flush and 
dumping everything?



[flexcoders] Re: MouseLeave won't fire if mouse is down when leaving the stage in IE8

2009-09-14 Thread reflexactions
Tried but no difference...
--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> Try 3.4
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.<http://www.adobe.com/>
> Blog: http://blogs.adobe.com/aharui
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of reflexactions
> Sent: Monday, September 14, 2009 4:58 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] MouseLeave won't fire if mouse is down when leaving the 
> stage in IE8
> 
> 
> 
> Under IE8/FP10/Vista/FB3.2 MouseLeave fires immediately when the mouse leaves 
> the stage when the mouse is "up" but it nevers fires at all if the mouse is 
> "down", even if subsequently released while off stage it won't fire.
> 
> What I have found is about 50% of the time when the mouse leaves the stage 
> mouse "move" events will continue to fire, in that situation a mouse "up" 
> will also fire when the button is eventually released.
> 
> The other 50% of the time the mouse "move" events stop the moment you leave 
> the stage and in that situation there will be no mouse "up" or mouse "leave". 
> (this is then a real problem as you can release the mouse and move back on 
> stage and it is still dragging)
> 
> I just can't get anything to reliably work under IE8/FP10 to stop dragging 
> after the mouse leave the stage.
> 
> Anyone have a combination they KNOW works?
>




[flexcoders] Re: Regex: match a specific word.

2009-09-14 Thread reflexactions
Use \b to mark word boundaries.
\bBig2\b


--- In flexcoders@yahoogroups.com, "flexaustin"  wrote:
>
> I don't want to match just a word though.
> 
> So in my app I have two standard objects that the user can use, which are 
> named "Big" and "Small".  
> 
> The user can open "Big" make some changes to it then if they want to save 
> those changes I don't want them saving it as "Big" or "Small", but they can 
> save it as "Big2" or "new_Small". 
> 
> So if the user types in "Big" and tries to save it I want to catch this in 
> validation and then use the regexvalidator to color the textinput border red.
> 
> So if I just do a /Big/ or /Small/ then the user can't save it as "Big2" 
> because the regex will see the "Big" part in "Big2" and warn them "you can't 
> save it with this name". But "Big2" is valid not as it isn't just plain "Big"
> 
> TIA,J
>




[flexcoders] MouseLeave won't fire if mouse is down when leaving the stage in IE8

2009-09-14 Thread reflexactions
Under IE8/FP10/Vista/FB3.2 MouseLeave fires immediately when the mouse leaves 
the stage when the mouse is "up" but it nevers fires at all if the mouse is 
"down", even if subsequently released while off stage it won't fire.

What I have found is about 50% of the time when the mouse leaves the stage 
mouse "move" events will continue to fire, in that situation a mouse "up" will 
also fire when the button is eventually released. 

The other 50% of the time the mouse "move" events stop the moment you leave the 
stage and in that situation there will be no mouse "up" or mouse "leave". (this 
is then a real problem as you can release the mouse and move back on stage and 
it is still dragging) 

I just can't get anything to reliably work under IE8/FP10 to stop dragging 
after the mouse leave the stage.

Anyone have a combination they KNOW works?



[flexcoders] Re: Calling invalidateProperties during validateProperties

2009-05-27 Thread reflexactions
Well an example would be where there say half a dozen related properties that 
get set, these individualy call invalidateProperties and will then be 
collectively processed in commitPorperties on the next frame.

In that processing events are raised to notify changes, however the handlers 
for those events could lead to other properties being set that in turn will 
call invalidateProperties which of course fails.

The thing is I have no idea when that situation will happen as its ooutside my 
component and in any particular call to invalidateProperties there is nothing I 
can check to say 'oh I am already in commitProperties so I need to use 
callLater or smtg'.

At the moment I have tried to fix it by overriding validateProperties and 
setting a flag called "inCommitProperties" and then overriding 
invalidateProperties and if the flag is set I then either use a callLater or 
set another flag "needToCommitAgain" which I then check at the end of 
validateProperties and if set I run commitProperties again.

But its a bit of a hack and I wondered what others are doing 
 

--- In flexcoders@yahoogroups.com, Manish Jethani  wrote:
>
> I think normally if changing property1 also calls for a change in
> property2, that change should happen in the setter for property1. Then
> both properties get "committed" in commitProperties()
> 
> If your situation is special and you can't follow that pattern, you
> can try a callLater() on invalidateProperties()
> 
> 
> On 5/27/09, reflexactions  wrote:
> > It seems that if during the validateProperties call,l I change some random
> > properties and one of them calls invalidateProperties() in order to complete
> > processing during the next commmitProperties() phase, the commitProperties
> > never runs.
> > This is because at the end of processing the initial validateProperties the
> > invalidation flag is cleared so blocking the next commitProperties from
> > running.
> >
> > Is that right and how to work around it for general properties.
> >
> >
> > tks
> >
> >
> >
> >
> > 
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Alternative FAQ location:
> > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
> >
> >
> >
> >
> 
> -- 
> Sent from my mobile device
>




[flexcoders] Calling invalidateProperties during validateProperties

2009-05-27 Thread reflexactions
It seems that if during the validateProperties call,l I change some random 
properties and one of them calls invalidateProperties() in order to complete 
processing during the next commmitProperties() phase, the commitProperties 
never runs. 
This is because at the end of processing the initial validateProperties the 
invalidation flag is cleared so blocking the next commitProperties from running.

Is that right and how to work around it for general properties.


tks
 



[flexcoders] Re: Problem converting Flex app to AIR

2009-05-22 Thread reflexactions
Never mind, I figured it out.  

I was just being dumb and blind...

--- In flexcoders@yahoogroups.com, "reflexactions"  wrote:
>
> Ok the original web based application uses a lot of RSL/modules launched from 
> a central 'desktop'.
> 
> We converted this to AIR and can launch the application and display the 
> 'desktop'.
> 
> Our problem is when we try to pop up a window. These are TitleWindow's that 
> originally were loaded via PopupManager.
> 
> We now instead create a NativeWindow and then use 
> NativeWindow.stage.addChild() to add our TitleWindow.
> 
> Problem is that although the NativeWindow appears (can see it and also see it 
> in teh TaskBar) it is empty, just a white background.
> 
> Actually checking the TitleWindow we found the constructor runs but 
> initialize  etc. never gets called.
> 
> Assume it something simple weve missed but don't know what any ideas.
> 
> tks
>




[flexcoders] Problem converting Flex app to AIR

2009-05-22 Thread reflexactions
Ok the original web based application uses a lot of RSL/modules launched from a 
central 'desktop'.

We converted this to AIR and can launch the application and display the 
'desktop'.

Our problem is when we try to pop up a window. These are TitleWindow's that 
originally were loaded via PopupManager.

We now instead create a NativeWindow and then use NativeWindow.stage.addChild() 
to add our TitleWindow.

Problem is that although the NativeWindow appears (can see it and also see it 
in teh TaskBar) it is empty, just a white background.

Actually checking the TitleWindow we found the constructor runs but initialize  
etc. never gets called.

Assume it something simple weve missed but don't know what any ideas.

tks



[flexcoders] RichTextEdit font problems

2009-05-21 Thread reflexactions
I am having a problem, not sure whether its a bug or me.

First I embed Arial in my application and then set Arial as my global default 
font.

Then if I use the RTE and select any other font in the font combo than Arial 
the html text 'vanishes'.

Everything else in the app renders fine, for sure the font does render, in the 
RTE if I use Arial its also fine, but if I choose any other font like sans, 
courier, verdana etc. the html text doesnt render.

Now I then tried changing the font in the RTE by using setStyle("fontFamily", 
"Courier") before I use the control, the aim of this was to just make sure the 
control wouldn't have any reason to know about the embeded font. Well once I 
did that then I could change to any font and it renders correctly, I can even 
use the font combo and use Arial and it also renders. 

Anyone seen similar issue or am I doing somethig wrong?
tks



[flexcoders] Implementig IRepeater

2009-05-21 Thread reflexactions
I have created a component that extends UIComponent and implements IRepeater.

Although the component compiles, and the codes looks fine, when I use it in 
mxml it objects to the child mxml tags placed inside my custom repeater tag.

Does anyone know how to make this work?

Tks



[flexcoders] Re: AIR Application shows running in FB but cant see anything

2009-05-18 Thread reflexactions
Fixed that and now can see th app but now its clear the CSS never loaded or at 
least the styles cant be used by the application modules
oh well 

--- In flexcoders@yahoogroups.com, "reflexactions"  wrote:
>
> As above.
> 
> Launched from FB, loads, shows as running, but no visible window to be seen.
> 
> Something needing updating or?
> tks
>




[flexcoders] AIR Application shows running in FB but cant see anything

2009-05-18 Thread reflexactions
As above.

Launched from FB, loads, shows as running, but no visible window to be seen.

Something needing updating or?
tks 



[flexcoders] Re: AIR - SecurityError:Error #2142 cannot use the LoaderContext.securityDomain

2009-05-18 Thread reflexactions
Ok for the moment I think I have fixed it by changing from using  
SecurityDomain.currenDomain attributae to using null.


--- In flexcoders@yahoogroups.com, "reflexactions"  wrote:
>
> I have an AIR application that is just a rebuild of an exisitng web based 
> Flex app.
> 
> We are using RSL's for everything (framework/modules etc.)
> 
> We have 2 CSS files compiled to SWF that we manually load using the 
> StyleManager.loadStyleDeclarations.
> 
> 
> When run as an AIR app with the 2 SWF's in the same folder as the AIR app we 
> are getting this error when it tries to load them.
> 
> SecurityError: Error #2142: Security sandbox violation: local SWF files 
> cannot use the LoaderContext.securityDomain property.: Security sandbox 
> violation: local SWF files cannot use the LoaderContext.securityDomain 
> property.
> 
> Anyone know why, and more importantly how I can fix this.
> 
> tks
>




[flexcoders] AIR - SecurityError:Error #2142 cannot use the LoaderContext.securityDomain

2009-05-18 Thread reflexactions
I have an AIR application that is just a rebuild of an exisitng web based Flex 
app.

We are using RSL's for everything (framework/modules etc.)

We have 2 CSS files compiled to SWF that we manually load using the 
StyleManager.loadStyleDeclarations.


When run as an AIR app with the 2 SWF's in the same folder as the AIR app we 
are getting this error when it tries to load them.

SecurityError: Error #2142: Security sandbox violation: local SWF files cannot 
use the LoaderContext.securityDomain property.: Security sandbox violation: 
local SWF files cannot use the LoaderContext.securityDomain property.

Anyone know why, and more importantly how I can fix this.

tks



[flexcoders] Re: How can I receive the smallest value within an Array?

2009-04-16 Thread reflexactions
var arr:Array = [8,11,13,24,19,8,4,6,5];

var maxValue:Number = Math.max.apply(null, arr);
var minValue:Number = Math.min.apply(null, arr);



--- In flexcoders@yahoogroups.com, "Tracy Spratt"  wrote:
>
> Be aware that if you have two loops in a function and use this syntax, you
> will get a duplicate variable definition warning.
> 
>  
> 
> Tracy Spratt,
> 
> Lariat Services, development services available
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of - -
> Sent: Thursday, April 16, 2009 1:39 PM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] How can I receive the smallest value within an
> Array?
> 
>  
> 
> 
> 
> 
> 
> 
> Thanks Paul!
> 
>  
> 
>   _  
> 
> From: Paul Andrews 
> To: flexcoders@yahoogroups.com
> Sent: Thursday, April 16, 2009 12:44:18 PM
> Subject: Re: [flexcoders] How can I receive the smallest value within an
> Array?
> 
> Just for the future, most people would do this:
> 
>  
> 
> for ( var i:int =1; i 
>  
> 
> - Original Message - 
> 
> From: - -   
> 
> To: flexcod...@yahoogro   ups.com 
> 
> Sent: Thursday, April 16, 2009 5:06 PM
> 
> Subject: Re: [flexcoders] How can I receive the smallest value within an
> Array?
> 
>  
> 
> I got it:
> 
>  
> 
> public function maxValue(array: Array):int
> 
> {
> 
> var value:int = array[0];
> 
> var i:int = new int(0);
> 
> for (i; i 
> { 
> 
> if (array[i]>value)
> 
> { 
> 
> value = array[i]; 
> 
> } 
> 
> } 
> 
> return value;
> 
> }
> 
> public function minValue(array: Array):int
> 
> {
> 
> var value:int = array[0];
> 
> var i:int = new int(0);
> 
> for (i; i 
> { 
> 
> if (array[i] 
> { 
> 
> value = array[i]; 
> 
> } 
> 
> } 
> 
> return value;
> 
> }
> 
>  
> 
>  
> 
> 
>   _  
> 
> 
> From: sailorsea21 http://yahoo.com/> >
> To: flexcod...@yahoogro ups.com  
> Sent: Thursday, April 16, 2009 11:56:01 AM
> Subject: [flexcoders] How can I receive the smallest value within an Array?
> 
> Hi everyone, if I have an array as
> 
> var boxSize:Array = new Array(25, 45, 32, 70, 50, 46, 80, 10);
> 
> Is there a function that will return me the smallest value within that
> array?
> 
> Thanks.
> 
> -David
>




[flexcoders] InheritingStyles and RSL

2009-04-09 Thread reflexactions
Not sure if this is a component issue or RSL issue but anyway...

I have a actionscript custom component class, this component defines some new 
inheriting styles using metadata tags and creates a class default style 
function which sets the value of those styles and others during class 
initialisation.

When compiled into the main application this functioned as expected, in that a 
child of the custom component "inherited" these new styles.

However now we are compiling this component with many others into an RSL which 
is then used by the main application.

Since doing this the child of the custom component no longer "inherits" the new 
styles. 

When we checked the reason for this we found that registerInheritingStyles 
never gets called on the main applications StyleManagerImpl for this custom 
class's new inheriting styles.

Is this a known issue? 

I have worked round it by explicitly calling registerInheritingStyles in the 
class initialisation for the above but I shouldnt have to I think.




[flexcoders] Re: Binding not executed

2009-03-26 Thread reflexactions
Yeah I sort of thought that might be the issue.

I have done something similar to your suggestion, though I have had to use a 
couple of binding tags on the form rather than directly binding the properties 
becuase in this particular case the sequence of the bindings executing was 
significant which was the original reason for having them sequential rather 
than parralel.

The binding tags enable me to control the sequence of execution, they execute 
in the reverse order to how they are in the mxml.

--- In flexcoders@yahoogroups.com, Ken Dunnington  wrote:
>
> Bindings do a lot of checking to try and prevent getting stuck in infinite
> loops, perhaps that's causing your issue? You might instead try using a
> property on the parent component that your sub components bind to, i.e.
> [Bindable] private var someProperty:String;
> 
> 
> 
> 
> 
> On Wed, Mar 25, 2009 at 10:19 PM, reflexactions wrote:
> 
> >   In a form I have component1/propertyA bound to component2/propertyA
> > which is bound to form1/propertyB.
> >
> > What I expcted to happen is I set propertyB which triggers to binding to
> > set propertyA on component2 which then triggers the binding to set property
> > A on component1.
> >
> > What actually happens is I set propertyB it triggers the binding to set
> > propertyA on component2 and it stops there. component1 never gets triggered.
> >
> > I have used default events simply marking the properties [Bindable], I have
> > also tried using custom events and whenI dispatch the change event in
> > component2 nothing happens, component1 never gets trigged.
> >
> > Any thoughts on why?
> >
> > Does binding ignore events whilst it is setting a property?
> >
> >  
> >
>




[flexcoders] Binding not executed

2009-03-25 Thread reflexactions
In a form I have component1/propertyA bound to component2/propertyA which is 
bound to form1/propertyB.

What I expcted to happen is I set propertyB which triggers to binding to set 
propertyA on component2 which then triggers the binding to set property A on 
component1.

What actually happens is I set propertyB it triggers the binding to set 
propertyA on component2 and it stops there. component1 never gets triggered.

I have used default events simply marking the properties [Bindable], I have 
also tried using custom events and whenI dispatch the change event in 
component2 nothing happens, component1 never gets trigged.

Any thoughts on why? 

Does binding ignore events whilst it is setting a property?



[flexcoders] Re: Debugger can't find framework source

2009-03-16 Thread reflexactions
Thanks,
That makes sense, though it would be nice if in a future version of Flex adobe 
could provide debugging RSL's as an option, as sometimes it is useful to be 
able to step through into adobe code. With our main application it is no longer 
really practical to change back to "merged" without a lot of other changes as 
well as going back to 30 min compiles.


--- In flexcoders@yahoogroups.com, "Darrell Loverin"  
wrote:
>
> The framework RSL does not contain debug information so you can't debug it. 
> The debug infomation is removed from RSLs to make them smaller and download 
> faster. 
> 
> 
> -Darrell
> 
> --- In flexcoders@yahoogroups.com, "reflexactions"  wrote:
> >
> > I noticed that after I switch my app to use framework RSL's the debugger 
> > always shows the framework as "no source".
> > 
> > I have checked that in the library path the source attachment property is 
> > set and is valid.
> > 
> > All I need do is switch between framework linkage "merged in code" and 
> > "RSL" for it to show/not show source code in the debugger.
> > 
> > This is running FB standalone. 
> > 
> > Does anyone know how to get it to find the source code when using the 
> > framework as an RSL?
> >
>




[flexcoders] Debugger can't find framework source

2009-03-15 Thread reflexactions
I noticed that after I switch my app to use framework RSL's the debugger always 
shows the framework as "no source".

I have checked that in the library path the source attachment property is set 
and is valid.

All I need do is switch between framework linkage "merged in code" and "RSL" 
for it to show/not show source code in the debugger.

This is running FB standalone. 

Does anyone know how to get it to find the source code when using the framework 
as an RSL?



[flexcoders] Committing change events

2009-03-15 Thread reflexactions
Is there a way to bind properties in mxml to the committing change event only?

tks



[flexcoders] Re: Framework Caching Affecting Security Settings?

2009-03-13 Thread reflexactions
Yeah I can see it now (couldn't before).

I voted for it as I think this is needed to go along with the other RSL caching 
fixes that are coming up in 3.4 in order to make modules and Framework RSLs a 
viable option. 

Actually I think maybe it would be good if all the Framework RSL caching bugs 
could be reviewed as a whole to see which can/should be done for 3.4 rather 
than each one viewed individually.



--- In flexcoders@yahoogroups.com, Matt Chotin  wrote:
>
> I made the bug public, setting severity of Security will immediately make the 
> bug only visible to Adobe folks as a just-in-case measure.  The dot on the 
> end of the link can screw things up, just make sure the dot is gone and now 
> you can see the bug and vote for it.
> 
> 
> On 3/13/09 10:27 AM, "Jamie S"  wrote:
> 
> 
> 
> 
> I can't see it either. Because it's related to security I think you
> need some sort of higher level account to see it. When I filed the bug
> I got a notice that it would be obscured for this reason.
> 
> Jamie
> 
> On Fri, Mar 13, 2009 at 6:08 AM, valdhor   > wrote:
> > Works for me. Have you signed up for an account?
> >
> > Oh, one other thing. Check the URL in the address bar. Does it have a period
> > (".") at the end? If so, remove it.
> >
> > --- In flexcoders@yahoogroups.com  , 
> > "Yves Riel"  wrote:
> >>
> >> Don't know if I'm the only one but I cannot access that page!?
> >>
> >> 
> >>
> >> From: flexcoders@yahoogroups.com   
> >> [mailto:flexcoders@yahoogroups.com  ] 
> >> On
> >> Behalf Of Alex Harui
> >> Sent: Friday, March 13, 2009 1:03 AM
> >> To: flexcoders@yahoogroups.com 
> >> Subject: RE: [flexcoders] Re: Framework Caching Affecting Security
> >> Settings?
> >>
> >>
> >>
> >> Vote for this bug: https://bugs.adobe.com/jira/browse/SDK-16050.
> >>
> >> Alex Harui
> >>
> >> Flex SDK Developer
> >>
> >> Adobe Systems Inc. 
> >>
> >> Blog: http://blogs.adobe.com/aharui 
> >>
> >> From: flexcoders@yahoogroups.com   
> >> [mailto:flexcoders@yahoogroups.com  ] 
> >> On
> >> Behalf Of jedierikb
> >> Sent: Wednesday, March 11, 2009 8:11 PM
> >> To: flexcoders@yahoogroups.com 
> >> Subject: [flexcoders] Re: Framework Caching Affecting Security Settings?
> >>
> >> [Hello. New to the list. Found you from a google search for a bug I've
> >> encountered. Looks like I've found the right people!]
> >>
> >> I have encountered this same bug and wonder if there was ever a
> >> resolution?
> >>
> >> As a work around, I have removed every bit of "security enabled" code
> >> (no javascript to actionscript calls) from my home-rolled rsl libraries.
> >>
> >> Is there a way to build the SWC/SWFs or link to them or some
> >> crossdomain.xml trickery which can properly solve this problem?
> >>
> >> --- In flexcoders@yahoogroups.com   
> >> 
> >> , "Jamie S"  wrote:
> >> >
> >> > Does Framework Caching affect the security settings?
> >> >
> >> > I was banging my head against a wall because my app was throwing
> >> > security violations all over the place when an outside swf ( or
> >> > JavaScript ) tried to access the main app. I was using
> >> > Security.allowDomain("*") but it was being ignored completely. I
> >> > turned framework caching off and everything worked again.
> >> >
> >> > What is the connection? How can I use framework caching and still keep
> >> > my security settings intact?
> >> >
> >> > Jamie
> >> >
> >>
> >
> >
>




[flexcoders] Re: Urgent Prob - cant debug after upgrading to new player

2009-03-10 Thread reflexactions
It was installed, I ran it, from FB I ran the app in debug mode, it loaded, I 
went to the "about" in the context menu, it went to the adobe "about" web page 
which stated I had the 10.0.22.87 version installed.

I am not sure how many more ways I can say that...

... and u still didnt tell me where is this "test" website and how I am 
supposed to "verify" objectively on it



--- In flexcoders@yahoogroups.com, "Tracy Spratt"  wrote:
>
> The player version is one issue that just needs to be verified first.  Just
> because you installed it does not guarantee that it got installed.  You
> always need to verify it objectively.
> 
>  
> 
> Tracy Spratt,
> 
> Lariat Services, development services available
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of reflexactions
> Sent: Wednesday, March 11, 2009 1:38 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Urgent Prob - cant debug after upgrading to new
> player
> 
>  
> 
> I installed the debug version, no doubt about that.
> 
> --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com,
> Nathaniel Skiba  wrote:
> >
> > Did you upgrade to the debug version or the regular version? If you
> > upgraded to the regular version, then you can fix the problem by
> > downloading one of the debugger versions from
> > http://www.adobe.
> <http://www.adobe.com/support/flashplayer/downloads.html.>
> com/support/flashplayer/downloads.html.
> > 
> > reflexactions wrote:
> > > I upgraded to the new flash player earlier today and now I cant debug in
> FB.
> > >
> > > I have tried everything including uninstalling the FPlayer using the
> uninstall tool, reboot, install debug player, run from FB (standalone), IE8
> opens with the app but FB says still waiting for the player to connect.
> > >
> > > I used netstat -a and FB is listening on port 7935, but the app wont
> connect, even if I try to manually force it by using the context menu it
> won't connect.
> > >
> > > I have tried down grading but that doesnt work
> > >
> > > I cant find anything to get back to debugging and its a problem 'cos I
> cant work at all.
> > >
> > > Help!
> > >
> > >
> > >
> > > 
> > >
> > > --
> > > Flexcoders Mailing List
> > > FAQ: http://groups.
> <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt>
> yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Alternative FAQ location: https://share.
> <https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e6
> 2079f6847>
> acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> > > Search Archives: http://www.mail-
> <http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo>
> archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
> > >
> > >
> > >
> > >
> >
>




[flexcoders] Re: Urgent Prob - cant debug after upgrading to new player

2009-03-10 Thread reflexactions
I installed the debug version, no doubt about that.

--- In flexcoders@yahoogroups.com, Nathaniel Skiba  wrote:
>
> Did you upgrade to the debug version or the regular version? If you
> upgraded to the regular version, then you can fix the problem by
> downloading one of the debugger versions from
> http://www.adobe.com/support/flashplayer/downloads.html.
> 
> reflexactions wrote:
> > I upgraded to the new flash player earlier today and now I cant debug in FB.
> >
> > I have tried everything including uninstalling the FPlayer using the 
> > uninstall tool, reboot, install debug player, run from FB (standalone), IE8 
> > opens with the app but FB says still waiting for the player to connect.
> >
> > I used netstat -a and FB is listening on port 7935, but the app wont 
> > connect, even if I try to manually force it by using the context menu it 
> > won't connect.
> >
> > I have tried down grading but that doesnt work
> >
> > I cant find anything to get back to debugging and its a problem 'cos I cant 
> > work at all.
> >
> > Help!
> >
> >
> >
> > 
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Alternative FAQ location: 
> > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> > Search Archives: 
> > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
> >
> >
> >
> >
>




[flexcoders] Re: Urgent Prob - cant debug after upgrading to new player

2009-03-10 Thread reflexactions
Umm what "test" website do I "hit" and how to verify???

If you mean the player webspage that says "you have version  installed"  
etc. then yes I did and it said I had 10.xxx correctly installed...

Actually the application runs perfectly fine and it says player 10 in the About 
box etc. its just it wont connect to the debugger at all thats the only 
problem. I even created a new empty project, I also tried deleting mm.cfg, 
anyhting I could think off all to no effect.

I couldn't wait any longer and so I did a system restore on Vista back to 24hrs 
ago and that fixed it and debugging works again.

So now debugging works, well at least 50% of the time that is, the rest of the 
time it hangs during loading but that at least is an offical bug that is being 
worked on and I can live with the current work around.

tks

--- In flexcoders@yahoogroups.com, "Tracy Spratt"  wrote:
>
> Did you verify the player install by hitting the test website?
> 
>  
> 
> Tracy Spratt,
> 
> Lariat Services, development services available
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of reflexactions
> Sent: Tuesday, March 10, 2009 3:27 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Urgent Prob - cant debug after upgrading to new player
> 
>  
> 
> I upgraded to the new flash player earlier today and now I cant debug in FB.
> 
> I have tried everything including uninstalling the FPlayer using the
> uninstall tool, reboot, install debug player, run from FB (standalone), IE8
> opens with the app but FB says still waiting for the player to connect.
> 
> I used netstat -a and FB is listening on port 7935, but the app wont
> connect, even if I try to manually force it by using the context menu it
> won't connect.
> 
> I have tried down grading but that doesnt work
> 
> I cant find anything to get back to debugging and its a problem 'cos I cant
> work at all.
> 
> Help!
>




[flexcoders] Urgent Prob - cant debug after upgrading to new player

2009-03-10 Thread reflexactions
I upgraded to the new flash player earlier today and now I cant debug in FB.

I have tried everything including uninstalling the FPlayer using the uninstall 
tool, reboot, install debug player, run from FB (standalone), IE8 opens with 
the app but FB says still waiting for the player to connect.

I used netstat -a and FB is listening on port 7935, but the app wont connect, 
even if I try to manually force it by using the context menu it won't connect.

I have tried down grading but that doesnt work

I cant find anything to get back to debugging and its a problem 'cos I cant 
work at all.

Help!



[flexcoders] Variable changes value without being set

2009-03-09 Thread reflexactions
Really odd problem.

A variable is set to true in code, but when I step through the code and watch 
the variable by the next line it has become false again even thought it wasn't 
set. 
I even have tried turning it into a set/get property and put a break on the 
setter, and still it changes from true to false without the breakpoint being 
hit.

Any thoughts...



[flexcoders] Application default button no longer functions after closing popup

2009-03-03 Thread reflexactions
The main application form contains a Form container with the default 
button property set.

When the Application starts the FocusManager is activated and starts 
track the enter key and the default button works.

Then a popup is displayed, this causes the Application to be 
decativated and the Popup is activated.

The popup is later removed causing it to be deactivated.

but nothing gets activated

as a result since the main application FM was deactivated it no 
longer tracks the enter key.

clicking into a control in the main application doesnt seem to cause 
the Application to be activated although the help says it should.

Am i missing something?
tks



[flexcoders] RSL and RT loading CSS

2009-02-12 Thread reflexactions
I have an application that uses RSL's.

I also have a couple of CSS's files containing embeded images etc. 
that are set to compile to swf and are loaded at run time.

When I run the application it loads all the RSL's from the same 
folder as the application as the root gets set automatically to the 
main swf.

Then the in the initialization of the application I call 
StyleManager.loadStyleDeclarations to load in the compiled css files.

My problems start here as the CSS swf completes loading, for some 
reason they cause all RSL's to be loaded again but this time without 
root being set so they are effectivwely relatve to root on the server 
rather than relative to the application. Therefore to get it all to 
work I need all the RSL's in two places! 

Secondly the second loading of the RSL's is unecessary as they are 
already loaded and in fact just after loading for the second time 
they all get unloaded again, it also takes a significant amount of 
time so you sit waiting to be able to do something whilst all this 
loading/unloading is taking place.

It also seems that loading modules causes the RSLs to get reloaded as 
well.

So what am I doing wrong are are RSLs just all messed up.

tks



[flexcoders] Re: Erratic Cursor

2009-02-04 Thread reflexactions
Never mind

--- In flexcoders@yahoogroups.com, "reflexactions" 
 wrote:
>
> Need some hints as to what to look at here.
> 
> As I mouse over a component I have set a custom cursor using 
> CursorManager.setCursor(..). 
> 
> I am gradully moving the mouse up the screen over the face of the 
> component, there is no further cursor code interaction.
> 
> As the mouse continues to move up the cursor suddenly jumps 200px 
up 
> the page and as I move a bit further it equally suddenly jumps back 
> down the page to where it "really should be".
> 
> It is jumping when the "target" changes, it seems like it jumps to 
the 
> top of the new target which is behind the original target but why?
> 
> I am not so concerned about why it pick up the background element 
that 
> I understand but I am concerned about why the mouse position 
changes.
> 
> I am just gradually moving my mouse up the screen, as I mouse over 
> something it shouldn't alter the mouse position should it, so why 
> should the cursor jump around?
> 
> Could this be affected by tooltips, does displaying a tooltip cause 
the 
> cursor position to change?
> 
> tks
>




[flexcoders] Erratic Cursor

2009-02-04 Thread reflexactions
Need some hints as to what to look at here.

As I mouse over a component I have set a custom cursor using 
CursorManager.setCursor(..). 

I am gradully moving the mouse up the screen over the face of the 
component, there is no further cursor code interaction.

As the mouse continues to move up the cursor suddenly jumps 200px up 
the page and as I move a bit further it equally suddenly jumps back 
down the page to where it "really should be".

It is jumping when the "target" changes, it seems like it jumps to the 
top of the new target which is behind the original target but why?

I am not so concerned about why it pick up the background element that 
I understand but I am concerned about why the mouse position changes.

I am just gradually moving my mouse up the screen, as I mouse over 
something it shouldn't alter the mouse position should it, so why 
should the cursor jump around?

Could this be affected by tooltips, does displaying a tooltip cause the 
cursor position to change?

tks



[flexcoders] Re: DragDrop stops working in 3.2

2009-01-29 Thread reflexactions
Never mind, resolved.

DragProxy has a different function for selecting which object to 
dispatch drag/drop events through and they produce different results 
between 3.2 and 3.1 so after finding that out that we figured how to 
get it to route the events to the correct object.

--- In flexcoders@yahoogroups.com, "reflexactions" 
 wrote:
>
> I have an app that been working fine under 3.0 and 3.1 for over a 
year, 
> its worked on by team of guys, now we have installed 3.2 and 
Drag/Drop 
> has stopped working for all of us.
> 
> The app adds DragEnter/DragDrop events handlers to a Canvas that 
fills 
> the display area but whereas under 3.1 they get called under 3.2 
they 
> are not.
> 
> When we drag out of a list based component the cursor changes to 
the 
> drag cursor but with the red cross showing you can't drop, but the 
> event handlers on the canvas never get invoked so they dont get to 
call 
> DragManager.acceptDragDrop.
> 
> Does anyone know what has changed between 3.1 and 3.2 that could 
cause 
> this, is there something else that needs to be turned on to detect 
> dragging?
>




[flexcoders] DragDrop stops working in 3.2

2009-01-28 Thread reflexactions
I have an app that been working fine under 3.0 and 3.1 for over a year, 
its worked on by team of guys, now we have installed 3.2 and Drag/Drop 
has stopped working for all of us.

The app adds DragEnter/DragDrop events handlers to a Canvas that fills 
the display area but whereas under 3.1 they get called under 3.2 they 
are not.

When we drag out of a list based component the cursor changes to the 
drag cursor but with the red cross showing you can't drop, but the 
event handlers on the canvas never get invoked so they dont get to call 
DragManager.acceptDragDrop.

Does anyone know what has changed between 3.1 and 3.2 that could cause 
this, is there something else that needs to be turned on to detect 
dragging?



[flexcoders] Debugger can't find framework source

2009-01-28 Thread reflexactions
I have just updated FB3 to FB3.2 and a few things seem broken

When running an app in debug mode and stepping through the source if it 
hits a framework class it stops and says it cant find the source. 

Everything seems ok otherwise, swc's are there, they have the source 
attachment property set and the source is at that specified location. 
Framework linkage is set to merged into code.

So what do I do... 
Do I need to remove all the swcs and build from the actual 
framework .as files, didn't have to do this before, seems nuts... 



[flexcoders] Which version of flex do I have?

2009-01-26 Thread reflexactions
We have a bit of confusion in the office with apparently different 
version of Flex installed on different machines and we are wondering 
what is the offical latest version of FlexBuilder.

In Help/About I have 3.0.1.205647

In ProductDetails/FeatureDetails/Core it shows 3.0.205647

Is this the latest official release of FlexBuilder (StandAlone) and is 
this the same as FlexBuilder 3.2 ?

Help, confused!!

:)
tks



[flexcoders] Temporarily block tabbing into a Container

2008-10-20 Thread reflexactions
I want to block the user from being able to tab into all controls in a 
particular container but only temporarily. At some point I would open 
the container to be tabbed into again but for a while I want them 
unreachable, but visible.

Seems to me this is something that evey app would need to do at some 
point, but I can't figure out how to do it.

I can cover the container with a click shield to stop the user clicking 
on any control, that works fine, but I cant seem to stop them tabbing 
in to it.

The container may contain many nested containers and many, many 
controls so trying to iterate over every control and do something is 
not really practical in this case.

Is there someway to get the focus manager to temporarily ignore these 
controls when someone hit the tab key?

tks



[flexcoders] Re: Open Source SDK SVN down

2008-10-15 Thread reflexactions
Finding the download location for the debug version of player on 
Adobe site is always very very hard...

Everytime there is a new release you seem to have to run around many 
different links and sections trying to find the "magic" one that 
leads to the download location.

Maybe put the download link permanently in the developer connection 
home page then tell people thats where you go.




--- In flexcoders@yahoogroups.com, Matt Chotin <[EMAIL PROTECTED]> wrote:
>
> And the culprit is...
> 
> Folks downloading debug players from Subversion.  Please don't use 
Subversion as your download location, thanks!
> 
> Matt
> 
> 
> On 10/15/08 2:05 PM, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
> 
> 
> 
> 
> Yeah It's back up for me, cheers!
> 
> On Thu, Oct 16, 2008 at 2:15 AM, Matt Chotin <[EMAIL PROTECTED]> wrote:
> Should be back up now, we're investigating.  The load on the server 
is high and we're not sure why.
> 
> 
> On 10/15/08 2:30 AM, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
> 
> 
> 
> 
> opensource.adobe.com/svn/*   
  is toast from where I'm sitting. 
Is it just me?
> 
> -Josh
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location: https://share.acrobat.com/adc/document.do?
docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.comYahoo! Groups Links
>




[flexcoders] Re: Stack Trace on Error.

2008-10-15 Thread reflexactions
Thanks,
But that doesnt really help as its effectively saying fix the error 
before it happens, and given that humans are involved there will 
always be errors, especially as we are talking about an application 
that has over 100 modules, containing more than 1000 non-adobe 
classes.
The point is that stuff happens and errors will always occur and we 
want to be able to locate where those erros are when they happen so 
they can be fixed. Whilst we do test with the debug player there are 
still going to be times when something unexpected happens at run time 
and it is those situations where we need to figure out at least which 
function in which of 1000 classes the error might have happened in 
even if we cant pinpoint the line.

--- In flexcoders@yahoogroups.com, "ice9_us" <[EMAIL PROTECTED]> wrote:
>
> I have found that this comes from having things like a data grid..
> with nothing in it..
> when you click on it.. it runs the functions for the "selectedItem" 
and
> what not...
> I would suggest a check for NULL in that value...
> you can Alert.msg( ... )
> that is what i had/have done.
> Other stuff i do is via fault handlers...
> 
> =
> Posted through Grouply, the better way
> to access your Yahoo Groups like this one.
> http://www.grouply.com/?code=post
>




[flexcoders] Stack Trace on Error.

2008-10-15 Thread reflexactions
Is there a way to get the stack trace or something similar when using 
the non-debug player.

Generically we will/do get errors from time to time thrown in a running 
application say like index out of bounds or null references or 1009 
errors or some such, although we can catch these errors at a high level 
and display them we cant find a way to display some useful information 
that would then help us locate where the actual error occured.

We cant afford/dont want to go through our entire application and put 
try/catch into every single function. 

Any ideas?  



[flexcoders] Re: Problem handling RemoteObject Errors

2008-10-08 Thread reflexactions
Yeah,
the code I showed in an earlier message shows that Adobe have a try 
catch already which is supposed to then raise the Fault Event so us 
putting a try catch round their try catch would achieve nothing.

This whole issue is about Adobe raising an event in a catch block and 
that the Adobe code uses an object with holding a ref to it.




--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> 
wrote:
>
> On Monday 06 Oct 2008, reflexactions wrote:
> > So for us server fault are just great but client fault are the
> > issue...
> 
> Did you mention why you can't put your send() method inside a 
try/catch  ?
> 
> -- 
> Tom Chiverton
> Helping to proactively architect customized web-enabled initiatives
> 
> 
> 
> 
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered in 
England and Wales under registered number OC307980 whose registered 
office address is at Halliwells LLP, 3 Hardman Square, 
Spinningfields, Manchester, M3 3EB.  A list of members is available 
for inspection at the registered office. Any reference to a partner 
in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named 
above and may be confidential or legally privileged.  If you are not 
the addressee you must not read it and must not use any information 
contained in nor copy it nor inform any person other than Halliwells 
LLP or the addressee of its existence or contents.  If you have 
received this email in error please delete it and notify Halliwells 
LLP IT Department on 0870 365 2500.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
>




  1   2   3   >