[flexcoders] How to load a file from a relative path with Air 2.0

2010-04-15 Thread Davis Ford
Hi, so I am using FlashBuilder 4, and I'm using FlexUnit4 to create unit tests. For some tests I need to load a file as input. I can't seem to load a file from a relative path. All the air examples have you use the static defined places and want you to navigate from there (e.g. File.documentsDir

Re: [flexcoders] What is the MXML syntax for this?

2010-04-15 Thread Amanda Machutta
If you want to do it purely in MXML, I would just use a [Bindable] variable. So you can do this: Then you can change the variable "myvar" to store any image you like and it will automatically update the mxml. So to add what Alex wrote you could do this: Amanda On Wed,

Re: [flexcoders] What is the MXML syntax for this?

2010-04-15 Thread Alex Harui
You can go as deep as you want. What you are doing is declaring a component, then naming one of its properties, then declaring the value of the property to be another component. Once you do that you can name one of that component’s properties and define its value to be another component, etc.

RE: [flexcoders] What is the MXML syntax for this?

2010-04-15 Thread Christopher McArthur
Thanks for the response Alex. And this works great for my test example! However, I am curious, is this as deep as you can go, one level? Or is it possible to nest it deeper? Just trying to get an idea of whats allowed and how its actually working. Nesting one level deeper, in a si

[flexcoders] flex as3 programming pdf

2010-04-15 Thread ew6014
hi guys does anyone know where to get the updated version of PROGRAMMING ACTIONSCRIPT 3.0 FOR FLEX pdf? the latest version i have is 2009. does anyone know where to get latest? that resource is a huge godsend for explaining actionscript in a clear and provides tons of examples ... :)

Re: [flexcoders] Re: highlight a cell in datagrid

2010-04-15 Thread Greg Hess
I am having the same challenge right now too. My DataGrid is a custom extension and did try using the protected highlightItemRenderer with a public method I exposed but didnt work for me, even with an invalidateDisplayList and validateNow after setting the poperty. Many web examples do it by sett

[flexcoders] Re: Exceeding Flash's Capabilities?

2010-04-15 Thread trefalgar
66 line series with 218 plot points each for a total of 14388 plot points, if we're looking for specifics. It's a lot of data that doesn't look particularly good because of the sheer volume, but it's what they want. I'm using a line chart. Using AMF3 to retrieve the data. The time it takes to q

[flexcoders] Re: Uploading An Image Without Browse

2010-04-15 Thread James
My app has a html component which allows the user to enter a website into it. When the website is fully loaded a snapshot is made of the html component and then saved in the application directory automatically. I want this file to then automatically upload to my server rather than just being sav

Re: [flexcoders] Uploading An Image Without Browse

2010-04-15 Thread Steve Mathews
When you say "take a snapshot", what do you mean? On Thu, Apr 15, 2010 at 10:52 AM, James wrote: > Is there any way to let a user upload an image from an air app without > having them browse for it? I want to let my users enter their name into a > text input, take a snapshot and then the image wi

[flexcoders] Re: MXML Component Call Event in Parent

2010-04-15 Thread valdhor
I don't really have any simple examples. I did look at the documentation for the Button Class (http://livedocs.adobe.com/flex/3/langref/flash/display/InteractiveObject.html#event:click) and noted the bubbles property is set to true so the button click should bubble up to your parent component.

[flexcoders] Re: highlight a cell in datagrid

2010-04-15 Thread valdhor
Use the data grid highlightItemRenderer? --- In flexcoders@yahoogroups.com, "sathish_mca_raja" wrote: > > I want to use 2 selection indicators in a data grid at the same time. > > I will use one to highlight a row. > > I will use another to highlight a particular cell in the highlighted row in

Re: [flexcoders] Re: MXML Component Call Event in Parent

2010-04-15 Thread Angelo Anolin
Hi Valdhor, Care to show some examples? Or some links? Thanks. Angelo From: valdhor To: flexcoders@yahoogroups.com Sent: Thu, 15 April, 2010 12:14:11 Subject: [flexcoders] Re: MXML Component Call Event in Parent   Make sure the event is set to bubble. Once

[flexcoders] Uploading An Image Without Browse

2010-04-15 Thread James
Is there any way to let a user upload an image from an air app without having them browse for it? I want to let my users enter their name into a text input, take a snapshot and then the image will be uploaded to my server as whatevernametheuserhasentered.jpg Is there any way to do this and does

Re: [flexcoders] flex online training

2010-04-15 Thread Kerry Thompson
Manoj Kumar wrote: is there any online flex training Could you please let me know > Hi Manoj, You shouldn't hijack a thread. If you have a new question, don't reply to an existing thread. Start a new one. Did you try Google? A search on "Adobe flex online training" turns up dozens of site

Re: [flexcoders] Re: flex online training

2010-04-15 Thread Manoj Kumar
Thanks --- On Thu, 4/15/10, valdhor wrote: From: valdhor Subject: [flexcoders] Re: flex online training To: flexcoders@yahoogroups.com Date: Thursday, April 15, 2010, 12:27 PM   One place I always recommend is the Learn Flex in a Week at http://www.adobe. com/devnet/ flex/videotraini ng

