Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

ydn-flash · Yahoo! Flash Developer Group

The Yahoo! Groups Product Blog

Check it out!

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 1429 - 1460 of 2433   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#1429 From: "tripp.bridges" <trippb@...>
Date: Mon Dec 1, 2008 6:33 pm
Subject: Re: TimeAxis crossing days
tripp.bridges
Send Email Send Email
 
Hi,
There are some issues with the time axis that we are working on for a
future release. If possible, please send me your code or a test link
and I'll take a look at it to see if there is a possible workaround
for you.

Thanks,
Tripp
--- In ydn-flash@yahoogroups.com, "fitzgers_98" <fitzgers@...> wrote:
>
> I am building an application with a chart with a time axis with the
> major time unit set to hours.
>
> The challenge I am facing is that the chart is breaking in odd ways
> when crossing over days. In other words, my chart tracks data coming
> in starting at 5pm and ending at 4am the next day. This is causing odd
> things to happen on the chart.
>
> Has anyone been successful at getting a Astra line chart with a time
> axis to cross midnight without problems? Any tips would be helpful.
>
> thx
>

#1430 From: "dana22cc" <dana22cc@...>
Date: Fri Dec 5, 2008 12:35 pm
Subject: Stacked Carousel items number
dana22cc
Send Email Send Email
 
Hello!
I am exploring the example for the Stacked Carousel given here:
http://developer.yahoo.com/flash/astra-flash/carousel/examples.html

And the problem is:
I want to expand the number of pictures to display, but when i put
more than 11 pictures, for instance 13 pics the label of the first one
doesn't show, and the second gets a strange background. All the others
look normal.

Help please...


Dana

#1431 From: "tripp.bridges" <trippb@...>
Date: Sat Dec 6, 2008 4:48 am
Subject: Re: Stacked Carousel items number
tripp.bridges
Send Email Send Email
 
Hi Dana,
Do you have a sample of your code that I can see?

Thanks,
Tripp
--- In ydn-flash@yahoogroups.com, "dana22cc" <dana22cc@...> wrote:
>
> Hello!
> I am exploring the example for the Stacked Carousel given here:
> http://developer.yahoo.com/flash/astra-flash/carousel/examples.html
>
> And the problem is:
> I want to expand the number of pictures to display, but when i put
> more than 11 pictures, for instance 13 pics the label of the first one
> doesn't show, and the second gets a strange background. All the others
> look normal.
>
> Help please...
>
>
> Dana
>

