Re: [flexcoders] rotate button

2009-10-05 Thread Vivian Richard
   Thanks Tracy. I have tried both ways and they work as long as
   you are not resizing the parent canvas. But my requirement is
   that the parent canvas needs to be resizable. In simple language
   all I am looking for is a vertical label at the left side of the parent
   canvas that will stay at the vertical center even if the parent canvas
   resizes.






On Sun, Oct 4, 2009 at 7:12 PM, Tracy Spratt tr...@nts3rd.com wrote:



  Two ways to do this.  The one I have used is to put the thing you want to
 rotate on a canvas and assign negative x,y values to it so its center is at
 the 0,0 of the canvas.. Thus, the rotation about the top/left of the parent
 canvas become becomes rotation about the center of the child.



 The other way is to use a matrix transformation.  I have not done this yet,
 but it essentially does the same thing, moving the rotation registration
 point.



 Tracy Spratt,

 Lariat Services, development services available
   --

 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *hworke
 *Sent:* Saturday, October 03, 2009 6:17 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] rotate button






 I am trying to create a vertical button!!! Basically a 90 degree rotation
 and embedded text will do that. But the problem is that rotation=90
 command will rotate the button centering top left corner which is the x/y
 coordinate of the button. I do want to rotate it at the center of the
 button. How do I do that?

 Regards...
   



Re: [flexcoders] Unable to use a source path with a number in it?

2009-10-05 Thread Muzak
Just a wild guess, try putting it in quotes..

${MYPATH}\Components\ABC20Components

- Original Message - 
From: biosmonkey biosmon...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Monday, October 05, 2009 6:04 AM
Subject: [flexcoders] Unable to use a source path with a number in it?


I have discovered an unusual problem with Flex and the use of workspace linked 
resources 
(Window/Preferences/General/Workspace/Linked Resources).

 If you have a source path that is partially a linked resource (ie ${MYPATH} 
 and another part is a number, then Flex cannot find 
 the path.

 For example, the following will work:

 ${MYPATH}\Components\ABCComponents

 but the following will not

 .

 If I look at the properties for the failed link, I get some strange stuff:

 Location: MYPATH/Components/ABC%25320Components
 Resolved location: full path\Components\ABC%320Components - (does not exist)


 I am using Flex Eclipse with Ganymede on Vista 64bit, if that makes a 
 difference.

 If I take out the linked resource and just use the full path, then it works 
 fine.  It seems that Flex is trying to escape the path 
 or something, although it does not need to?



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

2009-10-05 Thread Tom Chiverton
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 tom.chiver...@... 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
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 reflexacti...@... 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 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] right click and link on flex

2009-10-05 Thread cholid cholid
Hi Flexcoders mania
any one know how to make link to some url on right click at chart?
(or if it imposible, maybe double click is possible to make it is OK to me)

ps:any one know application to drawing graph that is free/ opensource base?

Thanks
cholid.r



  

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

2009-10-05 Thread Paul Andrews
reflexactions wrote:
 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.
   
I think Steve Jobs can be thanked for jerking the mobile world out of 
the doldrums. I can't imagine the restrictions of old can last for 
future designs.


Re: [flexcoders] Re: Adsense

2009-10-05 Thread Dan Pride
There should be no difference between this and any other html page.
I would check the settings in your google adsense account.
This should work identically because it is identical.
Dan Pride





From: fgnowfg fgno...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Monday, September 28, 2009 8:06:07 PM
Subject: [flexcoders] Re: Adsense

  
--- In flexcod...@yahoogro ups.com, Dan Pride danielpride@ ... wrote:

 Why don't you just call adsense with Css on the html page and size the flex 
 portion appropriately or doesn't that fit with the design?
 Easy hack but it works reall good
 Dan Pride
 

I've tried that, but am not getting targeted ads, just a bunch of PSAs.  Do you 
have a template you could send me? If so, either post here or email: 
fgno...@gmail. com


   


  

[flexcoders] Re: Unable to use a source path with a number in it?

2009-10-05 Thread biosmonkey
Hi,
Flex won't let you put quotes in the edited path name.  It will give an 
invalid path and won't accept it.

Can anyone confirm this happens on the normal Flexbuilder installation (ie not 
as an Eclipse plugin)?