[flexcoders] Re: flex online training

2010-04-15 Thread valdhor
One place I always recommend is the Learn Flex in a Week at http://www.adobe.com/devnet/flex/videotraining/ --- In flexcoders@yahoogroups.com, Manoj Kumar wrote: > > Hi, >   > is there any online flex training Could you please let me know >   > Regards, >   > Manoj. > > --- On Thu, 4/15/

[flexcoders] Datagrid cell's x and y coordinates

2010-04-15 Thread sathish_mca_raja
I want a way to find out the Datagrid cell's x and y coordinates.

[flexcoders] highlight a cell in datagrid

2010-04-15 Thread sathish_mca_raja
I want to use 2 selection indicators in a data grid at the same time. I will use one to highlight a row. I will use another to highlight a particular cell in the highlighted row in a different color. Please let me know if you have any ideas.

[flexcoders] How to skip null ColumnSeries values in a clustered ColumnChart?

2010-04-15 Thread peterdemling
(this is a simple but difficult problem; call-out to clever chart-coders): When displaying multiple ColumnSeries in a clustered ColumnChart (3.5 SDK), the default behavior is to allocate a blank space when one of the series has no value in the dataprovider. Below is a simple example (slightly m

[flexcoders] Re: MXML Component Call Event in Parent

2010-04-15 Thread valdhor
Make sure the event is set to bubble. Once it has, the event should bubble up the chain to the parent where an event listener should catch it. --- In flexcoders@yahoogroups.com, Angelo Anolin wrote: > > Hi FlexCoders, > > I have created a component consisting of some buttons which I am using in

[flexcoders] flex online training

2010-04-15 Thread Manoj Kumar
Hi,   is there any online flex training Could you please let me know   Regards,   Manoj. --- On Thu, 4/15/10, Zdenek Mikan wrote: From: Zdenek Mikan Subject: [flexcoders] EPUB reader in Flex To: flexcoders@yahoogroups.com Date: Thursday, April 15, 2010, 8:48 AM   Is there any open-so

[flexcoders] MXML Component Call Event in Parent

2010-04-15 Thread Angelo Anolin
Hi FlexCoders, I have created a component consisting of some buttons which I am using in another MXML component. How would I trigger from the parent component an event which was done inside the component.  For example, I clicked on a button on the component which I embedded, that should map to

[flexcoders] Re: Installation of Flex Builder 3 plugin on Eclipse 3.5

2010-04-15 Thread sgrosven2
Also, be aware that FB3 plugin is only supported through Eclipse 3.3. Beyond that, Adobe says "at your own risk"... we have successfully installed it on 3.4 (ganymede) but had troubles with 3.5 (galileo) and decided to wait until we could upgrade to fb4. --- In flexcoders@yahoogroups.com, s.m.sr

[flexcoders] Re: EPUB reader in Flex

2010-04-15 Thread valdhor
This may or may not help (As I understand it, it needs Flash Builder 4) http://opl.rit.edu/projects/page2pub/download --- In flexcoders@yahoogroups.com, Zdenek Mikan wrote: > > Is there any open-source project which implements EPUB reader in Flex? > > Thanks for any info > > Zdenek M >

Re: [flexcoders] EPUB reader in Flex

2010-04-15 Thread Weyert de Boer
Well, ePub is basically just HTML. As far as I am aware off... What about using the new text engine and load the text as HTML? That might work.

[flexcoders] EPUB reader in Flex

2010-04-15 Thread Zdenek Mikan
Is there any open-source project which implements EPUB reader in Flex? Thanks for any info Zdenek M

[flexcoders] Re: What is the MXML syntax for this?

2010-04-15 Thread valdhor
Try... --- In flexcoders@yahoogroups.com, "Christopher McArthur" wrote: > > I have a component, that has a property of type Image. I need to assign > a new Image component to it. this is trivial to do in action script. > But, how do I do it in MXML? > > > > Example: > > mxml: > > > >

[flexcoders] Loading FXG files at runtime

2010-04-15 Thread Pradeek
Hi is it possible to load FXG files at runtime and render them? Thanks.

Re: [flexcoders] SWC's vs. source

2010-04-15 Thread Oleg Sivokon
You can use SWC in three different ways: - external library (none of the SWC contents are included into the resulting SWF), this is if you want to have RSLs (runtime shared libraries). Example, you are developing an app that uses Cairngorm and has several modules. You would than link the Cairngorm

Re: [flexcoders] Installation of Flex Builder 3 plugin on Eclipse 3.5

2010-04-15 Thread Tom Chiverton
On Tuesday 13 Apr 2010, sachindev tripathi wrote: > Any one could please update my knowledge? FB3 and FB4 both allow you to make Flash applications, with or without the Flex framework, so calling it Flash Builder 4 makes more sense. -- Helping to biannually maintain seamless intuitive B2B scala

RE: [flexcoders] Re: With the latest eula agreement from Apple

2010-04-15 Thread Gregor Kiddie
I have no idea how Elips are doing it, but they haven’t got the Player code, so they must be pulling some other trick to get it all to hang together! From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Nick Collins Sent: 14 April 2010 23:54 To: flexcoders@yahoogr