#1432 From: "lelander" <lelander@...>
Date: Wed Dec 10, 2008 2:45 am
Subject: Re: Still a noob :(
lelander
Send Email Send Email
 
Hello!
I'm having the same issue.  I'm using Flex 3.0.2 and Flash player 10.
  However, I wasn't as lucky about
restarting my code and having it 'work.'  I get a null object
reference, which is the weather result object, because of this error:

Domain weather.yahooapis.com does not specify a meta-policy.  Applying
default meta-policy 'master-only'.  This configuration is deprecated.

Any help would be greatly appreciated!
Thanks,
JP

--- In ydn-flash@yahoogroups.com, "superbokbok" <superbokbok@...> wrote:
>
> I used to think I wasn't a noob but now I'm not sure anymore :P
> After modifying the Yahoo Weather Example for my needs, I keep getting
> the meta-policy error:
>
> Warning: Domain weather.yahooapis.com does not specify a meta-policy.
>  Applying default meta-policy 'all'.  This configuration is
> deprecated.  See http://www.adobe.com/go/strict_policy_files to fix
> this problem.
>
> I had this working a while ago but now i can't make any calls to the
> api! What am I missing here??
>
> cheers
> ep
>

#1433 From: "cksachdev" <cksachdev@...>
Date: Wed Dec 10, 2008 11:00 am
Subject: ComponentShim fla for Yahoo Astra
cksachdev
Send Email Send Email
 
I am not able to see the ComponentShim fla file for Yahoo Astra
components, I want to see how ComponentShim fla is created and how
Shared assets are used e.g. focusRectangle etc. Please help me with this.


Thank You

#1434 From: "Josh Tynjala" <josh@...>
Date: Wed Dec 10, 2008 5:10 pm
Subject: Re: ComponentShim fla for Yahoo Astra
joshtynjala
Send Email Send Email
 
No shim FLAs are included with Astra. They are automatically generated
during the build process and deleted once each compiled shim is copied
to its respective component FLA.

Shims are a collection of pre-compiled classes. Nothing more. Shared
assets like skins are not used by the shim at all. You can best see
how shared assets get used by opening up Adobe's main
UserInterface.fla file. Yahoo!'s FLAs are slightly different, but they
still work the same. Each component is separated into its own FLA
(with a separate shim) because they are created by separate
developers, and its easier to build and test them individually.

As far as shared assets go, if two symbols are in the same library
folder with the same name, they must be the same version (cannot be
modified at all or Flash will display a dialog asking to replace the
symbol). The focusRectSkin, for instance, is the same in the Astra
components as in Adobe's components. A symbol can appear in multiple
components from separate FLA files, and as long as it is unmodified
and at the same location in the library, it just works.

Hope that helps,

- Josh

On Wed, Dec 10, 2008 at 3:00 AM, cksachdev <cksachdev@...> wrote:
> I am not able to see the ComponentShim fla file for Yahoo Astra
> components, I want to see how ComponentShim fla is created and how
> Shared assets are used e.g. focusRectangle etc. Please help me with this.
>
> Thank You
>
>

#1436 From: "hackmetal2" <hackmetal2@...>
Date: Thu Dec 11, 2008 3:45 pm
Subject: Question about Tree
hackmetal2
Send Email Send Email
 
Hello =)
I have a little question.
I saw that Tree class is extending the List Class, but I want to get
the number of items currently displayed (and expended) and the only
properties rowCount and numChildren don't return that.

example :

+Item Dir 1
-Item Dir 2
  |-item file 1
  |-item file 2
+Item Dir 3
+Item Dir 4

Here I get 6 items displayed.
So do you think we can get that ?

Thank's a lot and excuse my english =)

#1437 From: alex winx <winxalex@...>
Date: Thu Dec 11, 2008 12:13 am
Subject: Changing HV Panes at Runtime (Form)
winxalex
Send Email Send Email
 
If you interested I'll share the code.





#1438 From: "irdogtag" <goodboy.php@...>
Date: Fri Dec 12, 2008 12:26 am
Subject: Re: Changing HV Panes at Runtime (Form)
irdogtag
Send Email Send Email
 
--- In ydn-flash@yahoogroups.com, alex winx <winxalex@...> wrote:
>
> If you interested I'll share the code.
>
Share it, please.

#1439 From: "alona20008" <alona20008@...>
Date: Mon Dec 15, 2008 1:10 pm
Subject: Does somebody knows how I get access my flesh object API from widget script??
alona20008
Send Email Send Email
 
I want to use my flash component that has some internal call defined
with Flex ExternalInterface. When I try to call it from widget script I
get error.
Does somebody knows how I get access my flesh object from widget
script??

10x

#1440 From: "Allen Rabinovich" <allenrabinovich@...>
Date: Wed Dec 17, 2008 9:21 pm
Subject: Re: Question about Tree
allenrabinovich
Send Email Send Email
 
Since the number of items currently exposed is the same as the length of the
dataProvider, you can use YourTreeInstance.dataProvider.length to get that
number.

This includes the items in branches that may be open but beyond the view of the
tree (i.e.
you have to scroll to get to them). Let me know if that's what you want, or if
you want to
get the number of only the visible items, not the items you have to scroll to
get to.

Best,
Allen