--- In flexcoders@yahoogroups.com, Muzak p.ginnebe...@... wrote:

 Just a wild guess, try putting it in quotes..
 
 ${MYPATH}\Components\ABC20Components
 
 - Original Message - 
 From: biosmonkey biosmon...@...
 To: flexcoders@yahoogroups.com
 Sent: Monday, October 05, 2009 6:04 AM
 Subject: [flexcoders] Unable to use a source path with a number in it?
 
 
 I have discovered an unusual problem with Flex and the use of workspace 
 linked resources 
 (Window/Preferences/General/Workspace/Linked Resources).
 
  If you have a source path that is partially a linked resource (ie ${MYPATH} 
  and another part is a number, then Flex cannot find 
  the path.
 
  For example, the following will work:
 
  ${MYPATH}\Components\ABCComponents
 
  but the following will not
 
  .
 
  If I look at the properties for the failed link, I get some strange stuff:
 
  Location: MYPATH/Components/ABC%25320Components
  Resolved location: full path\Components\ABC%320Components - (does not 
  exist)
 
 
  I am using Flex Eclipse with Ganymede on Vista 64bit, if that makes a 
  difference.
 
  If I take out the linked resource and just use the full path, then it works 
  fine.  It seems that Flex is trying to escape the path 
  or something, although it does not need to?





[flexcoders] Dynamic image

2009-10-05 Thread markgoldin_2000
I am returning a binary stream from the server. That stream once received into 
Browser will be opened as an image (tiff format). Can that stream be a source 
for a dynamic image in Flex?
 
Thanks



Re: [flexcoders] Re: Resizing transparent png

2009-10-05 Thread Greg Hess
Thanks for your help.

Using smoothing helped a bit, but I was still seeing pixelization. My image
was 100x100 and I was setting scaleX=.6 and scaleY=.6(using Zoom effect to
1), changing my scaleX/Y to .5 produced an image that was perfect. I guess I
need to respect the aspect ratio and use scale values that would not require
rounding???

Do you know if we need to set scale values according to the aspect ratio(any
rule of thumb)?

Cheers,

Greg

On Fri, Oct 2, 2009 at 3:35 PM, ag_rcuren robert.vancuren...@gmail.comwrote:



 No you can do it at runtime but you must make a bitmap from the png first.
 Take a look at the code below or see a live example here
 http://www.chill-mode.com/flex_examples/smoothing/Smoothing.html view
 source is enabled.

 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 layout=absolute creationComplete=zoomer.play([image]);
 mx:Script
 ![CDATA[
 private function smoothImage(event:Event):void
 {
 //Create a new bitmap with smoothing from the original image
 var smoothData:BitmapData = new BitmapData(image.width, image.height, true,
 0x00FF);
 smoothData.draw(image.content as Bitmap);

 var smoothImage:Bitmap = new Bitmap(smoothData, auto, true);

 image.source = smoothImage;
 }
 ]]
 /mx:Script
 mx:Sequence id=zoomer repeatCount=0
 mx:Zoom zoomHeightFrom=1.0 zoomHeightTo=2.0 zoomWidthFrom=1.0
 zoomWidthTo=2.0 duration=3000/
 mx:Zoom zoomHeightFrom=2.0 zoomHeightTo=1.0 zoomWidthFrom=2.0
 zoomWidthTo=1.0 duration=3000/
 /mx:Sequence

 mx:Button label=smooth image click=smoothImage(event); /
 mx:Image id=image source=@Embed(source='tranparent.png') x=319.5
 y=173/
 /mx:Application


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Greg
 Hess flexeff...@... wrote:
 
  Thanks very much for your reply.
 
  I suspected smoothing too and tried using a SmothImage class we use for
  resizing external JPG's, however it did not help.
 
  If I understand correctly the smoothing of the PNG would need to be
  performed when creating the graphic, not at runtime
  in Flash, is this correct?
 
 
 
  On Fri, Oct 2, 2009 at 1:04 PM, ag_rcuren robert.vancuren...@...wrote:
 
  
  
   Smoothing should solve your problem. I have done a very similar thing
 and
   by smoothing the images it fixed the pixelization.
  
   You may have to create a new Bitmap from the image and set that
 Bitmap's
   smoothing to true. I do not believe you can directly smooth a .png
 image I
   think smoothing only applies to bitmaps.
  
  
   --- In flexcoders@yahoogroups.com 
   flexcoders%40yahoogroups.comflexcoders%
 40yahoogroups.com, Greg
   Hess flexeffect@ wrote:
   
Hi All,
   
I am trying to apply a roll over/out resize or zoom effect on a
 Button
with graphical skins. When the mouse is over the image I want it to
grow and shrink on exit(currently using roll over/out events). My png
skins are transparent and have round shapes, when I resize/zoom up or
down the image quality is poor and shows pixelization on the round
edges.
   
I have tried swapping the images (large vs small) when the effects
 end
but it feels clunky. I have tried using a straight image vs a button
component but get the same result. I also tried just specifying the
large image as the over, down skins and applying a resize effect to
the button but it also is clunky. Cache as bitmap, smoothing,
 maintain
aspect ratio, scale content seem to have no effect on my resizing of
these transparent pngs.
   
Not sure what I am doing wrong, any help is much appreciated.
   
Thanks,
   
Greg
   
  
  
  
 

  



[flexcoders] Detecting loader.close()

2009-10-05 Thread Aaron Hardy
Hey all,

I have a Loader instance, I call the load() method, and then sometime
thereafter but before the loading is complete I call the close() method.  Is
there any sort of event I can watch that will tell me the loader has been
closed?  As a very simple test, I tried the following but it never gets to
the stop() method for any of the events.  In my real app I have a reference
to the loader/loaderInfo in a different part of the app and need to know
when the loader is closed.

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
creationComplete=go();
mx:Script
![CDATA[
import flash.utils.setTimeout;

protected var loader:Loader;

protected function go():void
{
loader = new Loader();
loader.load(new URLRequest('
http://aaronhardy.com/wp-content/themes/thefunk/images/Mast.gif'));
myUI.addChild(loader);
loader.addEventListener(Event.DEACTIVATE, stop);
loader.addEventListener(Event.CLOSE, stop);

loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, stop);

loader.contentLoaderInfo.addEventListener(HTTPStatusEvent.HTTP_STATUS,
stop);

loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, stop);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
stop);
loader.contentLoaderInfo.addEventListener(Event.DEACTIVATE,
stop);
loader.contentLoaderInfo.addEventListener(Event.UNLOAD,
stop);
loader.close();
}

protected function stop(event:Event):void
{
trace(event);
}
]]
/mx:Script
mx:UIComponent id=myUI/
/mx:Application

Thanks for any help!

Aaron


[flexcoders] Need good links for learning LCDS

2009-10-05 Thread kotha poornima
Hi,
Please provide some good links on Flex LCDS if any.. Thanks in Advance.

Thanks
Poornima


[flexcoders] mx:ControlBar horizontalAlign=right - doesn't work?

2009-10-05 Thread Nick Middleweek
Hi,

I've got this MXML...

mx:ControlBar horizontalAlign=right
  mx:Button label=Cancel enabled=true
click={viewStackSearch.selectedIndex = 0;} /
/mx:ControlBar

... and I'm trying to get the button to be right aligned it doesn't work.

Am I missing something?


Thanks,
Nick


[flexcoders] Trees are killing me

2009-10-05 Thread timgerr
Hello all, 
I was wondering if someone could help me.  I have a tree with 3 folders, how 
can I make sure nodes get dropped into the folders?

Thank for the look,
timgerr



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

2009-10-05 Thread Cole Joplin
H. Nice looking tree.

My brother used to work for Sprint/Nextel, and he told me how they basically 
laughed in Apple's faces, and told them that the iPhone would fail, and that 
Apple had no clue about the phone business. Who's laughing now? Let's be 
honest, all these other phones look absolutely dated in comparison. I know, 
everyone doesn't want an iPhone, fine. Sure there's a non-iPhone market out 
there, but the app sales on these phones are horrible. So, what's the point? 
iPhone app sales are exploding. Apple actually delivered that holy grail of 
making the phone a serious profit center.

A great user experience is what made Flash the success it is. The iPhone is 
successful for the same reason. Any platform that does not deliver the 
experience the user wants, will not do as well. So, I can't bring myself to get 
evenly slightly excited about this. I'm a lot more excited to see how the 
makers of the Pocket God iPhone app used Flash animation and converted it into 
animation for the iPhone. If full flash on these mobile devices means 
addressing the problems of memory leaks, high cpu, and low battery life, than 
they have made a big step. These are likely reasons why Flash is not on iPhone 
today. 

But if Adobe is spending valuable resources making full Flash for Android, I 
have to seriously question the business case. Yes, it's a good thing, and I 
hope Android succeeds. But it wouldn't be surprising if Adobe spent more money 
in development than the entire amount of money the whole non-Apple industry 
made back in app sales. What's going to sell more copies of Flash Pro? The 
ability to do Android? Or the ability to do iPhone? 

In the meantime, iPhone is continuing to eat up market share in big chunks and 
racking up huge sales.That's the forest.

-- Cole


- Original Message 
From: Paul Andrews p...@ipauland.com
To: flexcoders@yahoogroups.com
Sent: Monday, October 5, 2009 4:32:57 AM
Subject: Re: [flexcoders] Re: Adobe promises *full flash* on mobile devices 
(all except iPhone)

reflexactions wrote:
 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.
  
I think Steve Jobs can be thanked for jerking the mobile world out of 
the doldrums. I can't imagine the restrictions of old can last for 
future designs.




--
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




  


Re: [flexcoders] Re: Adsense

2009-10-05 Thread Dan Pride
You also want to do your editing in the index.template.html file in the 
html-template directory otherwise you will wipe out your edits every time you 
build a release.
Dan





