[flexcoders] Is it possible to set a different framerate for a MovieClip?

2007-11-04 Thread Stephen Roy J. Tang
i.e. I have a MovieClip in my MXML, can I set it to use a framerate
different from the one used in ?

If it matters, I plan to do this for a MovieClip objected exported
from Flash CS3 using the Component Kit.

Thanks,

Roy



[flexcoders] Re: How to detect a *piece* of pie be clicked in Pie Chart?

2007-11-04 Thread flexawesome
any suggestions? thanks

--- In flexcoders@yahoogroups.com, "flexawesome" <[EMAIL PROTECTED]> wrote:
>
> Hey there,
> 
> I am working on pie chart( loads data from xml file), is there a way
> to click a piece of Pie chart to open a new window?
> 
> I can show the following data in pie chart by using flex charting
> components. but I would like to allow user to click any piece to load
> the site in a new window.
> 
> Does anybody know how to detect which piece of pie be clicked? if so I
> can use urlrequest to open the site.
> 
> Thanks
> 
> === xml file =
> 
> 
> 
> 
> yahoo.com
> 120
> www.yahoo.com
> 
> 
> 
> 
> google.com
> 90
> www.google.com
> 
> 
> 
> msn.com
> 150
> www.msn.com
> 
> 
> 
> 
> 
> ==
>




[flexcoders] is this a bug? - filter problems - sample app

2007-11-04 Thread joshuagatcke
Is this a flex bug? Run the simple app below, it contains 2 panels with text 
fields and 
combo boxes inside each. One panel has a custom drop shadow filter, the other 
has a 
normal panel drop shadow. You will notice, if you select the text in the 
textInput in the 
panel with the custom filter, the text highlight color is grey. You might also 
notice all the 
text in the custom drop shadow panel is weaker looking, even in the comboBox. 

Other problem, if you change the css for the combo box so that the 
letterSpacing is 
greater than zero (0), you will notice that the text in the comboBox inside the 
panel with 
the custom filter disappears. 

To be honest, I can't fathom how something as simple as a dropShadow filter on 
a panel 
can cause all these problems. I am starting to wonder if half the time I am 
chasing 
problems I have no control over. 

If anyone can offer an insight, it would be greatly appreciated. 
Thanks in advance, 




http://www.adobe.com/2006/mxml"; layout="absolute">






Panel{
backgroundColor:#fff;
headerHeight:0;
borderThicknessTop:1;
borderThicknessRight:1;
borderThicknessBottom:1;
borderThicknessLeft:1;
borderStyle:solid;
cornerRadius:5;
roundedBottomCorners:true;
dropShadowEnabled:false;
}

ComboBox{
cornerRadius: 12;
paddingLeft: 5;
paddingRight: 3;
paddingTop: 0;
paddingBottom: 0;
letterSpacing:0;
highlightAlphas: 1, 0;
fillAlphas: 1, 1, 1, 1;
fillColors: #ff, #cc, #ff, #ff;
color: #33;
borderColor: #dd;
borderAlpha:1;
fontWeight: normal;
}


















Re: [flexcoders] Re: Flex 2.0.1: itemRenderer won't get printed using PrintDataGrid

2007-11-04 Thread Muzak
Display the images as bitmapdata in the itemrenderer.
So rather than passing the image url to the itemrenderer, load the image 
upfront, transform into bitmapdata and pass that on to the 
itemrenderer.

Haven't tried it, but think it should work.

regards,
Muzak

- Original Message - 
From: "handitan" <[EMAIL PROTECTED]>
To: 
Sent: Monday, November 05, 2007 12:16 AM
Subject: [flexcoders] Re: Flex 2.0.1: itemRenderer won't get printed using 
PrintDataGrid


I try to use SuperImage but I couldn't get it to work as an
itemRenderer.

If there's any other way besides using SuperImage, I am all ears.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

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


[flexcoders] Re: Flex 2.0.1: itemRenderer won't get printed using PrintDataGrid

2007-11-04 Thread handitan
I try to use SuperImage but I couldn't get it to work as an 
itemRenderer.

If there's any other way besides using SuperImage, I am all ears.