--- In ydn-flash@yahoogroups.com, "hackmetal2" <hackmetal2@...> wrote:
>
> Hello =)
> I have a little question.
> I saw that Tree class is extending the List Class, but I want to get
> the number of items currently displayed (and expended) and the only
> properties rowCount and numChildren don't return that.
>
> example :
>
> +Item Dir 1
> -Item Dir 2
>  |-item file 1
>  |-item file 2
> +Item Dir 3
> +Item Dir 4
>
> Here I get 6 items displayed.
> So do you think we can get that ?
>
> Thank's a lot and excuse my english =)
>

#1442 From: "tripp.bridges" <trippb@...>
Date: Thu Dec 18, 2008 4:43 pm
Subject: Re: Extension Manager get error
tripp.bridges
Send Email Send Email
 
Hi,
Which version of the flash ide do you have installed on your machine?
The error message indicates that you need the extension was not
installed because you need to have Flash CS3 or later. Flash CS3 (or
higher) is a prerequisite for using ASTRA Flash Components.

Thanks,
Tripp

--- In ydn-flash@yahoogroups.com, "zaphikelsama" <zaphikelsama@...> wrote:
>
> Hello
> I have a little problem.
> I would install the ASTRA Flash Components but I get error.
> I had install Adobe Extension Manager CS4 (link from Installation
> Instructions show me the A.E.M. CS4 side) and CS3 on several time.
> Then I will klick at Astra.mxp and the Adobe Extension Manager show me
> the Messange:
> "Diese Erweiterung erfordert folgende Produkte´: (Version Flash CS3
> oder höher) Die Erweiterung wird nicht installiert." (is german)
> How can I install the Astra.mxp??? Both programms get an error, but I
> would use the Asrta
> I hope somebody can help me.
>
> thanks
>

#1443 From: "jeremysavoy" <jeremysavoy@...>
Date: Fri Dec 19, 2008 4:27 pm
Subject: Flex 3, Yahoo! Map 0.9.3, YahooMap_SampleSearch custom component compiler errors
jeremysavoy
Send Email Send Email
 
I saw the example at:

http://developer.yahoo.com/flash/maps/examples/YahooMap_SampleSearch/YahooMap_Sa\
mpleSearch.html

I took the source mxml, converted Application tags to Canvas tags to
use this example as is, as a starting point, but when I compile I get
the following error, repeated 10 times for 10 different undefined
methods ...

1061: Call to a possibly undefined method addPanControl through a
reference with static type com.myapp.view:YahooMaps

When I take the same source but in a new project and as the main
application, I don't get any compiler errors. I do have the swc in my
/libs/ directory along with several other swc's and have no issues
accessing their methods.

Please advise.

#1444 From: "Jim Cook" <yahoo@...>
Date: Mon Dec 22, 2008 5:37 am
Subject: Re: Astra Flash in FlashDeveloper IDE or Flex?
oravecz
Send Email Send Email
 
What about those of us using ActionScript development without Flash
development environment. Is there a straight forward way of using
Astra in this environment, or in a Maven build script?

Thanks,
Jim

> Personally, I don't like the idea of Yahoo! creating an extra Astra
> SWC for use with the Flex SDK because the SWC can only contain the
> Astra components. Everyone will still be forced to export the core
> components (Button, List, etc) from Flash CS3 manually. If you're
> already doing that, then it's easy to add in the Astra components too.
>
> - Josh

#1445 From: "tripp.bridges" <trippb@...>
Date: Mon Dec 22, 2008 6:56 pm
Subject: Re: Astra Flash in FlashDeveloper IDE or Flex?
tripp.bridges
Send Email Send Email
 
Hi,

The short answer is no. Since ASTRA Flash components are built on top
of the CS3 component architecture, you will need to have a copy of
Flash CS3 to create a SWC for use in your build environment. Once your
SWC has been created, it can be used in any development environment as
long as it is included in your build scripts.