From: fgnowfg fgno...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Monday, September 28, 2009 8:38:40 PM
Subject: [flexcoders] Re: Adsense

  
--- In flexcod...@yahoogro ups.com, fgnowfg fgno...@...  wrote:

 --- In flexcod...@yahoogro ups.com, Dan Pride danielpride@  wrote:
 
  Why don't you just call adsense with Css on the html page and size the flex 
  portion appropriately or doesn't that fit with the design?
  Easy hack but it works reall good
  Dan Pride
  
 
 I've tried that, but am not getting targeted ads, just a bunch of PSAs.  Do 
 you have a template you could send me? If so, either post here or email: 
 fgno...@...


I need the ad to be targeted but all I want the user to see is the flex 
application and the ad...to get targeted ads I would need to put some hidden 
(from the viewpoint of the user) text on the page, which most likely violates 
Adsense TOS.


   


  

Re: [flexcoders] Re: Adsense

2009-10-05 Thread Fotis Chatzinikos
Use the noscript tag and add content shown in the flex app there...

On Tue, Sep 29, 2009 at 3:38 AM, fgnowfg fgno...@yahoo.com wrote:



 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 fgnowfg fgno...@... wrote:
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Dan
 Pride danielpride@ wrote:
  
   Why don't you just call adsense with Css on the html page and size the
 flex portion appropriately or doesn't that fit with the design?
   Easy hack but it works reall good
   Dan Pride
  
 
  I've tried that, but am not getting targeted ads, just a bunch of PSAs.
 Do you have a template you could send me? If so, either post here or email:
 fgno...@...
 

 I need the ad to be targeted but all I want the user to see is the flex
 application and the ad...to get targeted ads I would need to put some hidden
 (from the viewpoint of the user) text on the page, which most likely
 violates Adsense TOS.

  




-- 
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
fotis.chatzini...@gmail.com,


RE: [flexcoders] Detecting loader.close()

2009-10-05 Thread Alex Harui
I don't know of any events.  You'll probably have to dispatch your own.

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 Aaron Hardy
Sent: Monday, October 05, 2009 8:53 AM
To: flexcoders
Subject: [flexcoders] Detecting loader.close()



Hey all,

I have a Loader instance, I call the load() method, and then sometime 
thereafter but before the loading is complete I call the close() method.  Is 
there any sort of event I can watch that will tell me the loader has been 
closed?  As a very simple test, I tried the following but it never gets to the 
stop() method for any of the events.  In my real app I have a reference to the 
loader/loaderInfo in a different part of the app and need to know when the 
loader is closed.

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute 
creationComplete=go();
mx:Script
![CDATA[
import flash.utils.setTimeout;

protected var loader:Loader;

protected function go():void
{
loader = new Loader();
loader.load(new 
URLRequest('http://aaronhardy.com/wp-content/themes/thefunk/images/Mast.gif'));
myUI.addChild(loader);
loader.addEventListener(Event.DEACTIVATE, stop);
loader.addEventListener(Event.CLOSE, stop);

loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, stop);

loader.contentLoaderInfo.addEventListener(HTTPStatusEvent.HTTP_STATUS, stop);

loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, stop);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, stop);
loader.contentLoaderInfo.addEventListener(Event.DEACTIVATE, 
stop);
loader.contentLoaderInfo.addEventListener(Event.UNLOAD, stop);
loader.close();
}

protected function stop(event:Event):void
{
trace(event);
}
]]
/mx:Script
mx:UIComponent id=myUI/
/mx:Application

Thanks for any help!

Aaron



RE: [flexcoders] Trees are killing me

2009-10-05 Thread Alex Harui
You have folders mixed with non-folders and you only want to allow dropping on 
the folder rows?  Why not allow dropping on the leaf rows?

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 timgerr
Sent: Monday, October 05, 2009 10:28 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Trees are killing me



Hello all,
I was wondering if someone could help me. I have a tree with 3 folders, how can 
I make sure nodes get dropped into the folders?

Thank for the look,
timgerr



[flexcoders] Hot news! Adobe Opens iPhone to Flash Developers

2009-10-05 Thread oneworld95
This Adobe press release suggests that developers can build Flash apps (Flash 
CS5) for the iPhone: 
http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_viewnewsId=20091005006358newsLang=en

Does this mean Flash Builder 4/Flex 4 will support the iPhone at some point? 

- Alex C



[flexcoders] custom itemrender flicker

2009-10-05 Thread Baz
If I have a custom item render based on an ArrayCollection with 10 times,
and just for fun, I loop through those 10 items and setItemAt the exact same
values that are already there - on screen the list of items reloads in a
sense, re-building itself to the exact same values. I would like that in
such a case, the on-screen controls know that they are the same as before
and not to rebuild themselves. Is this possible? Can I intercept some event
to double check whether they are the same or different?

The goal of course, is to have this behaviour even if one some items
changed. For example if I change only the 10th item, I would expect only the
10th item to refresh, no the whole collection.

Thanks for any ideas!

P.S. I am not useing refresh() on the ArrayCollection is it set to
auto-update. Also, all my setItemAt calls are done in commitProperties()


RE: [flexcoders] mx:ControlBar horizontalAlign=right - doesn't work?

2009-10-05 Thread Alex Harui
Works for me.  What did you see?

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 Nick Middleweek
Sent: Monday, October 05, 2009 10:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] mx:ControlBar horizontalAlign=right - doesn't work?



Hi,

I've got this MXML...

mx:ControlBar horizontalAlign=right
  mx:Button label=Cancel enabled=true 
click={viewStackSearch.selectedIndex = 0;} /
/mx:ControlBar

... and I'm trying to get the button to be right aligned it doesn't work.

Am I missing something?


Thanks,
Nick



[flexcoders] localToGlobal???

2009-10-05 Thread flexaustin
So my head is spinning?

I have a popup that is popped on the mainstage. I want to that popup to follow 
a sprite that is down in the Display list about 4 levels. 

So if you a user drags the sprite say left 150 pixels and down 150 the popup 
needs to follow it.

I am trying to do popup.move (somenum, someothernum ) but it doesn't work out 
correctly. I can't seem to get the coord correct or on the same playing field.

The popup might be instantiated at the center of the stage, which is x240 and 
y240 but the sprite might be at x1500 and y 1600 on its level of the 
displaylist.

TIA, J



Re: [flexcoders] Hot news! Adobe Opens iPhone to Flash Developers

2009-10-05 Thread Vivian Richard
Wow!!! Thanks for sharing the news. I also found this link in
that news :

 http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/




On Mon, Oct 5, 2009 at 12:25 PM, oneworld95 oneworl...@yahoo.com wrote:



 This Adobe press release suggests that developers can build Flash apps
 (Flash CS5) for the iPhone:
 http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_viewnewsId=20091005006358newsLang=en

 Does this mean Flash Builder 4/Flex 4 will support the iPhone at some
 point?

 - Alex C

  



[flexcoders] Re: Hot news! Adobe Opens iPhone to Flash Developers

2009-10-05 Thread oneworld95
You're welcome. My boss owns an iPhone and wants everything we build to run on 
it. So I've been hunting high and low for any way to run Flash on the iPhone 
without a jailbreak. 

