[flexcoders] Re: Getting the bitmapData out of mx.controls.Image (Flex 2 Beta 2)

2006-04-18 Thread Tim Scollick
Never mind. I figured it out hand print on forehead. If anyone's interested in the solution to my ill-explained conundrum, search the docs for explicit conversions. Happy Flexing! Tim On 4/18/06, Tim Scollick [EMAIL PROTECTED] wrote: Can anyone help me get a bitmapData object out

[flexcoders] Getting the bitmapData out of mx.controls.Image (Flex 2 Beta 2)

2006-04-18 Thread Tim Scollick
Can anyone help me get a bitmapData object out of an Image control? I've dynamically loaded an image using .url and load(). I know it's loaded (because I can see it) and am trying to get the bitmapData from it. I know it's there because when I get image.content.toString() it's a bitmap.

Re: [flexcoders] Beta3 - Error with @Embed - worked in Beta2

2006-05-15 Thread Tim Scollick
If that doesn't work, create a new Image with Builder and browse for the image source. Flip it over to the xml editor and copy the path out. On 5/15/06, Clarke Bishop [EMAIL PROTECTED] wrote: Put a / in front of the path like this:/af/images/config.png That fixed if for me! Clarke

Re: [flexcoders] Flex Apps and Google/Search Engines

2006-05-16 Thread Tim Scollick
I'm not exactly sure what you mean either, but you might be able to port ripple to AS3 and use it:http://osflash.org/ripple/overview On 5/16/06, John Dowdell [EMAIL PROTECTED] wrote: On 5/12/06, Simon Fifield [EMAIL PROTECTED] wrote: Does anyone have any information or links about how

Re: [flexcoders] Little green arrow in builder

2006-05-18 Thread Tim Scollick
I think that you're looking at the debugging stop marker. You compiled your code with the debugger on. There was an error in the code and Eclipse (er, FlexBuilder) flipped you back to the debug perspective. The debug perspective probably wrote some error messages to the console and opened the

Re: [flexcoders] Flex 2.0 component in Flash 8

2006-07-12 Thread Tim Scollick
I think that the only way to do it would be to put it into a div layer over the Flash 8 movie.On 7/12/06, Kelly Birr [EMAIL PROTECTED] wrote: I have a client that would like to embed a small Flex 2.0app I've built inside their existing Flash 8 movie. I'm

Re: [flexcoders] Re: Pass a parameter in the event function of an addEventListener?

2006-07-14 Thread Tim Scollick
If you'd need more than just the name, you can put any object into the button.data field and retrieve it as event.data in the listener function.TimOn 7/14/06, meathead [EMAIL PROTECTED] wrote: Thanks a bunch. This totally works. Boy, was I ever going down

Re: [flexcoders] Re: Problem to embed a JSP page in Flex

2006-07-26 Thread Tim Scollick
Note that Christophe's IFrame page is for Flex 1.5, not Flex 2. It's easy to adapt to Flex 2 though.On 7/26/06, Tim Hoff [EMAIL PROTECTED] wrote: Hi Serguey, I don't know much about the java world, but this might help either now or in the future.

Re: [flexcoders] http://www.gliffy.com

2006-08-11 Thread Tim Scollick
You have to roll your own. You can't get this functionality out of the box in Flex.On 8/11/06, Kumar [EMAIL PROTECTED] wrote: Hi All, I want to do some thing like Gliffy. If I am dropping any control at runtime I want to make it stretch resize. As it appears when we drag

Re: [flexcoders] Re: writing to an XML file

2006-05-25 Thread Tim Scollick
Rama,Read the page entitled Working with XML in the documentation. It's quite thorough and should get you on your way.Regards,TimOn 5/25/06, rama satoskar [EMAIL PROTECTED] wrote: Could u guide me please...coz when i looked through the example.i saw examples of many

Re: [flexcoders] flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread Tim Scollick
bc,The docs are with Builder. If you have Builder, you have the docs. If you don't have Builder, get Builder from the labs site.Open Flex Builder. Go to Help in the top menu.Select 'Help Contents', 'Search' (which allows you to search the docs) or 'Flex Start Page'. All of them bring up

Re: [flexcoders] Help Loading ByteArray into Image

2006-05-30 Thread Tim Scollick
I think that you want to look at image.source and image.load.On 5/30/06, mail [EMAIL PROTECTED] wrote: What is the best way to get a ByteArray into an Image (or similar UIComponent) in AS3? I'm workingon some classes that extract the album art from an MP3 file. I'm able to load

Re: [flexcoders] Help Loading ByteArray into Image

2006-05-30 Thread Tim Scollick
into Loader.loadBytes, but I'm unsure where to go from there. From: Tim Scollick [EMAIL PROTECTED]Sent: Tuesday, May 30, 2006 1:04 PM To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Help Loading ByteArray into Image I think that you want to look at image.source and image.load.On 5/30/06

Re: [flexcoders] Save a BitMap to the server as a jpg? flex2

2006-05-31 Thread Tim Scollick
If .png is an option instead of .jpg, you could compress it on the client using this:http://www.kaourantin.net/2005/10/png-encoder-in-as3.html. I'm sure you could make jpegs on the client--I'm just not sure how!You send the new byteArray to a server page as the .data field in a URLRequest. A

Re: [flexcoders] ActionScript setting width to 100%

2006-06-02 Thread Tim Scollick
Assuming percentWidth is depricated,Is that documented somewhere? Where can I find out which other deprecated code pieces I am using regularily?On 6/2/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Friday 02 June 2006 12:36, shravan kumar wrote: myButton.percentWidth = 100;Assuming

Re: [flexcoders] How up upload a ByteArray to PHP on the server?

2006-06-06 Thread Tim Scollick
I might be wrong but I think that if you wanted it in the files array, you would have to:1. Get the ByteArray.2. Send it to the server to make the jpg.3. Load the jpg into Flash.4. Send it again in the files array. I think it would be easier and more effiicient to send the ByteArray to make the

Re: [flexcoders] Re: Uh oh Ajax...

2006-06-14 Thread Tim Scollick
This is my favourite:Future vulnerabilities are likely to be found in mash-ups, the combination of a known service based on Ajax, such as Google Maps, and some service added on top of them.OMG. Now, those hackers totally know the longitude AND the latitude of that coffee shop I was looking for

Re: [flexcoders] Does anyone know where to find flex icons

2006-06-15 Thread Tim Scollick
I know that the answer to this is probably obvious, but I want to make sure. Does this mean that I could give this .fla to a designer, get him/her to skin it and the application would look like the skin without changing any styling info in Flex (provided that they didn't change sizes, instance

Re: [flexcoders] F2B3: realtime sound processing from microphone

2006-06-15 Thread Tim Scollick
Check SoundMixer.computeSpectrum. I've done it with mp3's. Not sure about the mic, but it should work.On 6/15/06, Francisco Martin B. [EMAIL PROTECTED] wrote: Hi all, Is there any way to process the captured audio from microphone? We can process bitmap data at

Re: [flexcoders] Applet invocation using Flex

2006-06-21 Thread Tim Scollick
I think that the only way that you could do this would be using Chritophe Coenraets' iFrame trick:http://coenraets.com/viewarticle.jsp?articleId=95 On 6/21/06, tinywhistles [EMAIL PROTECTED] wrote: Hi Is it possible to call an applet class from a MXML file? I am