Thanks,
Tripp
--- In ydn-flash@yahoogroups.com, "Jim Cook" <yahoo@...> wrote:
>
> What about those of us using ActionScript development without Flash
> development environment. Is there a straight forward way of using
> Astra in this environment, or in a Maven build script?
>
> Thanks,
> Jim
>
> > Personally, I don't like the idea of Yahoo! creating an extra Astra
> > SWC for use with the Flex SDK because the SWC can only contain the
> > Astra components. Everyone will still be forced to export the core
> > components (Button, List, etc) from Flash CS3 manually. If you're
> > already doing that, then it's easy to add in the Astra components too.
> >
> > - Josh
>

#1446 From: "Jim Cook" <yahoo@...>
Date: Mon Dec 22, 2008 7:09 pm
Subject: Re: Astra Flash in FlashDeveloper IDE or Flex?
oravecz
Send Email Send Email
 
Thanks for the reply.

Now, I own Flash, so is there step-by-step examples on how to export a
single component, say layout managers, to a SWC so it can be used
outside of Flash?

Thanks

--- In ydn-flash@yahoogroups.com, "tripp.bridges" <trippb@...> wrote:
>
> Hi,
>
> The short answer is no. Since ASTRA Flash components are built on top
> of the CS3 component architecture, you will need to have a copy of
> Flash CS3 to create a SWC for use in your build environment. Once your
> SWC has been created, it can be used in any development environment as
> long as it is included in your build scripts.
>
> Thanks,
> Tripp
> --- In ydn-flash@yahoogroups.com, "Jim Cook" <yahoo@> wrote:
> >
> > What about those of us using ActionScript development without Flash
> > development environment. Is there a straight forward way of using
> > Astra in this environment, or in a Maven build script?
> >
> > Thanks,
> > Jim
> >
> > > Personally, I don't like the idea of Yahoo! creating an extra Astra
> > > SWC for use with the Flex SDK because the SWC can only contain the
> > > Astra components. Everyone will still be forced to export the core
> > > components (Button, List, etc) from Flash CS3 manually. If you're
> > > already doing that, then it's easy to add in the Astra
components too.
> > >
> > > - Josh
> >
>

#1447 From: "tripp.bridges" <trippb@...>
Date: Mon Dec 22, 2008 7:36 pm
Subject: Re: Astra Flash in FlashDeveloper IDE or Flex?
tripp.bridges
Send Email Send Email
 