Some wording from the press release caught my eye: The Apple iPhone SDK 
license terms do not allow runtime interpreted code, so Adobe is not able to 
deliver Flash Player in Safari on the iPhone without support from Apple. 
Applications for the iPhone built with Adobe Flash Professional CS5 do not 
include any runtime interpreted code.

So the apps built with CS5 will not include any runtime interpreted code. Not 
sure what that means for Flex developers. Is that good/bad/indifferent?

- Alex C

--- In flexcoders@yahoogroups.com, Vivian Richard kanps...@... wrote:

 Wow!!! Thanks for sharing the news. I also found this link in
 that news :
 
  http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/
 
 
 
 
 On Mon, Oct 5, 2009 at 12:25 PM, oneworld95 oneworl...@... wrote:
 
 
 
  This Adobe press release suggests that developers can build Flash apps
  (Flash CS5) for the iPhone:
  http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_viewnewsId=20091005006358newsLang=en
 
  Does this mean Flash Builder 4/Flex 4 will support the iPhone at some
  point?
 
  - Alex C
 
   
 





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

2009-10-05 Thread Cole Joplin
Of course, I should know better than to rant on the same day as the keynote. 
CS5 will do the job on apps, apparently. So, this is great news. Still, the 
flash plugin for iPhone Safari is an different animal.



- Original Message 
From: Cole Joplin cole_jop...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Monday, October 5, 2009 10:47:59 AM
Subject: Re: [flexcoders] Re: Adobe promises *full flash* on mobile devices 
(all except iPhone)

H. Nice looking tree.

My brother used to work for Sprint/Nextel, and he told me how they basically 
laughed in Apple's faces, and told them that the iPhone would fail, and that 
Apple had no clue about the phone business. Who's laughing now? Let's be 
honest, all these other phones look absolutely dated in comparison. I know, 
everyone doesn't want an iPhone, fine. Sure there's a non-iPhone market out 
there, but the app sales on these phones are horrible. So, what's the point? 
iPhone app sales are exploding. Apple actually delivered that holy grail of 
making the phone a serious profit center.

A great user experience is what made Flash the success it is. The iPhone is 
successful for the same reason. Any platform that does not deliver the 
experience the user wants, will not do as well. So, I can't bring myself to get 
evenly slightly excited about this. I'm a lot more excited to see how the 
makers of the Pocket God iPhone app used Flash animation and converted it into 
animation for the iPhone. If full flash on these mobile devices means 
addressing the problems of memory leaks, high cpu, and low battery life, than 
they have made a big step. These are likely reasons why Flash is not on iPhone 
today. 

But if Adobe is spending valuable resources making full Flash for Android, I 
have to seriously question the business case. Yes, it's a good thing, and I 
hope Android succeeds. But it wouldn't be surprising if Adobe spent more money 
in development than the entire amount of money the whole non-Apple industry 
made back in app sales. What's going to sell more copies of Flash Pro? The 
ability to do Android? Or the ability to do iPhone? 

In the meantime, iPhone is continuing to eat up market share in big chunks and 
racking up huge sales.That's the forest.

-- Cole


- Original Message 
From: Paul Andrews p...@ipauland.com
To: flexcoders@yahoogroups.com
Sent: Monday, October 5, 2009 4:32:57 AM
Subject: Re: [flexcoders] Re: Adobe promises *full flash* on mobile devices 
(all except iPhone)

reflexactions wrote:
 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.
  
I think Steve Jobs can be thanked for jerking the mobile world out of 
the doldrums. I can't imagine the restrictions of old can last for 
future designs.




--
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] Detecting Flash Player standalone menu events

2009-10-05 Thread Craig Shaw
Hi everyone,