--- In flexcoders@yahoogroups.com, "handitan" <[EMAIL PROTECTED]> wrote:
>
> Oh boy... you're the last person I expect to say that :( *sigh*
> 
> I will checkout the website. Thx for the info.
> 
> 
> --- In flexcoders@yahoogroups.com, "Alex Harui"  wrote:
> >
> > Printing images is hard because image loading is asynchronous.  
> Check
> > out SuperImage on quietlyscheming.com.  It may help.
> > 
> >  
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of handitan
> > Sent: Tuesday, October 23, 2007 3:14 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Flex 2.0.1: itemRenderer won't get printed 
> using
> > PrintDataGrid
> > 
> >  
> > 
> > Hi,
> > 
> > I have an interesting problem here.
> > FYI, I have searched through the forum, and reading the docs but 
I 
> > still couldn't find the solution. I think I do know what's the 
> > problem.
> > 
> > Here's the situation:
> > I have a datagrid with 3 columns. One of the columns has an 
> > itemRenderer that will display an image. This itemRenderer loads 
> the 
> > images in REAL-TIME <--- this is important for the issue that I 
am 
> > going to point out.
> > The image got displayed when I run the app ,and when I print the 
> > dataGrid by having it as a child of FlexPrintJob object will also 
> > print out the image.
> > 
> > Now here comes the problem:
> > As you all know, it's better to use PrintDataGrid for 
optimization, 
> > well-formatted output, yada yada 
> > 
> > So I include PrintDataGrid in my print function, assigning it 
with 
> > the neccessary dataProvider and columns, here's the example:
> > -
> > printView.thePrintDataGrid.dataProvider = 
> dataGridSource.dataProvider;
> > printView.thePrintDataGrid.columns = dataGridSource.columns;
> > -
> > And then add printView to the FlexPrintJob obj as its child:
> > -
> > printJob.addObject(printView);
> > -
> > 
> > After that, I ask the dataGrid to be printed again and the image 
> > won't be printed out.
> > So after quite long investigation, I found out that the images 
> don't 
> > get displayed because thePrintDataGrid doesn't have enough time 
to 
> > load the images. If I embed the image in compile-time using 
@Embed 
> > yada..yada..., the image will be printed but I don't want it to 
be 
> in 
> > compile-time.
> > 
> > Please enlighten this grasshopper.
> > 
> > So
> >
>




[flexcoders] How to detect a *piece* of pie be clicked in Pie Chart?

2007-11-04 Thread flexawesome
Hey there,

I am working on pie chart( loads data from xml file), is there a way
to click a piece of Pie chart to open a new window?

I can show the following data in pie chart by using flex charting
components. but I would like to allow user to click any piece to load
the site in a new window.

Does anybody know how to detect which piece of pie be clicked? if so I
can use urlrequest to open the site.

Thanks

=== xml file =




yahoo.com
120
www.yahoo.com




google.com
90
www.google.com



msn.com
150
www.msn.com





==



[flexcoders] Re: Is it possible to save an FLV to a Shared Local Object and open it later ?

2007-11-04 Thread helihobby
I guess the answer is that you can't save an FLV or SWF to a Shared
Local Object ?