First you'll need to make sure that you have installed the ASTRA
components in your flash ide. (instructions can be found here:
http://developer.yahoo.com/flash/astra-flash/)

After that, do the following:
1. Create a new fla.
2. Add the component(s) that you would like to create a SWC for to you
library.
3a. Right click on the component and select Export SWC file... from
the menu

or

3b. Choose File > Export > Export Movie. Name your file, save. A
dialog box will appear, check the Export SWC option and click ok.

More information can be found in these articles:

http://www.moock.org/blog/archives/000253.html
http://joshblog.net/2008/02/10/how-to-use-the-flash-cs3-component-set-in-a-flex-\
builder-actionscript-project/

Additionally, the layout containers are built using the ASTRA Layout
Utility. If you prefer, you can use these class files directly in any
Actionscript project by downloading the ASTRA utilities.

Layout utility: http://developer.yahoo.com/flash/astra-utils/layout/
Utilities library: http://developer.yahoo.com/flash/astra-utils/

I hope this helps.

Thanks,
Tripp

--- In ydn-flash@yahoogroups.com, "Jim Cook" <yahoo@...> wrote:
>
> Thanks for the reply.
>
> Now, I own Flash, so is there step-by-step examples on how to export a
> single component, say layout managers, to a SWC so it can be used
> outside of Flash?
>
> Thanks
>
> --- In ydn-flash@yahoogroups.com, "tripp.bridges" <trippb@> wrote:
> >
> > Hi,
> >
> > The short answer is no. Since ASTRA Flash components are built on top
> > of the CS3 component architecture, you will need to have a copy of
> > Flash CS3 to create a SWC for use in your build environment. Once your
> > SWC has been created, it can be used in any development environment as
> > long as it is included in your build scripts.
> >
> > Thanks,
> > Tripp
> > --- In ydn-flash@yahoogroups.com, "Jim Cook" <yahoo@> wrote:
> > >
> > > What about those of us using ActionScript development without Flash
> > > development environment. Is there a straight forward way of using
> > > Astra in this environment, or in a Maven build script?
> > >
> > > Thanks,
> > > Jim
> > >
> > > > Personally, I don't like the idea of Yahoo! creating an extra
Astra
> > > > SWC for use with the Flex SDK because the SWC can only contain the
> > > > Astra components. Everyone will still be forced to export the core
> > > > components (Button, List, etc) from Flash CS3 manually. If you're
> > > > already doing that, then it's easy to add in the Astra
> components too.
> > > >
> > > > - Josh
> > >
> >
>

#1448 From: "teo.kenneth" <kenneth.teo@...>
Date: Tue Dec 23, 2008 7:34 pm
Subject: Getting the selectedItem in the dropdown list for AutoCompleteManager
teo.kenneth
Send Email Send Email
 
Been looking for a way to get the selectedItem in the dropdown list
after making a selection. Has anyone done it yet?

#1449 From: "jeremysavoy" <jeremysavoy@...>
Date: Tue Dec 23, 2008 8:26 pm
Subject: Flex 3 Button with drop down list
jeremysavoy
Send Email Send Email
 
Not sure how to implement this. I want to have a button, that has an
option for a drop down list that may display other options. For
example, and "Add" button, with the option to "Add Based on Selected
Record" .... similar to the Run button in Flex Builder, where you can
select the green arrow to run the default application, or the down
arrow for choices of which Flex app to run.

Seems like you could use a combo box or list combined with a button,
I'm just not really sure where to start .. any help would be
appreciated !!

#1450 From: "alariccole" <alaric@...>
Date: Tue Dec 23, 2008 8:58 pm
Subject: Re: Flex 3 Button with drop down list
alariccole
Send Email Send Email
 
Here's a simple solution: look for the PopUpButton or, perhaps an
easier way, the PopUpMenuButton. The PopUpMenuButton will display a
button and a popup list. Clicking on the list changes the default
action of the main button. If that's not what you're looking for,
PopUpButton allows you to alter this behavior, and pop up anything you
like.

Hope this help.

Alaric

--- In ydn-flash@yahoogroups.com, "jeremysavoy" <jeremysavoy@...> wrote:
>
> Not sure how to implement this. I want to have a button, that has an
> option for a drop down list that may display other options. For
> example, and "Add" button, with the option to "Add Based on Selected
> Record" .... similar to the Run button in Flex Builder, where you can
> select the green arrow to run the default application, or the down
> arrow for choices of which Flex app to run.
>
> Seems like you could use a combo box or list combined with a button,
> I'm just not really sure where to start .. any help would be
> appreciated !!
>

#1451 From: "alariccole" <alaric@...>
Date: Tue Dec 23, 2008 9:38 pm
Subject: Re: Getting the selectedItem in the dropdown list for AutoCompleteManager
alariccole
Send Email Send Email
 
There is a selectedItem as well as a selectedLabel. However, they may
not work as expected due to the nature of the AutoComplete--once an
item is chosen, the list is typically set to an empty dataprovider and
thus will not have a selectedItem. Let me know what you'd expect, and
I may be able to rework it to add that functionality.

--- In ydn-flash@yahoogroups.com, "teo.kenneth" <kenneth.teo@...> wrote:
>
> Been looking for a way to get the selectedItem in the dropdown list
> after making a selection. Has anyone done it yet?
>

#1452 From: "mores" <stephen.more@...>
Date: Tue Dec 23, 2008 10:27 pm
Subject: can AlertManager be used within a Flex application ?
mores
Send Email Send Email
 
I have found the flex Alert to be limiting. It does not wrap text for
smaller width windows.

I see that the AlertManager has a maxWidth so I thought I would give
it a try, but all I get is a StackOverflow error.

Can the Astra AlertManager be used in flex ?

#1453 From: "tripp.bridges" <trippb@...>
Date: Tue Dec 23, 2008 11:00 pm
Subject: Re: can AlertManager be used within a Flex application ?
tripp.bridges
Send Email Send Email
 
Hi,
If you create a SWC(s) from the ASTRA Flash components and the CS3
core components, you can use them in your flex projects. A discussion
on the topic can be found in this thread:
http://tech.groups.yahoo.com/group/ydn-flash/message/1447

The error that you describe, sounds like an error that existed in the
Flex 2 SDK. It should be fixed in the Flex 3 SDK.
http://bugs.adobe.com/jira/browse/SDK-18234

If you need to use Flex 2 for any reason, there is a separate patch.
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb401493


I hope this helps.

Thanks,
Tripp
--- In ydn-flash@yahoogroups.com, "mores" <stephen.more@...> wrote:
>
> I have found the flex Alert to be limiting. It does not wrap text for
> smaller width windows.
>
> I see that the AlertManager has a maxWidth so I thought I would give
> it a try, but all I get is a StackOverflow error.
>
> Can the Astra AlertManager be used in flex ?
>

#1454 From: "teo.kenneth" <kenneth.teo@...>
Date: Wed Dec 24, 2008 4:09 am
Subject: Re: Getting the selectedItem in the dropdown list for AutoCompleteManager
teo.kenneth
Send Email Send Email
 
Hi,

I've noticed that the dataprovider becomes the first item so i have
tried adding event listeners to the change and close event. However,
the behavior is not consistent.

I was hoping for either of the following:

1) upon selecting the item in the dropdown, a bindable var of the
autocompletemanager can be set. That way i can do something like this:
var item:Object = autocompletemgr.selectedItem;