I'm hoping someone might be able to point me in the right direction with an
integration issue I'm currently facing. The application I'm writing is going
to be hosted on a client's platform that uses some kind of queuing mechanism
to preload and schedule content that is to be delivered to an external
screen. Apparently, the way it works is that it uses Standalone flash player
to host any flash content. The content gets preloaded into this player, then
is immediately 'stopped' (using the Flash Player's Stop menu) until the
platform decides its ready to go to screen. When it goes to screen, Flash
Player's 'Play' menu item is triggered, which is my queue to start my
application. So my question is simple; does anyone know if I can hook up to
those events, and if so, how? I'm guessing they're something to do with the
timeline, but I'm not a CS developer, and I'm struggling to find any info on
what exactly they do and the implications of them on SWFs developed in Flex.

Any help much appreciated,
Craig


[flexcoders] Re: Hot news! Adobe Opens iPhone to Flash Developers

2009-10-05 Thread napearson99
I hope someone from adobe can chime in here. 

Here's my take.  Flex is just a framework built on AS3.  This middleware 
compiler should be able to compile Flex AS3 code into native iPhone code no 
problem.

The new framework should also help reduce the weight of your app and make it 
run faster.

This is really great news.  Our skills just got a lot more valuable today.

--- In flexcoders@yahoogroups.com, oneworld95 oneworl...@... wrote:

 You're welcome. My boss owns an iPhone and wants everything we build to run 
 on it. So I've been hunting high and low for any way to run Flash on the 
 iPhone without a jailbreak. 
 
 Some wording from the press release caught my eye: The Apple iPhone SDK 
 license terms do not allow runtime interpreted code, so Adobe is not able to 
 deliver Flash Player in Safari on the iPhone without support from Apple. 
 Applications for the iPhone built with Adobe Flash Professional CS5 do not 
 include any runtime interpreted code.
 
 So the apps built with CS5 will not include any runtime interpreted code. 
 Not sure what that means for Flex developers. Is that good/bad/indifferent?
 
 - Alex C
 
 --- In flexcoders@yahoogroups.com, Vivian Richard kanpsack@ wrote:
 
  Wow!!! Thanks for sharing the news. I also found this link in
  that news :
  
   http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/
  
  
  
  
  On Mon, Oct 5, 2009 at 12:25 PM, oneworld95 oneworld95@ wrote:
  
  
  
   This Adobe press release suggests that developers can build Flash apps
   (Flash CS5) for the iPhone:
   http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_viewnewsId=20091005006358newsLang=en
  
   Does this mean Flash Builder 4/Flex 4 will support the iPhone at some
   point?
  
   - Alex C
  

  
 





Re: [flexcoders] Re: Hot news! Adobe Opens iPhone to Flash Developers

2009-10-05 Thread hank williams
I think it is very good news, but I dont think its good news if you expect
to be doing stuff with flex.

http://whydoeseverythingsuck.com/2009/10/adobe-announces-flash-can-build-iphone.html

In summary, given that there has been no mention of flex in the
announcement, and the focus in the announcement on performance, I suspect
flex is either not supported, or for performance reasons, not encouraged at
this time, again for performance reasons.

Hank

On Mon, Oct 5, 2009 at 4:33 PM, napearson99 napearso...@yahoo.com wrote:



 I hope someone from adobe can chime in here.

 Here's my take. Flex is just a framework built on AS3. This middleware
 compiler should be able to compile Flex AS3 code into native iPhone code no
 problem.

 The new framework should also help reduce the weight of your app and make
 it run faster.

 This is really great news. Our skills just got a lot more valuable today.


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 oneworld95 oneworl...@... wrote:
 
  You're welcome. My boss owns an iPhone and wants everything we build to
 run on it. So I've been hunting high and low for any way to run Flash on the
 iPhone without a jailbreak.
 
  Some wording from the press release caught my eye: The Apple iPhone SDK
 license terms do not allow runtime interpreted code, so Adobe is not able to
 deliver Flash Player in Safari on the iPhone without support from Apple.
 Applications for the iPhone built with Adobe Flash Professional CS5 do not
 include any runtime interpreted code.
 
  So the apps built with CS5 will not include any runtime interpreted
 code. Not sure what that means for Flex developers. Is that
 good/bad/indifferent?
 
  - Alex C
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Vivian
 Richard kanpsack@ wrote:
  
   Wow!!! Thanks for sharing the news. I also found this link in
   that news :
  
   http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/
  
  
  
  
   On Mon, Oct 5, 2009 at 12:25 PM, oneworld95 oneworld95@ wrote:
  
   
   
This Adobe press release suggests that developers can build Flash
 apps
(Flash CS5) for the iPhone:
   
 http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_viewnewsId=20091005006358newsLang=en
   
Does this mean Flash Builder 4/Flex 4 will support the iPhone at some
point?
   
- Alex C
   
   
   
  
 

  




-- 
blog: whydoeseverythingsuck.com


[flexcoders] Re: Hot news! Adobe Opens iPhone to Flash Developers

2009-10-05 Thread oneworld95
I'm very curious as to how this applies to Flex. The article didn't mention 
that, but like you said, maybe someone from Adobe will add something to the 
discussion and stop keeping us in suspense!

It can be a revolution for Flex developers.

-Alex C

--- In flexcoders@yahoogroups.com, napearson99 napearso...@... wrote:

 I hope someone from adobe can chime in here. 
 
 Here's my take.  Flex is just a framework built on AS3.  This middleware 
 compiler should be able to compile Flex AS3 code into native iPhone code no 
 problem.
 
 The new framework should also help reduce the weight of your app and make it 
 run faster.
 
 This is really great news.  Our skills just got a lot more valuable today.
 
 --- In flexcoders@yahoogroups.com, oneworld95 oneworld95@ wrote:
 
  You're welcome. My boss owns an iPhone and wants everything we build to run 
  on it. So I've been hunting high and low for any way to run Flash on the 
  iPhone without a jailbreak. 
  
  Some wording from the press release caught my eye: The Apple iPhone SDK 
  license terms do not allow runtime interpreted code, so Adobe is not able 
  to deliver Flash Player in Safari on the iPhone without support from Apple. 
  Applications for the iPhone built with Adobe Flash Professional CS5 do not 
  include any runtime interpreted code.
  
  So the apps built with CS5 will not include any runtime interpreted code. 
  Not sure what that means for Flex developers. Is that good/bad/indifferent?
  
  - Alex C
  
  --- In flexcoders@yahoogroups.com, Vivian Richard kanpsack@ wrote:
  
   Wow!!! Thanks for sharing the news. I also found this link in
   that news :
   

   http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/
   
   
   
   
   On Mon, Oct 5, 2009 at 12:25 PM, oneworld95 oneworld95@ wrote:
   
   
   
This Adobe press release suggests that developers can build Flash apps
(Flash CS5) for the iPhone:
http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_viewnewsId=20091005006358newsLang=en
   
Does this mean Flash Builder 4/Flex 4 will support the iPhone at some
point?
   
- Alex C
   
 
   
  
 





[flexcoders] Re: Hot news! Adobe Opens iPhone to Flash Developers

2009-10-05 Thread oneworld95
More on the same topic: 
http://www.appleinsider.com/articles/09/10/05/not_quite_flash_adobe_announces_iphone_native_app_porting.html

It's not designed as a replacement for Flash in Safari; rather, it lets you 
submit your Flash CS5 apps to be listed on the Apple Store. The Safari plugin 
might never happen; Apple doesn't allow plugins on the iPhone.

- Alex C

--- In flexcoders@yahoogroups.com, oneworld95 oneworl...@... wrote:

 This Adobe press release suggests that developers can build Flash apps (Flash 
 CS5) for the iPhone: 
 http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_viewnewsId=20091005006358newsLang=en
 
 Does this mean Flash Builder 4/Flex 4 will support the iPhone at some point? 
 
 - Alex C





[flexcoders] Re: Trees are killing me

2009-10-05 Thread timgerr
I am creating an app that folders are groups and leafs are users.  I want users 
in groups (folders) only.

Tim

--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:

 You have folders mixed with non-folders and you only want to allow dropping 
 on the folder rows?  Why not allow dropping on the leaf rows?
 
 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 timgerr
 Sent: Monday, October 05, 2009 10:28 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Trees are killing me
 
 
 
 Hello all,
 I was wondering if someone could help me. I have a tree with 3 folders, how 
 can I make sure nodes get dropped into the folders?
 
 Thank for the look,
 timgerr





Re: [flexcoders] Re: Hot news! Adobe Opens iPhone to Flash Developers

2009-10-05 Thread Matt Chotin
Hi All,

Flex on iPhone is potentially possible via Slider on the future. See more on 
Slider at
 http://labs.adobe.com/technologies/flex/mobile/ 
http://labs.adobe.com/technologies/flex/mobile/

The pages on Labs have all the info we can share? But the faqs are pretty big.

Matt

Sent from my phone. Please excuse brevity or typos.

On Oct 5, 2009, at 1:41 PM, oneworld95 
oneworl...@yahoo.commailto:oneworl...@yahoo.com wrote:



I'm very curious as to how this applies to Flex. The article didn't mention 
that, but like you said, maybe someone from Adobe will add something to the 
discussion and stop keeping us in suspense!

It can be a revolution for Flex developers.

-Alex C

--- In 
flexcod...@yahoogromailto:flexcoders%40yahoogroups.comups.comhttp://ups.com,
 napearson99 napearso...@... wrote:

 I hope someone from adobe can chime in here.

 Here's my take. Flex is just a framework built on AS3. This middleware 
 compiler should be able to compile Flex AS3 code into native iPhone code no 
 problem.

 The new framework should also help reduce the weight of your app and make it 
 run faster.

 This is really great news. Our skills just got a lot more valuable today.

 --- In 
 flexcod...@yahoogromailto:flexcoders%40yahoogroups.comups.comhttp://ups.com,
  oneworld95 oneworld95@ wrote:
 
  You're welcome. My boss owns an iPhone and wants everything we build to run 
  on it. So I've been hunting high and low for any way to run Flash on the 
  iPhone without a jailbreak.
 
  Some wording from the press release caught my eye: The Apple iPhone SDK 
  license terms do not allow runtime interpreted code, so Adobe is not able 
  to deliver Flash Player in Safari on the iPhone without support from Apple. 
  Applications for the iPhone built with Adobe Flash Professional CS5 do not 
  include any runtime interpreted code.
 
  So the apps built with CS5 will not include any runtime interpreted code. 
  Not sure what that means for Flex developers. Is that good/bad/indifferent?
 
  - Alex C
 
  --- In 
  flexcod...@yahoogromailto:flexcoders%40yahoogroups.comups.comhttp://ups.com,
   Vivian Richard kanpsack@ wrote:
  
   Wow!!! Thanks for sharing the news. I also found this link in
   that news :
  
   http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/ 
   http://labs.adobe.com/http://adobe.com/technologies/flashcs5/appsfor_iphone/
  
  
  
  
   On Mon, Oct 5, 2009 at 12:25 PM, oneworld95 oneworld95@ wrote:
  
   
   
This Adobe press release suggests that developers can build Flash apps
(Flash CS5) for the iPhone:
http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_viewnewsId=20091005006358newsLang=en
 
http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_viewnewsId=20091005006358newsLang=en
   
Does this mean Flash Builder 4/Flex 4 will support the iPhone at some
point?
   
- Alex C
   
   
   
  
 






RE: [flexcoders] localToGlobal???

2009-10-05 Thread Alex Harui
Var popUpPt:Point = sprite.localToGlobal(new Point (0,0)); // (0,0) is 
upper left corner in the sprite's coordinate space.  It's x,y does not matter
popup.Move(popUpPt.x, popUpPt.y);


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 flexaustin
Sent: Monday, October 05, 2009 12:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] localToGlobal???