:(

Regards,

Sean.

--- In flexcoders@yahoogroups.com, "helihobby" <[EMAIL PROTECTED]> wrote:
>
> 
> Does anyone know how ( if possible ) to save an FLV or Image to the
> shared local object ( SOL ) and than open it later on for use by the
> Video Class ?
> 
> I am trying to build my own Cache system and since Flash can not
> access the file system my only option is to use the SOL. ( can't use
> Appolo for this project ).
> 
> I would imagine one would need to use the ByteArray class but I have
> no idea where to begin ...
> 
> If someone has an example that would be GREAT !!!
> 
> Thank you,
> 
> Sean.
>




Re: [flexcoders] Re: remove a item in ArrayCollection

2007-11-04 Thread AJ Seelund
try "event.result.site" instead of "event.result.sites.site"

i usually use "myXMLListCollection.source = 
myHttpService.lastResult.myNode" and that works.



Paul Andrews wrote:
>
> I've no problem with the e4x suggestion, though the debugger says:
>
> event.result.sites.site = mx.collections.ArrayCollection (@3ad1a51)
>
> so the data should be in the right format (as far as the original 
> question
> is concerned).
>
> - Original Message -
> From: "AJ Seelund" <[EMAIL PROTECTED] >
> To: mailto:flexcoders%40yahoogroups.com>>
> Sent: Sunday, November 04, 2007 2:57 AM
> Subject: Re: [flexcoders] Re: remove a item in ArrayCollection
>
> > change the result format in your http service to "e4x"
> >
> >
> >
> > flexawesome wrote:
> >>
> >>
> >> ya, it shows [object] [object] in deugger window. it looks I can use
> >>
> >> removeItemAt to remove the object, but it doesn;t work -_-
> >>
> >> Cheers
> >>
> >> --- In flexcoders@yahoogroups.com 
> >> , "simonjpalmer" 
> <[EMAIL PROTECTED]>
> >> wrote:
> >> >
> >> > you are assigning event.result.sites.site to myData which you have
> >> > declared as an ArrayCollection.
> >> >
> >> > What makes you think event.result.sites.site is an ArrayCollection?
> >> >
> >> > Have you inspected event.result.sites.site in the debugger?
> >> >
> >> > --- In flexcoders@yahoogroups.com 
> 
> >> , "flexawesome" 
> >> wrote:
> >> > >
> >> > >
> >> > > here is my completed code... I am going to remove the first site of
> >> > > *adobe* in xml
> >> > >
> >> > > this seems doesn't in this case, any suggestion? Thanks
> >> > >
> >> > > myData.removeItemAt(myData.getItemAt(0));
> >> > >
> >> > > == need to remove this part out from ArrayCollection ==
> >> > > 
> >> > > ADOBE
> >> > > 500
> >> > > www.adobe.com
> >> > > 
> >> > > ===
> >> > >
> >> > > Code from here..
> >> > >
> >> > >  Main MXML File 
> >> > >
> >> > > 
> >> > > http://www.adobe.com/2006/mxml 
> 
> >> >"
> >> > > layout="absolute"
> >> > > creationComplete="dataServices.send()">
> >> > >
> >> > > 
> >> > > 
> >> > > 
> >> > >
> >> > >  >> > > resultFormat="object"
> >> > > result="resultHandler(event)"/>
> >> > >
> >> > > 
> >> > >
> >> > > 
> >> > >
> >> > >  myXML.xml =
> >> > >
> >> > > 
> >> > > 
> >> > > 
> >> > > ADOBE
> >> > > 500
> >> > > www.adobe.com
> >> > > 
> >> > >
> >> > > 
> >> > > GOOGLE
> >> > > 300
> >> > > www.google.com
> >> > > 
> >> > > 
> >> > >
> >> > > ===
> >> > >
> >> > > --- In flexcoders@yahoogroups.com 
> 
> >> , "Paul Andrews"  wrote:
> >> > > >
> >> > > > There shouldn't be a problem with Simons suggestion.
> >> > > >
> >> > > > Post your code. The message seems to suggest you didn't declare
> >> > > myData as an
> >> > > > ArrayCollection, but your original code did.
> >> > > >
> >> > > > Hmm..
> >> > > >
> >> > > > Paul
> >> > > > - Original Message -
> >> > > > From: "flexawesome" 
> >> > > > To:  
> >> >
> >> > > > Sent: Sunday, November 04, 2007 1:29 AM
> >> > > > Subject: [flexcoders] Re: remove a item in ArrayCollection
> >> > > >
> >> > > >
> >> > > > > hummm
> >> > > > >
> >> > > > >
> >> > > > > I got this error msg:
> >> > > > >
> >> > > > > ===
> >> > > > >
> >> > > > > Severity and Description Path Resource Location Creation 
> Time Id
> >> > > > > 1118: Implicit coercion of a value with static type Object to a
> >> > > > > possibly unrelated type mx.collections:ArrayCollection. 
> test.mxml
> >> > > > > line 69 1194139654331 151789
> >> > > > >
> >> > > > >
> >> > > > > --- In flexcoders@yahoogroups.com 
> 
> >> , "simonjpalmer" 
> >> > > > > wrote:
> >> > > > >>
> >> > > > >> how about
> >> > > > >>
> >> > > > >> myData.removeItemAt(0)?
> >> > > > >>
> >> > > > >> --- In flexcoders@yahoogroups.com 
> 
> >> , "flexawesome" 
> >> > > wrote:
> >> > > > >> >
> >> > > > >> >
> >> > > > >> >
> >> > > > >> > Hey there,
> >> > > > >> >
> >> > > > >> > I have a problem to remove the first *object* in myData, any
> >> > > > > suggestion?
> >> > > > >> >
> >> > > > >> > Thank you
> >> > > > >> >
> >> > > > >> > ===
> >> > > > >> >
> >> > > > >> >
> >> > > > >> > [Bindable]
> >> > > > >> > private var myData:ArrayCollection;
> >> > > > >> >
> >> > > > >> > myData.removeI

Re: [flexcoders] Re: remove a item in ArrayCollection

2007-11-04 Thread Paul Andrews
I've no problem with the e4x suggestion, though the debugger says:

event.result.sites.site = mx.collections.ArrayCollection (@3ad1a51)

so the data should be in the right format (as far as the original question 
is concerned).

- Original Message - 
From: "AJ Seelund" <[EMAIL PROTECTED]>
To: 
Sent: Sunday, November 04, 2007 2:57 AM
Subject: Re: [flexcoders] Re: remove a item in ArrayCollection


> change the result format in your http service to "e4x"
>
>
>
> flexawesome wrote:
>>
>>
>> ya, it shows [object] [object] in deugger window. it looks I can use
>>
>> removeItemAt to remove the object, but it doesn;t work -_-
>>
>> Cheers
>>
>> --- In flexcoders@yahoogroups.com
>> , "simonjpalmer" <[EMAIL PROTECTED]>
>> wrote:
>> >
>> > you are assigning event.result.sites.site to myData which you have
>> > declared as an ArrayCollection.
>> >
>> > What makes you think event.result.sites.site is an ArrayCollection?
>> >
>> > Have you inspected event.result.sites.site in the debugger?
>> >
>> > --- In flexcoders@yahoogroups.com
>> , "flexawesome"  
>> wrote:
>> > >
>> > >
>> > > here is my completed code... I am going to remove the first site of
>> > > *adobe* in xml
>> > >
>> > > this seems doesn't in this case, any suggestion? Thanks
>> > >
>> > > myData.removeItemAt(myData.getItemAt(0));
>> > >
>> > > == need to remove this part out from ArrayCollection ==
>> > > 
>> > > ADOBE
>> > > 500
>> > > www.adobe.com
>> > > 
>> > > ===
>> > >
>> > > Code from here..
>> > >
>> > >  Main MXML File 
>> > >
>> > > 
>> > > http://www.adobe.com/2006/mxml
>> "
>> > > layout="absolute"
>> > > creationComplete="dataServices.send()">
>> > >
>> > > 
>> > > 
>> > > 
>> > >
>> > > > > > resultFormat="object"
>> > > result="resultHandler(event)"/>
>> > >
>> > > 
>> > >
>> > > 
>> > >
>> > >  myXML.xml =
>> > >
>> > > 
>> > > 
>> > > 
>> > > ADOBE
>> > > 500
>> > > www.adobe.com
>> > > 
>> > >
>> > > 
>> > > GOOGLE
>> > > 300
>> > > www.google.com
>> > > 
>> > > 
>> > >
>> > > ===
>> > >
>> > > --- In flexcoders@yahoogroups.com
>> , "Paul Andrews"  wrote:
>> > > >
>> > > > There shouldn't be a problem with Simons suggestion.
>> > > >
>> > > > Post your code. The message seems to suggest you didn't declare
>> > > myData as an
>> > > > ArrayCollection, but your original code did.
>> > > >
>> > > > Hmm..
>> > > >
>> > > > Paul
>> > > > - Original Message -
>> > > > From: "flexawesome" 
>> > > > To: > >
>> > > > Sent: Sunday, November 04, 2007 1:29 AM
>> > > > Subject: [flexcoders] Re: remove a item in ArrayCollection
>> > > >
>> > > >
>> > > > > hummm
>> > > > >
>> > > > >
>> > > > > I got this error msg:
>> > > > >
>> > > > > ===
>> > > > >
>> > > > > Severity and Description Path Resource Location Creation Time Id
>> > > > > 1118: Implicit coercion of a value with static type Object to a
>> > > > > possibly unrelated type mx.collections:ArrayCollection. test.mxml
>> > > > > line 69 1194139654331 151789
>> > > > >
>> > > > >
>> > > > > --- In flexcoders@yahoogroups.com
>> , "simonjpalmer" 
>> > > > > wrote:
>> > > > >>
>> > > > >> how about
>> > > > >>
>> > > > >> myData.removeItemAt(0)?
>> > > > >>
>> > > > >> --- In flexcoders@yahoogroups.com
>> , "flexawesome" 
>> > > wrote:
>> > > > >> >
>> > > > >> >
>> > > > >> >
>> > > > >> > Hey there,
>> > > > >> >
>> > > > >> > I have a problem to remove the first *object* in myData, any
>> > > > > suggestion?
>> > > > >> >
>> > > > >> > Thank you
>> > > > >> >
>> > > > >> > ===
>> > > > >> >
>> > > > >> >
>> > > > >> > [Bindable]
>> > > > >> > private var myData:ArrayCollection;
>> > > > >> >
>> > > > >> > myData.removeItemAt(myData.getItemAt(0));
>> > > > >> >
>> > > > >>
>> > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > > > --
>> > > > > Flexcoders Mailing List
>> > > > > FAQ:
>> > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>> 
>> > > > > Search Archives:
>> > > http://www.mail-archive.com/flexcoders%40yahoogroups.com
>> 
>> > > > > Yahoo! Groups Links
>> > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
>>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>



[flexcoders] FB standalone and plugins

2007-11-04 Thread Steve Hueners
Flex & AS3 development would be the only projects I'd be working on so
I've installed the standalone version. I've been able to install a
couple plugins so I understand at least _part of that process.

I'm looking for a better understanding of what bridges are burned
(extensibility-wise) by not installing Flex as a plugin to Exclipse.

thx
--steve...