2) set the selecteditem on the change event.



I really like this autocompletemanager. Will be great if the above can
be done as i believe most of us do not just need the selectedLabel.








--- In ydn-flash@yahoogroups.com, "alariccole" <alaric@...> wrote:
>
> There is a selectedItem as well as a selectedLabel. However, they may
> not work as expected due to the nature of the AutoComplete--once an
> item is chosen, the list is typically set to an empty dataprovider and
> thus will not have a selectedItem. Let me know what you'd expect, and
> I may be able to rework it to add that functionality.
>
> --- In ydn-flash@yahoogroups.com, "teo.kenneth" <kenneth.teo@> wrote:
> >
> > Been looking for a way to get the selectedItem in the dropdown list
> > after making a selection. Has anyone done it yet?
> >
>

#1455 From: "mores" <stephen.more@...>
Date: Wed Dec 24, 2008 1:46 pm
Subject: Re: can AlertManager be used within a Flex application ?
mores
Send Email Send Email
 
--- In ydn-flash@yahoogroups.com, "tripp.bridges" <trippb@...> wrote:
> The error that you describe, sounds like an error that existed in the
> Flex 2 SDK. It should be fixed in the Flex 3 SDK.
> http://bugs.adobe.com/jira/browse/SDK-18234

Thanks, the bug is also in Flex 3.0 I had to upgrade to 3.2 to get rid
of that StackOverflow error.

Currently I can not get the AlertManager to obey maxWidth:

var props:Object = new Object;
props.maxWidth = 100;

AlertManager.createAlert( this, "Hello", "Alert", null, null, null,
true, props );


Second, there seems to be a bug during the first invocation of the Alert.

I click a button to display the Alert, the stage gets fuzzy but
nothing is displayed, I have to move the cursor off the button then
back over the button to have the alert actually show. Any future
invocations of the Alert work as expected.

I could post a jing somewhere if that would help.

-Steve