So my head is spinning?

I have a popup that is popped on the mainstage. I want to that popup to follow 
a sprite that is down in the Display list about 4 levels.

So if you a user drags the sprite say left 150 pixels and down 150 the popup 
needs to follow it.

I am trying to do popup.move (somenum, someothernum ) but it doesn't work out 
correctly. I can't seem to get the coord correct or on the same playing field.

The popup might be instantiated at the center of the stage, which is x240 and 
y240 but the sprite might be at x1500 and y 1600 on its level of the 
displaylist.

TIA, J



RE: [flexcoders] custom itemrender flicker

2009-10-05 Thread Alex Harui
It depends on how you wrote the renderer.  You can try overriding the function 
set data() to check for changes to the object referenced by the renderer, but 
then if some sub-property changes, the renderer will not update.

Might be better to understand why it flickers when updating.

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 Baz
Sent: Monday, October 05, 2009 12:32 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] custom itemrender flicker



If I have a custom item render based on an ArrayCollection with 10 times, and 
just for fun, I loop through those 10 items and setItemAt the exact same values 
that are already there - on screen the list of items reloads in a sense, 
re-building itself to the exact same values. I would like that in such a case, 
the on-screen controls know that they are the same as before and not to rebuild 
themselves. Is this possible? Can I intercept some event to double check 
whether they are the same or different?

The goal of course, is to have this behaviour even if one some items changed. 
For example if I change only the 10th item, I would expect only the 10th item 
to refresh, no the whole collection.

Thanks for any ideas!

P.S. I am not useing refresh() on the ArrayCollection is it set to auto-update. 
Also, all my setItemAt calls are done in commitProperties()



RE: [flexcoders] Re: Trees are killing me

2009-10-05 Thread Alex Harui
I see.  You don't want to allow dropping at the top-level.

I think you can get the DRAG_OVER event, look at where the mouse is, and call 
event.preventDefault()

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 timgerr
Sent: Monday, October 05, 2009 2:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Trees are killing me



I am creating an app that folders are groups and leafs are users. I want users 
in groups (folders) only.

Tim

--- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Alex 
Harui aha...@... wrote:

 You have folders mixed with non-folders and you only want to allow dropping 
 on the folder rows? Why not allow dropping on the leaf rows?

 Alex Harui
 Flex SDK Developer
 Adobe Systems Inc.http://www.adobe.com/
 Blog: http://blogs.adobe.com/aharui

 From: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com 
 [mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com] On 
 Behalf Of timgerr
 Sent: Monday, October 05, 2009 10:28 AM
 To: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com
 Subject: [flexcoders] Trees are killing me



 Hello all,
 I was wondering if someone could help me. I have a tree with 3 folders, how 
 can I make sure nodes get dropped into the folders?

 Thank for the look,
 timgerr




RE: [flexcoders] Re: Hot news! Adobe Opens iPhone to Flash Developers

2009-10-05 Thread Gordon Smith
There will be a MAX session on the Flex SDK and mobile devices. I don't think 
we're supposed to say more before that.

Gordon Smith
Adobe Flex SDK Team

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of oneworld95
Sent: Monday, October 05, 2009 1:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Hot news! Adobe Opens iPhone to Flash Developers



I'm very curious as to how this applies to Flex. The article didn't mention 
that, but like you said, maybe someone from Adobe will add something to the 
discussion and stop keeping us in suspense!

It can be a revolution for Flex developers.

-Alex C

--- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
napearson99 napearso...@... wrote:

 I hope someone from adobe can chime in here.

 Here's my take. Flex is just a framework built on AS3. This middleware 
 compiler should be able to compile Flex AS3 code into native iPhone code no 
 problem.

 The new framework should also help reduce the weight of your app and make it 
 run faster.

 This is really great news. Our skills just got a lot more valuable today.

 --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
 oneworld95 oneworld95@ wrote:
 
  You're welcome. My boss owns an iPhone and wants everything we build to run 
  on it. So I've been hunting high and low for any way to run Flash on the 
  iPhone without a jailbreak.
 
  Some wording from the press release caught my eye: The Apple iPhone SDK 
  license terms do not allow runtime interpreted code, so Adobe is not able 
  to deliver Flash Player in Safari on the iPhone without support from Apple. 
  Applications for the iPhone built with Adobe Flash Professional CS5 do not 
  include any runtime interpreted code.
 
  So the apps built with CS5 will not include any runtime interpreted code. 
  Not sure what that means for Flex developers. Is that good/bad/indifferent?
 
  - Alex C
 
  --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
  Vivian Richard kanpsack@ wrote:
  
   Wow!!! Thanks for sharing the news. I also found this link in
   that news :
  
   http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/
  
  
  
  
   On Mon, Oct 5, 2009 at 12:25 PM, oneworld95 oneworld95@ wrote:
  
   
   
This Adobe press release suggests that developers can build Flash apps
(Flash CS5) for the iPhone:
http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_viewnewsId=20091005006358newsLang=en
   
Does this mean Flash Builder 4/Flex 4 will support the iPhone at some
point?
   
- Alex C
   
   
   
  
 




RE: [flexcoders] Re: Hot news! Adobe Opens iPhone to Flash Developers

2009-10-05 Thread Gordon Smith
Hmm... it looks like it's safe to say this:

http://labs.adobe.com/technologies/flex/mobile/

Gordon Smith
Adobe Flex SDK Team

From: Gordon Smith
Sent: Monday, October 05, 2009 1:54 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Hot news! Adobe Opens iPhone to Flash Developers

There will be a MAX session on the Flex SDK and mobile devices. I don't think 
we're supposed to say more before that.

Gordon Smith
Adobe Flex SDK Team

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of oneworld95
Sent: Monday, October 05, 2009 1:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Hot news! Adobe Opens iPhone to Flash Developers



