[flexcoders] Re: How load images from SWF in runtime

2010-03-08 Thread hpatino.rm
check this link

http://www.adobe.com/devnet/flex/quickstart/embedding_assets/#EmbeddingSwfLibraryAssets

mx:Application

mx:Script
![CDATA[
[Embed(source=assets/library.swf, symbol=BadApple)]

[Bindable]
public var BadApple:Class;

[Embed(source=assets/library.swf, symbol=Pumpkin)]

[Bindable]
public var Pumpkin:Class;

]]
/mx:Script

mx:Image id=badApple source={BadApple} width=150 height=151.8/

mx:Image id=pumpkin source={Pumpkin} width=150 height=131.7/


/mx:Application

HP



[flexcoders] Search item in Hierarchical Data used in ADG then select node

2010-02-26 Thread hpatino.rm
I display hierarchical data (different levels each node) using an XML file sent 
by the server and converted to hierachical data in Flex.
 
ADG displays the data correctly.  
 
 I want to do the following
 
 1. search for a unique value id from a node property nid in the hierachical 
data (not shown in the ADG, but available in the Hierchical data as property in 
the XML file)
 
 2. select the node found and display it on the ADG
 
I know I can use adg.hierarchicalCollectionView.openNode(object)
 

How to do #1 and then what parameter I must pass to #2?  any other shortcuts or 
ideas?


HP



[flexcoders] Adobe Announces Air For Phones, Demos Flash on Android

2010-02-16 Thread hpatino.rm
http://www.pcmag.com/article2/0,2817,2359678,00.asp

Good news, as I was looking for a solution like this.  You can also look at 
this SDK to develop cross phone platform apps

http://www.openplug.com/

HP




[flexcoders] Re: Deep Object Copy?

2010-02-16 Thread hpatino.rm
From Programming ActionScript 3.0 (page 157)

Have you tried this:

import flash.utils.ByteArray;

function clone(source:Object):*
{
var myBA:ByteArray = new ByteArray();
myBA.writeObject(source);
myBA.position = 0;
return(myBA.readObject());
}

HP



[flexcoders] Re: Adobe technical support dropped for Flex 3!

2010-02-09 Thread hpatino.rm
 Obviously someone from the support center has been given the wrong impression 
 about what is going to happen to Flex Builder3..

That was the case. With this incident, Adobe score some negative points in our 
team that is evaluating our tool for our future RIA development.  

What if I had not raised my voice here?  

I just received an apolegetic email from Adobe Technical Support.  Let's hope 
there is a better comunication internally at Adobe from now on.

HP



[flexcoders] Re: Embed pdf in Flex?

2010-02-09 Thread hpatino.rm
We tested succesfully iFrame under Mac (safari) and Windows (IE and Firefox)
http://code.google.com/p/flex-iframe/

Although the component is meant to show mainly html pages, you can also embed 
pdfs but not to render pdf on the client side.

We only found a limitation for using load indicator when pdf files are 
embeded as Acrobat pdf reader does not triger the load to the html page 
container (issue number 38 for iframe)

http://code.google.com/p/flex-iframe/issues/detail?id=38

HP



[flexcoders] Re: Adobe technical support dropped for Flex 3!

2010-02-07 Thread hpatino.rm
Dear Matt

 That sounds very incorrect. We support released software only. 

I bought last week Adobe flex 3 (Adobe standard version)

Called adobe tech support on
Friday February 05, 2010 around 6:00 PM Eastern Time

Transfered to customer service after I was told there is no more tech support 
for adobe.  Even the customer service representative was so surprised to hear 
that, and confirm with someone internally.

Customer service try to help me by asking me to re-install the product and then 
I was transferred again to Tech support.  Another representative try to help me 
with no luck, he dropped the call and never called me back!

I am not making this up.

Kind regards, 

HPatino




[flexcoders] Adobe technical support dropped for Flex 3!

2010-02-06 Thread hpatino.rm
I was informed today by Adobe that there is NO technical support for flex 
builder 3.  Only for Flex 4 beta.

I am very disappointed as I just bought Flex builder this week after I 
carefully evaluated the product during the trial period.  I had an issue 
activating my product, and needed support to remove some conflict with the 
trial version that did not disappeared even after uninstalling and deleting 
completely the trial version.  Customer Service was very nice but no technical 
support was offered.

That shows the commitment of Adobe to this product.

Regards

HP