> --- In ydn-flash@yahoogroups.com, "mores" <stephen.more@> wrote:
> >
> > I have found the flex Alert to be limiting. It does not wrap text for
> > smaller width windows.
> >
> > I see that the AlertManager has a maxWidth so I thought I would give
> > it a try, but all I get is a StackOverflow error.
> >
> > Can the Astra AlertManager be used in flex ?
> >
>

#1456 From: "mores" <stephen.more@...>
Date: Mon Dec 29, 2008 7:42 pm
Subject: Pie Chart problems
mores
Send Email Send Email
 
I am trying to display a simple pie chart, but all I get is a blank
screen.

         private function onDataResult(e:AcknowledgeMessage):void {
             trace("Data Ok");
             var data_arr:ArrayCollection = e.body as ArrayCollection;
             trace( data_arr.length );
             for( var i:int = 0; i < data_arr.length; i++)
             {
                 trace( i );
                 var data:Object = data_arr[ i ];
                 trace( data.Category + " " + data.Amount );
             }

             var pie:PieChart = new PieChart();
             pie.dataProvider = data_arr;
             pie.dataField = "Amount";
             pie.categoryField = "Category";
             addChild( pie );

             trace( pie.height + " " + pie.width );
             trace( pie.x + " " + pie.y );
             trace( pie.visible );
         }


The trace output looks like this:
Data Ok
2
0
No 4
1
Yes 31
300 400
0 0
true


Why is my chart not being shown ?

#1457 From: "Josh Tynjala" <josh@...>
Date: Mon Dec 29, 2008 7:49 pm
Subject: Re: Pie Chart problems
joshtynjala
Send Email Send Email
 
Since they are not Flex components, ArrayCollection is not a supported
dataProvider type for the Astra charts. Use Array or XMLList.

- Josh

On Mon, Dec 29, 2008 at 11:42 AM, mores <stephen.more@...> wrote:
> I am trying to display a simple pie chart, but all I get is a blank
> screen.
>
> private function onDataResult(e:AcknowledgeMessage):void {
> trace("Data Ok");
> var data_arr:ArrayCollection = e.body as ArrayCollection;
> trace( data_arr.length );
> for( var i:int = 0; i < data_arr.length; i++)
> {
> trace( i );
> var data:Object = data_arr[ i ];
> trace( data.Category + " " + data.Amount );
> }
>
> var pie:PieChart = new PieChart();
> pie.dataProvider = data_arr;
> pie.dataField = "Amount";
> pie.categoryField = "Category";
> addChild( pie );
>
> trace( pie.height + " " + pie.width );
> trace( pie.x + " " + pie.y );
> trace( pie.visible );
> }
>
> The trace output looks like this:
> Data Ok
> 2
> 0
> No 4
> 1
> Yes 31
> 300 400
> 0 0
> true
>
> Why is my chart not being shown ?
>
>

#1458 From: "mores" <stephen.more@...>
Date: Mon Dec 29, 2008 9:00 pm
Subject: Re: Pie Chart problems
mores
Send Email Send Email
 
Thanks.

Perhaps the documentation could get updated to say "Use Array or XMLList"

http://developer.yahoo.com/flash/astra-flash/classreference/com/yahoo/astra/fl/c\
harts/Chart.html#dataProvider

--- In ydn-flash@yahoogroups.com, "Josh Tynjala" <josh@...> wrote:
> Since they are not Flex components, ArrayCollection is not a supported
> dataProvider type for the Astra charts. Use Array or XMLList.
>
> - Josh
>
> On Mon, Dec 29, 2008 at 11:42 AM, mores <stephen.more@...> wrote:
> > I am trying to display a simple pie chart, but all I get is a blank
> > screen.
> >
> > private function onDataResult(e:AcknowledgeMessage):void {
> > trace("Data Ok");
> > var data_arr:ArrayCollection = e.body as ArrayCollection;
> > trace( data_arr.length );
> > for( var i:int = 0; i < data_arr.length; i++)
> > {
> > trace( i );
> > var data:Object = data_arr[ i ];
> > trace( data.Category + " " + data.Amount );
> > }
> >
> > var pie:PieChart = new PieChart();
> > pie.dataProvider = data_arr;
> > pie.dataField = "Amount";
> > pie.categoryField = "Category";
> > addChild( pie );
> >
> > trace( pie.height + " " + pie.width );
> > trace( pie.x + " " + pie.y );
> > trace( pie.visible );
> > }
> >
> > The trace output looks like this:
> > Data Ok
> > 2
> > 0
> > No 4
> > 1
> > Yes 31
> > 300 400
> > 0 0
> > true
> >
> > Why is my chart not being shown ?
> >
> >
>