I'm very curious as to how this applies to Flex. The article didn't mention 
that, but like you said, maybe someone from Adobe will add something to the 
discussion and stop keeping us in suspense!

It can be a revolution for Flex developers.

-Alex C

--- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
napearson99 napearso...@... wrote:

 I hope someone from adobe can chime in here.

 Here's my take. Flex is just a framework built on AS3. This middleware 
 compiler should be able to compile Flex AS3 code into native iPhone code no 
 problem.

 The new framework should also help reduce the weight of your app and make it 
 run faster.

 This is really great news. Our skills just got a lot more valuable today.

 --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
 oneworld95 oneworld95@ wrote:
 
  You're welcome. My boss owns an iPhone and wants everything we build to run 
  on it. So I've been hunting high and low for any way to run Flash on the 
  iPhone without a jailbreak.
 
  Some wording from the press release caught my eye: The Apple iPhone SDK 
  license terms do not allow runtime interpreted code, so Adobe is not able 
  to deliver Flash Player in Safari on the iPhone without support from Apple. 
  Applications for the iPhone built with Adobe Flash Professional CS5 do not 
  include any runtime interpreted code.
 
  So the apps built with CS5 will not include any runtime interpreted code. 
  Not sure what that means for Flex developers. Is that good/bad/indifferent?
 
  - Alex C
 
  --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
  Vivian Richard kanpsack@ wrote:
  
   Wow!!! Thanks for sharing the news. I also found this link in
   that news :
  
   http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/
  
  
  
  
   On Mon, Oct 5, 2009 at 12:25 PM, oneworld95 oneworld95@ wrote:
  
   
   
This Adobe press release suggests that developers can build Flash apps
(Flash CS5) for the iPhone:
http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_viewnewsId=20091005006358newsLang=en
   
Does this mean Flash Builder 4/Flex 4 will support the iPhone at some
point?
   
- Alex C
   
   
   
  
 




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

2009-10-05 Thread dorkie dork from dorktown
Yes to the global error handling! :)

Flash Player 10.1 will address memory issues (currently halves current apps
out of the box).

It will also increase performance by 35%. I'm sure they're addressing the
issues mobile app development faces.

DDFD

On Mon, Oct 5, 2009 at 5:26 AM, reflexactions reflexacti...@yahoo.comwrote:



 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 flexcoders%40yahoogroups.com,
 reflexactions reflexacti...@... 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 flexcoders%40yahoogroups.com, Tom
 Chiverton 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.
  
 

  



Re: [flexcoders] custom itemrender flicker

2009-10-05 Thread Baz
Hey Alex, thanks a lot for your reply. So it is *proper* behaviour that if
you setItemAt in a custom itemrenderer that the whole control is rebuilt
visually? Incidentally I am using Flex 4, so this might be of even more
interest.

I have a SkinnableDataContainer with an ArrayCollection dataprovider that
holds custom objects ('reports' in this case).

If my current collection has:


   1. Report #1 = Name: 1stReportName, Path: 1stReportPath
   2. Report #2 = Name: 2ndReportName, Path: 2ndReportPath

And then I do a myArrayCollection.setItemAt(Report1, 0), which basically
sets the first item to the same report it currently has. The itemrenderer
empties of all items, then re-displays them, causing a flicker or flash that
is noticeable on a slow computer.

Wouldn't it make more sense for the itemrender NOT to re-build itself from
scratch on every change? What if you had 100 items and u onl;y set one item?

Thanks a lot!

Baz





On Mon, Oct 5, 2009 at 3:05 PM, Alex Harui aha...@adobe.com wrote:



  It depends on how you wrote the renderer.  You can try overriding the
 “function set data()” to check for changes to the object referenced by the
 renderer, but then if some sub-property changes, the renderer will not
 update.



 Might be better to understand why it flickers when updating.



 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 *Baz
 *Sent:* Monday, October 05, 2009 12:32 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] custom itemrender flicker





 If I have a custom item render based on an ArrayCollection with 10 times,
 and just for fun, I loop through those 10 items and setItemAt the exact same
 values that are already there - on screen the list of items reloads in a
 sense, re-building itself to the exact same values. I would like that in
 such a case, the on-screen controls know that they are the same as before
 and not to rebuild themselves. Is this possible? Can I intercept some event
 to double check whether they are the same or different?

 The goal of course, is to have this behaviour even if one some items
 changed. For example if I change only the 10th item, I would expect only the
 10th item to refresh, no the whole collection.

 Thanks for any ideas!

 P.S. I am not useing refresh() on the ArrayCollection is it set to
 auto-update. Also, all my setItemAt calls are done in commitProperties()

   



[flexcoders] Bar chart datatip refresh-hide

2009-10-05 Thread rlull2001
I have a bar chart that displays information about several items. When you 
click the bar of one of the items, the chart drills down to more specific 
information about this item but if you don't move your mouse, the datatip from 
the previous chart is still visible. Any ideas how to make this datatip go away 
once the chart is clicked?



[flexcoders] Imagesnapshot Doesn't Capture

2009-10-05 Thread kristiansalvesen
Hi,

I have an application that has a TileList that is populated with images or swfs 
from an external 3rd party website. At first the TileList is set to 
visible=false and then with some logic it is set to visible=true I then want to 
take an ImageSnapShot of the TileList populated with all the images. This works 
when running the code just from FlexBuilder as i am developing/debugging but 
when i uploaded the application to my webserver the Application just freezes 
when trying to create the ImageSnapShot. Anyone has any ideas of what is going 
on here. 

Thanks,

Kristian




Re: [flexcoders] Re: Hot news! Adobe Opens iPhone to Flash Developers

2009-10-05 Thread nightmag...@yahoo.com
Sounds a lot like a compiled version of an AIR app.

I couldn't find any reference to Flex support for this... did you guys 
see anything?

oneworld95 wrote:
  

 You're welcome. My boss owns an iPhone and wants everything we build 
 to run on it. So I've been hunting high and low for any way to run 
 Flash on the iPhone without a jailbreak.

 Some wording from the press release caught my eye: The Apple iPhone 
 SDK license terms do not allow runtime interpreted code, so Adobe is 
 not able to deliver Flash Player in Safari on the iPhone without 
 support from Apple. Applications for the iPhone built with Adobe Flash 
 Professional CS5 do not include any runtime interpreted code.

 So the apps built with CS5 will not include any runtime interpreted 
 code. Not sure what that means for Flex developers. Is that 
 good/bad/indifferent?

 - Alex C

 --- In flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com, Vivian Richard kanps...@... 
 wrote:
 
  Wow!!! Thanks for sharing the news. I also found this link in
  that news :
 
  http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/ 
 http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/
 
 
 
 
  On Mon, Oct 5, 2009 at 12:25 PM, oneworld95 oneworl...@... wrote:
 
  
  
   This Adobe press release suggests that developers can build Flash apps
   (Flash CS5) for the iPhone:
   
 http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_viewnewsId=20091005006358newsLang=en
  
 http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_viewnewsId=20091005006358newsLang=en
  
   Does this mean Flash Builder 4/Flex 4 will support the iPhone at some
   point?
  
   - Alex C
  
  
  
 

 



Re: [flexcoders] Re: Hot news! Adobe Opens iPhone to Flash Developers

2009-10-05 Thread nightmag...@yahoo.com
Well... bad news for first generation ipod owners...

I have an 8 gig version of the first gen ipod touch and have upgraded 
the OS to be version 3.1.1. I just downloaded the free demo apps and 
Trading Stuff and That Roach Game will not install. Red Hood 
installs but just kind of sits there and does nothing after the launch 
screen.


Gordon Smith wrote:

 Hmm… it looks like it's safe to say this:

 http://labs.adobe.com/technologies/flex/mobile/ 
 http://labs.adobe.com/technologies/flex/mobile/

 Gordon Smith

 Adobe Flex SDK Team





--
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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:flexcoders-dig...@yahoogroups.com 
mailto:flexcoders-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
flexcoders-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



[flexcoders] Seeking Job Position as flex/flash AS 3 Developer (php,.net,java,red5 ,mvc,orm and etc) [1 Attachment]

2009-10-05 Thread Sajid Hussain
Sajid Hussaiin
5+ years, PHP Web 2.0, Flex/Flash Developer,
sajidun...@gmail.com
92 333 2494689



Hello All , 


I have over all 5+ years of experience in Software Development, my core
expertise include developing Rich Internet Applications based on RIA tools
along with Web 2.0 based development using various web technologies and
enterprise frameworks that include:

 · Adobe Flex / Adobe Flash Action Script 3.0

·  PHP 5 (Prado Framework and Propel ORM)

·  RDMBS (MySQL , MS SQL Server)

· MS .NET (C# , ASP.NET ,XML ,LINQ)

· Java/J2EE (Swing , BlazeDS , Network Programing)

· My  code generators for .net and php

· Wordpress/Joomla/Drupal

· Red5 and Flash Media Server

· Jabber XMPP

 During these 5 years, I have developed various systems, modules and
applications based on Rich Internet Application platform for both the web
and desktop, these include:

- Social Networking
- Real Estate
- Automobiles
- Finance
- Audio/Video Conferencing
- Audio/Video Instant Messaging
- Audio/Video Streaming
more..

I have also managed team's having 5 to 15 members, where I thoroughly
followed best practices  strategies offered by Agile based Development.
Where as I am well ware with use of tools like MS Project and JIRA for issue
tracking and management.

With such experience and expertise, I am looking for challenging work based
on Web and Rich Internet Applications. I am sure that by utilizing my
expertise and services it will expedite your organization acheiving their
goals, and will help me out to excel furthermore while working with such a
environment and exposure your organization is offering.

*NOTE: *For details of my projects, links and complete portfolio, kindly go
through my attached resume.

I am applying for this position with confidence, I would really be looking
forward in hearing from you.

The requirement u have asked I m very much confident about them and I
believe I could play good role for such development and may share my ideas
for better development with flex and its integration

Details which you may required;

Nationality : Pakistani
Location: Pakistan
Site : Telecommute (with all best gadgets)
Availblity : ASAP
Salary ; Min US $ 15,00 to US  $2,500.
Pref : Contract or fulltime
My Resume Link Google docs : 
http://docs.google.com/Doc?docid=0AUhl_pFDod4SZGZzams0bWdfMTFmMjQyOTZmeghl=en




Sincerely,




Sajid Hussain
sajidun...@gmail.com
923332494689


  

[flexcoders] Re: ADG enhancements for contract, serious ADG experts

2009-10-05 Thread tntomek
Bump

--- In flexcoders@yahoogroups.com, tntomek tnto...@... wrote:

 Does anyone have any recommended consultants who are experts with the grid?
 
 We have a need to extend ADG's functionality. Immediate requirement is to 
 optimize horizontal scrolling to behave the same as vertical. The requirement 
 is not to have simple smooth scrolling but to only instantiate renderers that 
 are in view. This is just the start; there are other features  performance 
 bugs in addition to this one.
 
 Unfortunately we can't wait until 2023 when Flex 5 finally ships with a 
 replacement grid control.
 
 If anyone knows a reputable person please send email to: tntomek at --- 
 hotmail --- com





RE: [flexcoders] custom itemrender flicker

2009-10-05 Thread Alex Harui
It depends on how you coded the renderer.  Our list classes have very general 
and somewhat inefficient update strategies because we want to make sure most 
collection updates renderer correctly.  I haven't looked at how Spark List 
thinks, but mx:List will refresh all renderers even if only one item changes 
because it doesn't know if another renderer might have look-ahead and also 
care about the item even though its data item is some other item in the 
collection.

You might be better off suppressing the setItemAt if it is the same.

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 Baz
Sent: Monday, October 05, 2009 3:18 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] custom itemrender flicker



Hey Alex, thanks a lot for your reply. So it is *proper* behaviour that if you 
setItemAt in a custom itemrenderer that the whole control is rebuilt visually? 
Incidentally I am using Flex 4, so this might be of even more interest.

I have a SkinnableDataContainer with an ArrayCollection dataprovider that holds 
custom objects ('reports' in this case).

If my current collection has:

 1.  Report #1 = Name: 1stReportName, Path: 1stReportPath
 2.  Report #2 = Name: 2ndReportName, Path: 2ndReportPath
And then I do a myArrayCollection.setItemAt(Report1, 0), which basically sets 
the first item to the same report it currently has. The itemrenderer empties of 
all items, then re-displays them, causing a flicker or flash that is noticeable 
on a slow computer.

Wouldn't it make more sense for the itemrender NOT to re-build itself from 
scratch on every change? What if you had 100 items and u onl;y set one item?

Thanks a lot!

Baz




On Mon, Oct 5, 2009 at 3:05 PM, Alex Harui 
aha...@adobe.commailto:aha...@adobe.com wrote:


It depends on how you wrote the renderer.  You can try overriding the function 
set data() to check for changes to the object referenced by the renderer, but 
then if some sub-property changes, the renderer will not update.



Might be better to understand why it flickers when updating.



Alex Harui

Flex SDK Developer

Adobe Systems Inc.http://www.adobe.com/

Blog: http://blogs.adobe.com/aharui



From: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com] On 
Behalf Of Baz
Sent: Monday, October 05, 2009 12:32 PM
To: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com
Subject: [flexcoders] custom itemrender flicker





If I have a custom item render based on an ArrayCollection with 10 times, and 
just for fun, I loop through those 10 items and setItemAt the exact same values 
that are already there - on screen the list of items reloads in a sense, 
re-building itself to the exact same values. I would like that in such a case, 
the on-screen controls know that they are the same as before and not to rebuild 
themselves. Is this possible? Can I intercept some event to double check 
whether they are the same or different?

The goal of course, is to have this behaviour even if one some items changed. 
For example if I change only the 10th item, I would expect only the 10th item 
to refresh, no the whole collection.

Thanks for any ideas!

P.S. I am not useing refresh() on the ArrayCollection is it set to auto-update. 
Also, all my setItemAt calls are done in commitProperties()