#1459 From: "mores" <stephen.more@...>
Date: Mon Dec 29, 2008 9:55 pm
Subject: Re: can AlertManager be used within a Flex application ?
mores
Send Email Send Email
 
Are there any examples of skinning a chart with flex ?

--- In ydn-flash@yahoogroups.com, "tripp.bridges" <trippb@...> wrote:
> If you create a SWC(s) from the ASTRA Flash components and the CS3
> core components, you can use them in your flex projects. A discussion
> on the topic can be found in this thread:
> http://tech.groups.yahoo.com/group/ydn-flash/message/1447
>
> The error that you describe, sounds like an error that existed in the
> Flex 2 SDK. It should be fixed in the Flex 3 SDK.
> http://bugs.adobe.com/jira/browse/SDK-18234
>
> If you need to use Flex 2 for any reason, there is a separate patch.
> http://kb.adobe.com/selfservice/viewContent.do?externalId=kb401493
>
>
> I hope this helps.
>
> Thanks,
> Tripp
> --- In ydn-flash@yahoogroups.com, "mores" <stephen.more@> wrote:
> >
> > I have found the flex Alert to be limiting. It does not wrap text for
> > smaller width windows.
> >
> > I see that the AlertManager has a maxWidth so I thought I would give
> > it a try, but all I get is a StackOverflow error.
> >
> > Can the Astra AlertManager be used in flex ?
> >
>

#1460 From: "tripp.bridges" <trippb@...>
Date: Mon Dec 29, 2008 10:32 pm
Subject: Re: can AlertManager be used within a Flex application ?
tripp.bridges
Send Email Send Email
 
Hi,
There are no examples of using the Astra Chart component with flex.
This link should still be helpful.
http://developer.yahoo.com/flash/astra-flash/charts/using.html#skins

Is there a specific issue that you are having in skinning the chart?

Thanks,
Tripp
--- In ydn-flash@yahoogroups.com, "mores" <stephen.more@...> wrote:
>
> Are there any examples of skinning a chart with flex ?
>
> --- In ydn-flash@yahoogroups.com, "tripp.bridges" <trippb@> wrote:
> > If you create a SWC(s) from the ASTRA Flash components and the CS3
> > core components, you can use them in your flex projects. A discussion
> > on the topic can be found in this thread:
> > http://tech.groups.yahoo.com/group/ydn-flash/message/1447
> >
> > The error that you describe, sounds like an error that existed in the
> > Flex 2 SDK. It should be fixed in the Flex 3 SDK.
> > http://bugs.adobe.com/jira/browse/SDK-18234
> >
> > If you need to use Flex 2 for any reason, there is a separate patch.
> > http://kb.adobe.com/selfservice/viewContent.do?externalId=kb401493
> >
> >
> > I hope this helps.
> >
> > Thanks,
> > Tripp
> > --- In ydn-flash@yahoogroups.com, "mores" <stephen.more@> wrote:
> > >
> > > I have found the flex Alert to be limiting. It does not wrap
text for
> > > smaller width windows.
> > >
> > > I see that the AlertManager has a maxWidth so I thought I would give
> > > it a try, but all I get is a StackOverflow error.
> > >
> > > Can the Astra AlertManager be used in flex ?
> > >
> >
>

Messages 1429 - 1460 of 2433   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help