[flexcoders] Help!! URL Request TimeOUt inconsistencies!

2010-03-28 Thread leds usop
Hi Guys, Can someone verify if the information on the link is accurate for 
timeouts on AIR 1.5.x for windows and mac?

http://forums.adobe.com/thread/578593?decorator=print&displayFullThread=true

Why the inconsistency? 60 mins on legacy 1.5.x in both windows and mac (then 30 
secs on although this is understandable) whilst the Platform default is 60 
seconds especially in AIR 2.0?  Also we seem to be having timeouts of 60 
seconds on Leopard running AIR 1.5.x so what gives??? Is this a 
typographical error then? Help please! 

We know we can set the idletimeout property in Air 2, but since it's still in 
beta, we are stuck with 1.5.x for now (1.5.3 in particular)


Thanks!!


  



Re: [flexcoders] My itemrenderer is mercurial!!

2009-07-06 Thread leds usop
how are you setting the selection status of the checkbox? override the setter 
method for data, then place a default value (an if else perhaps) if the data is 
null, or is int's default state.

--- On Mon, 7/6/09, j2me_soul  wrote:

From: j2me_soul 
Subject: [flexcoders] My itemrenderer is mercurial!!
To: "flexcoders" 
Date: Monday, July 6, 2009, 7:59 AM
















  
  The itemrenderer is a HBox. There is a check and a label in the HBox.
When I selected any of the checkbox and scrolled the scrollbar of the List 
which used the itemrenderer, the stange thing happened, the selected checkbox 
is no longer the same checkbox !! Maybe the last one, maybe the second one ~~~  
How can I fix this ?




200万种商品,最低价格,疯狂诱惑你

 

  




 

















  

Re: [flexcoders] Flex 3 Exam Cert Question

2009-06-28 Thread leds usop
hi,

i recentlly got my flex 3 with air cert and i'd say the questions on lcds are 
more on interacting with lcds, so you should be able to get enough info from 
livedocs or any good flex book that discusses lcds.

As for the local database connection, that would be pertaining to AIR's 
interaction with SQL (or SQLite). 

someone correct me if im wrong. ^^
cheers

can someone point me to a resource or book that i can find out more on 
IMPLEMENTING LCDS MESSAGING AND DATA MANAGEMENT ?



in the exam guide it also mentions creating connecting to a local
database. what does that mean? does it mean SQL database or oracle?<-- SQL as 

--- On Sun, 6/28/09, ew6014  wrote:

From: ew6014 
Subject: [flexcoders] Flex 3 Exam Cert Question
To: flexcoders@yahoogroups.com
Date: Sunday, June 28, 2009, 1:01 PM
















  
  hi guys,



i have a question on the interacting data source/servers portion of flex 3 exam.



can someone point me to a resource or book that i can find out more on 
IMPLEMENTING LCDS MESSAGING AND DATA MANAGEMENT ?



in the exam guide it also mentions creating connecting to a local database. 
what does that mean? does it mean SQL database or oracle?



appreciate the help




 

  




 

















  

Re: [flexcoders] Re: Data Binding to BitmapData

2008-09-25 Thread leds usop
i'd rather use ely's superimage ^^ or a subclass at that - but that's just me.

--- On Thu, 9/25/08, Amy <[EMAIL PROTECTED]> wrote:

From: Amy <[EMAIL PROTECTED]>
Subject: [flexcoders] Re: Data Binding to BitmapData
To: flexcoders@yahoogroups.com
Date: Thursday, September 25, 2008, 5:00 AM






--- In [EMAIL PROTECTED] ups.com, "kyleashipley"  
wrote:
>
> In my application, I have a custom ItemRenderer that contains an
> mx:Image bound to a BitmapData source. The data gets initialized
> properly, but if I scroll the list so that the image goes out of view,
> the BitmapData ends up set to null. I'm not firing an event, I don't
> have two-way data binding set up, and none of the break points I put
> in the data model are firing. Somehow, the BitmapData is ending up
> null when I scroll that image back into view.
> 
> If I change from directly binding to the dataProvider to using a
> ChangeWatcher on the dataProvider, everything works just fine.
> 
> Has anyone else come across this and (ideally) found a solution?
>

This sounds like a Q2 
http://www.magnolia multimedia. com/flex_ examples/ Amys_Flex_ FAQ.pdf

:-)

If it's not, please post the code to your itemRenderer.

HTH;

Amy

 














  

Re: [flexcoders] Re: Gradient that is vertical and horizontal!

2008-09-25 Thread leds usop
or 2 displayobjects with gradient on each, one is horizontal and one is 
vertical but use one as mask of the other. ^^

--- On Wed, 9/24/08, Josh McDonald <[EMAIL PROTECTED]> wrote:

From: Josh McDonald <[EMAIL PROTECTED]>
Subject: Re: [flexcoders] Re: Gradient that is vertical and horizontal!
To: flexcoders@yahoogroups.com
Date: Wednesday, September 24, 2008, 7:46 AM







s/45 degree radient fill/45 degree gradient fill/

-Josh


On Wed, Sep 24, 2008 at 9:46 AM, Josh McDonald <[EMAIL PROTECTED] com> wrote:


It'll (probably) be faster to generate a bitmap at 400x400, using a 45 degree 
radient fill. Then simply scale that bitmap to 400x10. You'll only need to do 
this once, then use a bitmap fill.

-Josh





On Wed, Sep 24, 2008 at 5:57 AM, Tim Hoff <[EMAIL PROTECTED] com> wrote:


Btw, either way that you do it, you're probably going to have to layer a
gradient rectangle over another gradient rectangle; with the proper
opacity.  The trick will be getting the colors to be what you want.

-TH




--- In [EMAIL PROTECTED] ups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
>
> Hey, if you can do it with the drawing API, cool. But, this is rather
> easy to do in Fireworks or Photoshop. Just flatten your image and you
> won't add that much size to the swf.
>
> -TH
>
> --- In [EMAIL PROTECTED] ups.com, "tchredeemed" apthorp@ wrote:
> >
> > I was hoping you wouldnt say that! :)
> >
> > --- In [EMAIL PROTECTED] ups.com, "Tim Hoff" TimHoff@ wrote:
> > >
> > >
> > > You're probably better off just creating an image and using that
as
> the
> > > skin for a container. Might be a bit tricky getting this to work
> with a
> > > programmatic skin.
> > >
> > > -TH
> > >
> > > --- In [EMAIL PROTECTED] ups.com, "tchredeemed"  wrote:
> > > >
> > > > Heres the problem, I need to draw a gradient that goes from 0
> opacity
> > > > black to 100% opacity black from left to right.
> > > >
> > > > However, this also needs to fade out the further down you go.
> > > >
> > > > The gradient is 10 pixels wide, and about 400 pixels tall.
> > > >
> > > > So its essentially a horizontal gradient that fades as it goes
> down...
> > > >
> > > > any ideas?
> > > >
> > >
> >
>




 - - --

--
Flexcoders Mailing List
FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder sFAQ.txt
Alternative FAQ location: https://share. acrobat.com/ adc/document. do?docid= 
942dbdc8- e469-446f- b4cf-1e62079f684 7
Search Archives: http://www.mail- archive.com/ flexcoders% 40yahoogroups. 
comYahoo! Groups Links






-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

http://flex. joshmcdonald. info/

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED] com



-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

http://flex. joshmcdonald. info/

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED] com
 














  

Re: [flexcoders] image snapshot in flex

2008-06-25 Thread leds usop
without remoting, and using string param only, encode the image as jpeg or png 
(depending on your requirement) . then convert it to base64 string which you 
can pass to the serlvet via post (or get, whatever) . Then decode at the 
backend accordingly as a jpeg file or png file which is you can make available 
to the user. This is not the fastest solution performance-wise but it does get 
the job done expecially for snapshots. 

--- On Thu, 6/26/08, netdeep <[EMAIL PROTECTED]> wrote:
From: netdeep <[EMAIL PROTECTED]>
Subject: [flexcoders] image snapshot in flex
To: flexcoders@yahoogroups.com
Date: Thursday, June 26, 2008, 12:47 AM











I'd like to add a button so the user can snapshot a graph in my 
flex app.  I can do this storing 

it on the server with Java, but I'd like for the user to have direct access to 
it.  Since I don't 

think this can be done for instance saving to the desktop, I thought the next 
best solution 

would be to send the image to say a new browser window, possibly via a servlet? 
 But I'm not 

sure how to do this or if this is the best solution.  Any ideas or examples of 
how this should 

be done?  Here is a little snippet of the method I use to encode the image into 
a byteArray:



private function saveImage(e: ImageUpdateEvent ):void {

var comp:UIComponent = e.comp; 

var imageSnap:ImageSnap shot = ImageSnapshot. captureImage( 
comp);

var imageByteArray: ByteArray = imageSnap.data as ByteArray;

imgSave.saveImage( imageByteArray, e.name+"-img. png");

}




  




 

















  

Re: [flexcoders] Why is this renderer so slow?

2008-05-24 Thread leds usop
im just wondering why you think an ordinary check box wont retain it's selected 
state when scrolling? can you provide an example code that does that? maybe it 
will be more beneficial to approach the problem using that approach. Just a 
thought. 


--- On Sun, 5/25/08, dbronk <[EMAIL PROTECTED]> wrote:
From: dbronk <[EMAIL PROTECTED]>
Subject: [flexcoders] Why is this renderer so slow?
To: flexcoders@yahoogroups.com
Date: Sunday, May 25, 2008, 12:59 AM

I have created a checkbox renderer.  My datagrid has 5 out of 8
 columns that use it.  The datagrid has only about 80 rows it it.  When
 using this renderer the performance of the datagrid is horrible. 
 Scrolling is extremely slow, click a checkbox is extremely slow.  If I
 swap out and use a normal mx:CheckBox for the renderer the performance
 is just fine, but of course that doesn't work as it will not retain
 the state of the checkbox when scrolling.  Here is my code for the
 renderer.  I notice that many of these are re-executed whenever
 anything happens to the datagrid.  That includes just mousing over.

 Thanks.

 Dale

 package renderer
 {
import flash.events. MouseEvent;

import mx.controls. CheckBox;

import spectrumk12. minerva.util. BaseEvent;
import spectrumk12. minerva.util. Utils;

[Event(name= "selectionSet" , type="util.BaseEven t")]
public class RendererCheckBoxXML extends CheckBox
{
private var _xmlItem : XML;//holds the current item xml node
private var count:int=0;
private var debug:String= "";

/** The attribute in the xml to use to store the selected state 
of
 this checkbox. */
[Inspectable( default=" rendererSelected ")]
public var selectedAttribute : String = "rendererSelected" ;

/** The default selection state (true/false) to give if the
 selectedAttribute is not there or null */
[Inspectable( default=" false", enumeration= "true,false" )]
public var defaultSelectedStat e : Boolean = false;

public function RendererCheckBoxXML ()
{
super();
trace("RendererChec kBoxXML:Construc tor");
this.addEventListen er(MouseEvent. CLICK, onClick, 
false, 0, true);
}

// Sets the state of the checkbox based on the selectedAttribute
 attribute.
override public function set data(oItem:Object) : void
{
_xmlItem = XML(oItem);
trace("RendererChec kBoxXML:set data: " + [EMAIL 
PROTECTED]) ;
var bSelected : Boolean = false;
var attrSelected : String = [EMAIL PROTECTED] 
Attribute] ;
this.selected = ( Utils.nullOrBlank( attrSelected) ?
 defaultSelectedStat e : (attrSelected == "true") ); 
}

override public function get data() : Object
{
trace("RendererChec kBoxXML:get data: " + (_xmlItem != 
null ?
 [EMAIL PROTECTED] : "null"));
return _xmlItem;
}

/**
 * This overridden function is where the logic is for updating 
the xml.
 */
override public function set selected(selectedFl ag:Boolean) : 
void
{
trace("RendererChec kBoxXML:set selected: " + [EMAIL 
PROTECTED]) ;
super.selected = selectedFlag;

// Only update the xml if it needs to be updated.  Each 
time the xml
// is updated it will fire any bindings to it so we 
want to keep these
// to a minimum.
if ( [EMAIL PROTECTED] Attribute] != selectedFlag )
{
// The selected flag is different than the 
selectedAttribute
 attribute.
// Now we make one last check to see if the 
selectedFlag is false and
// there is no attribute selectedAttribute.  If 
this is the case, then
// we do NOT update because having no attribute 
selectedAttribute will
// default to a false.  Again, we do this so 
that we update the xml as
// infrequently as possible.
if ( selectedFlag || [EMAIL PROTECTED] 
Attribute] .length() > 0 )
{
[EMAIL PROTECTED] Attribute] = 
String(this. selected) ; //set the
 checkbox state into the dataProvider
}
}
dispatchEvent( new BaseEvent("selectio nSet", 
selectedFlag) );

Re: [flexcoders] Can a 'child' tell when its parents view state changed?

2008-05-24 Thread leds usop
have you tried the added/removed events? usually hiding/showing children in viewstates using the design mode entail adding/removing the corresponding children rather than just hiding or setting the visibilities  unless you explicitly set them to be so in the source view.--- On Sun, 5/25/08, Grant Davies <[EMAIL PROTECTED]> wrote:From: Grant Davies <[EMAIL PROTECTED]>Subject: [flexcoders] Can a 'child' tell when its parents view state changed?To: flexcoders@yahoogroups.comDate: Sunday, May 25, 2008, 1:22 AMI have a set of viewstates that are used many times.  When the view state is changed, I would like the child to “reset” its view.  I would like the child to know when it is “revealed” due to the state change of the parent.  It seems that the child does not know when the parent changes view states at all so the only way I could do this would be to  1)  Have the controller that changes states reset the child2)  Have the child register for the viewstate ENTER_STATE event on its parent   I’ve tried capturing hide/show/render on the child, but none of those “fit”  What does flex actually do to children when they are no visible due to a “remove child” in a state, I would have assumed that they would be hidden but that doesn’t seem to be the case and digging through the viewstate and addchild code of the sdk its not obvious to me what a state change really does under the covers to hide or reveal a  set of children.   . . . › b l u e t u b e i n t e r a c t i v e..: Development solutions for creatives :..: grant davies.: 404.428.6839 (c).: 404.921.9550 (F)› [EMAIL PROTECTED] comhttp://www.bluetube .com/bti   	

  

Re: [flexcoders] Adding several NumericSteppers = Total

2008-01-12 Thread leds usop
Here's an updated version of that code that allows you
to set the maximum value during runtime and
automatically compensates if the current total is
greater that the maximum allowable total set. Also,
this compensates for instances that a number bigger
than than the maximum allowable total is entered into
one of the 5 steppers:


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






 










 





It just happend that we came across the same
requirement in a project last year, so i thought i'd
share.  Im also posting the repeater version which
gives the same result below should it be able to help
you or someone else in this group. Sorry for the
lengthy post. Cheers!


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





 
  
  




  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping


Re: [flexcoders] Adding several NumericSteppers = Total

2008-01-11 Thread leds usop
you could use repeater component with numericsteppers
as children and a text box for the sum instead. But i
guess what you need is something more straightforward
and simple like this:


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














This code initially sets the maximum value for all the
steppers to uint.MAX_VALUE (4294967295) - but i guess
you may want to change that accordingly. I have
intentionally disabled mouseclicks on the "total"
stepper (like I said you could use a text box instead
- unless you really need to be able to increment the
total stepper manually as well). Upon testing, you'll
see that when max value for total is reached, you will
not be able to increment the steppers unless you
decrement one of them  - in which case, 1 increment
will be allowed and so on and so fort.

Hoe this helps :) Cheers!



--- JRBower <[EMAIL PROTECTED]> wrote:

> 
> Can someone help?
> 
> I have 5 numericsteppers and I would like to be able
> to display their total
> in a sixth NumericStepper. 
> 
> ns01 + ns02 + ns03 + ns04 + ns05 = nsTotal06
> 
> How can I do this?
> 
> Thanks,
> 
> James
> 
> -- 
> View this message in context:
>
http://www.nabble.com/Adding-several-NumericSteppers-%3D-Total-tp14750764p14769497.html
> Sent from the FlexCoders mailing list archive at
> Nabble.com.
> 
> 



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 



Re: [flexcoders] Re: Is there a fliping control in Flex

2007-09-28 Thread leds usop
try alex uhlmann's distortion effects based on sandy:
http://weblogs.macromedia.com/auhlmann/archives/2006/11/download_distor.cfm


--- hank williams <[EMAIL PROTECTED]> wrote:

> Thanks, but if you look at the link I provided you
> will see that they are
> somewhat different things. The link you provided is
> a book metaphor, and the
> link I provided is a rotation between front and
> back.
> 
> Hank
> 
> 
> On 9/27/07, vic8427 <[EMAIL PROTECTED]> wrote:
> >
> >--- In flexcoders@yahoogroups.com
> , "hank
> > williams" <[EMAIL PROTECTED]> wrote:
> > >
> > > Has anyone done a flipping control for flex that
> works like this:
> > >
> > >
>
http://www.flashloaded.com/flashcomponents/flipnavigation/?id2=260907
> > >
> > >
> > > Hank
> > >
> > This guy did.
> >
> >
>
http://www.quietlyscheming.com/blog/components/flexbook/
> >
> > 
> >
> 



   

Moody friends. Drama queens. Your life? Nope! - their life, your story. Play 
Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  


Re: [flexcoders] Is there a mouseOverIndex? - QUICK SOLUTION

2007-09-26 Thread leds usop
Hi Guillermo,

try this:
private function handleMouseEvent(e:MouseEvent):void{

trace(nav_bloque1.getChildIndex(e.target as
DisplayObject));

}


This way, regardless of how many buttons you add or
delete and regardless of the values associated with
them, you will still get the correct index (zero-based
index of course).

Another way to do this - although rather lengthy - is
to catch the label of the target and look it up back
on the dataprovider associated. You will have to deal
with duplicate labels  this way however.

I would have suggested that you subclass button bar
instead and dispatch a custom rollover event so that
you can get whatever details there is in the data
provider that is associated with the 'mouse-overed'
button.  But if you just need the index, i think the
solution above will be enough.

p.s. are you from the Philippines?

Best,
Leds

--- Guillermo Villasana <[EMAIL PROTECTED]>
wrote:

> Anyone, any thoughts?
> None?
> Thanks
> 
> Guillermo Villasana wrote:
> >
> > Hi again, well sorry about the other post that get
> duplicated, but as I
> > asked before, is there a way to get the index of a
> button in a
> > togglebuttonbar when you just go over the button?
> > here is my code
> > 
> >
> >  > useHandCursor=
> >
> > "true" buttonMode="true"
> >
>
itemClick="ChangeContent(nav_bloque1.selectedIndex);"
> >
> >
>
mouseOver="handleMouseEvent(event);getSubnav(nav_bloque1.selectedIndex);"
> > height="26" minWidth="1000" />
> >
> > 
> >
> > I want to change the nav_bloque1.selectedIndex to
> > nav_bloque1.mouseOverIndex or something like that
> so I can do some other
> > functions with that index. I tried to use var
> > objArray:Array=getObjectsUnderPoint(pt); but I
> don't understand how to
> > get the button as I get a lot of objects with a
> full path.
> >
> > Thanks
> > Terius
> >
> >  
> 
> 



   

Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
 


Re: [flexcoders] logic problem

2007-09-26 Thread leds usop
Having no text doesnt mean the string value is "". An
Empty string is different from a null or an undefined
value. So i suggest throw in  a check for
undefined/null value as well and if you dont turst
that enough, check for the length as well.

 Moreover, when you say
goodsInAdvice.text.indexOf("/") == 0 ; you are
actually checking for the existence of the "/"
character at the 0th index. If you want to check for
it's absence, try goodsInAdvice.text.indexOf("/") ==
-1 or goodsInAdvice.text.indexOf("/") < 0.

Based on the scenario you have 
give, a null/undefined goodsInAccount.text and a
goodsInAdvice.text with "/" in the beginning will
really return true.


--- candysmate <[EMAIL PROTECTED]> wrote:

> I have two textInput components. This code:
> 
> if((goodsInAccount.text != "") &&
> (goodsInAdvice.text.indexOf("/") == 0))
>   {
>  .
>   }
> 
> but it returns true when goodsInAccount contains no
> text and
> goodsInAdvice contains the "/" character. The
> problem seems to be with
> the logic knowing that goodsInAccount.text is empty.
> It's tried using
> goodsInAccount.text.length > 0 too. 
> 
> Maybe I've just not had enough coffee yet, or is
> this a known bug?
> 
> 



   

Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  


Re: [flexcoders] Re: Web service vs Remoting

2007-09-14 Thread leds usop
Sorry for hijacking this thread but i believe this is
a relevant question,
Is it possible for flash/flex to receive a byte stream
from a server and save it as say, a pdf or doc file
without using something like flash com server?



--- Giles Roadnight <[EMAIL PROTECTED]> wrote:

> Thanks, that's very useful
> 
> I'm convinced!
> 
> On 9/14/07, Nick <[EMAIL PROTECTED]> wrote:
> >
> >   Check out:
> >
> > http://www.jamesward.org/census/
> >
> > From what I understand remoting has a bunch of
> benefits in terms of
> > bandwidth utilization and parsing efficiency due
> to the fact that it
> > is a native binary protocol in the Flash player.
> >
> > What does this mean to your application? Well, if
> you are going to be
> > passing large data sets back and forth remoting
> would probably be the
> > best tool for the job.
> >
> > Have fun,
> >
> > Nick
> >
> > --- In flexcoders@yahoogroups.com
> , "Giles
> > Roadnight" <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi All
> > >
> > > At the moment I am using a CF server with CFCs
> as my back end but
> > > because the servers I have here have various
> versions of cf on it I
> > > can't rely on 7.2 and because of this I can't
> use flex remoting.
> > >
> > > Because of this I'm just uing the cfc wsdl
> address and using
> > >  > >
> > > I think I've now worked out how to re-deploy the
> servers as cf 7.2 so
> > > I was wondering if it's worth it. What
> advantages does a remote object
> > > give me over a wsdl service?
> > >
> > > Thanks everyone.
> > >
> > > Giles
> > >
> >
> >  
> >
> 



   

Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/


RE: [flexcoders] Flex Component kit

2007-06-09 Thread leds usop
no. it can be placed in the mxml declaration of the
component itself.

--- Ronald Kinion <[EMAIL PROTECTED]> wrote:

> isn't the namespace suposed to be in the root tag? 
> like:
>  
> 
>  xmlns:mx="http://www.adobe.com/2006/mxml
>  " xmlns:ng="*"
> layout="vertical">
> 
> 
> 
> -- 
> Ronald Kinion 
> Phone: 253-205-3494 
> [EMAIL PROTECTED]
>   
> www.zones.com   
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> Behalf Of {reduxdj}
> Sent: Saturday, June 09, 2007 5:07 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Flex Component kit
> 
> 
> 
> Code hinting does not work:
> 
> my example code:
> 
> 
>  xmlns:mx="http://www.adobe.com/2006/mxml
>  "
> layout="vertical">
> 
> 
> 
> Thanks,
> Patrick
> 
> 
> 
>  
> 



   

Be a better Globetrotter. Get better travel answers from someone who knows. 
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469


Re: [flexcoders] DataGrid + Web Service

2007-06-09 Thread leds usop
for our case, we did the sorting at the back end -
overriding the default behavior of the datagrid
headers when they are clicked and then returning the
pagenated data after sorting. It really is - in
essence - changing the dataprovider of the datagrid
during both page requests and sorting requests.  This
however necessiated that we come up with a 'selection
manager' helper class to go with the component. What
this class does is just to remember which items had
been selected and reload/reselect those selections
when the user goes back to that page or in the case of
sorting, when an item in that selection manager is
encountered on a loaded page.  But if you are not
dealing with multiple selections then you can do away
with that helper class.

--- Ravindra Wankar <[EMAIL PROTECTED]> wrote:

> 
> I've created a DataGrid (with pagination) populated
> from a web service. 
> Since not all data is sent back, the Datagrid's sort
> function only sorts 
> within the results.  How do I add a hook that allows
> me to fetch sorted 
> data from the server? Also, is there a better
> out-of-the-box component 
> for doing pagination and this?
> 
> Thanks
> Ravi.
> 



   

Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC


Re: [flexcoders] Re: Flex: Modular Applications

2007-05-17 Thread leds usop
sorry for hijacking this thread but i guess this is a
related question. is it possible to store loaded
modules as shared objects? and if it is, what are the
possible issues to consider?

--- Russell Munro <[EMAIL PROTECTED]> wrote:

> I have worked a-lot with modules in recent months &
> there is one great
> way I have found to manage modules that is more
> predicable, easier to
> handler & far nicer on memory than any other means I
> can find. Don't
> remove the module! Once you have loaded the module
> store it in a
> variable and when you need it again get the one you
> have already
> loaded. Its simple and it works.
> 
> Russell Munro
> 
> 
> --- In flexcoders@yahoogroups.com, "cwolsen7905"
> <[EMAIL PROTECTED]> wrote:
> >
> > Hello,
> > 
> > I'm working on a modular application.
> > 
> > However it appears to me that module.unload does
> not do any cleanup..
> > 
> > It leaves behind eventlisteners and objects in the
> parent application.
> > Is there any way to get it to do propper cleanup?
> > 
> > -Christopher
> >
> 
> 
> 



   
Get
 the free Yahoo! toolbar and rest assured with the added security of spyware 
protection.
http://new.toolbar.yahoo.com/toolbar/features/norton/index.php


Re: [flexcoders] ArrayCollection problem (binding to a Datagrid)

2007-03-25 Thread leds usop
this has been addressed in a previous post.
do a type check for objectproxy before assigning here:

grilleTerrainsACDP = event.result.terrains.terrain;

to have this:

if(event.result.terrains.terrain is ObjectProxy){
var t:Array=
ArrayUtil.toArray(event.result.terrains.terrain);
grilleTerrainsACDP= new ArrayCollection(t);
}else{
grilleTerrainsACDP = event.result.terrains.terrain;
}




--- Nicolas Boulet-Lavoie
<[EMAIL PROTECTED]> wrote:

> Hi,
> 
> When I try to bind an empty ArrayCollection or with
> only 1 item to a
> Datagrid, I'm getting a runtime error (sorry it's in
> french but the
> error number means something in this case):
> 
> TypeError: Error #1034: Echec de la contrainte de
> type : conversion de
> mx.utils::[EMAIL PROTECTED] en
> mx.collections.ArrayCollection
> impossible.
> 
> Here's the code I use :
> 
> private function handler(event:ResultEvent):void {
>grilleTerrainsACDP =
> event.result.terrains.terrain;
> }
> 
> And the "grilleTerrainsACDP" variable who's binded
> to my datagrid, as
> the data provider, is declared this way:
> 
> [Bindable] public var
> grilleTerrainsACDP:ArrayCollection;
> 
> Any idea?
> 
> I use a ArrayCollection for ICursorView...
> 
> Thanks
> Nicolas
> 
> 



 

Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/


[flexcoders] CubeRotate Distortion effect in Safari

2007-03-08 Thread leds usop
HI all,

I have a cube-rotating view stack with 2 views:1- a
chart filter which allows data filtering and request
from a servlet and, 2- a chart title screen showing
additional info about the chart as well as the
pagenation controls.  Initial view is 2.  The filter
view is populated using a repeater control. The
repeated item is a  custom component capable of
displaying different types of form controls depending
on the dataprovider. This works fine in IE,forefox,
and in opera. howver, safari simply doesnt show the
repeated components.  I know that only the repeated
components are not shown since I always have one
non-repeated "generate chart" button added after all
the repeated items are in place.  This button shows up
in Safari as well... but no repeated items.  

So i guess im really not sure if this is because of
the distortion effect in safari or the repeater.
Anyone got  relevant info to this?

any input will be very helpful. Thnx so much




 

Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/


Re: [flexcoders] ActionScript:: Determining Array Length in Multidemensional Arrays

2007-03-08 Thread leds usop
i dont know if this is really the cause of your
problem, but for determining length of arrays, you use
.length property .. not .length() method.

If that was just typo error, can you elaborate why
from the given example you 'know' you have two rows
and columns? How are the data related to each other?


--- "Bruce H. Johnson" <[EMAIL PROTECTED]> wrote:

> I've got a statically-populated array Points.
> 
> ["Bill", 10, 17],
> ["Joe", 5, 6]
> 
> So, I "know" I've got two rows and two columns.
> 
> Points.length() gives 0. How do I coherce it into
> returning the number 
> of rows (might be unknown since I'll be building new
> arrays from it) as 
> well as the number of rows?
> 
> 



 

Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front


RE: [flexcoders] Access PIE CHART Call Outs

2007-03-08 Thread leds usop
I was afraid you were gonna say that. But then again,
at least I start right away and not waste too much
time trying to 'force' individual call out styling.
Thnx Ely!

--- Ely Greenfield <[EMAIL PROTECTED]> wrote:

>  
>  
> You can style all of them through the PieSereis' css
> styles, but there's
> no easy way to style them on a per callout basis. If
> you want to modify
> them, you're going to have to roll up your sleves,
> and get elbow deep in
> the PieSeries implementation.
>  
> Ely.
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> Behalf Of leds usop
> Sent: Wednesday, March 07, 2007 9:26 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Access PIE CHART Call Outs
> 
> 
> 
> hi all,
> 
> Anyone got easy solutions to access pie chart call
> outs? Id like to be able to change the colors, font
> size etc. Or does this call for subclassing or data
> canvas drawing solution?
> 
>
__
> Sucker-punch spam with award-winning protection. 
> Try the free Yahoo! Mail Beta.
>
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
>
<http://advision.webevents.yahoo.com/mailbeta/features_spam.html>
> 
> 
> 
>  
> 



 

Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL


[flexcoders] Access PIE CHART Call Outs

2007-03-07 Thread leds usop
hi all,

Anyone got easy solutions to access pie chart call
outs? Id like to be able to change the colors, font
size etc. Or does this call for subclassing or data
canvas drawing solution?


 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html


Re: [flexcoders] Re: Making itemRenders call a function on the component they're in

2007-03-05 Thread leds usop
when you say 'some data' on the component, do you
really mean just bits of data per se? or are there
some sort of 'validating' functions in that component?
 Having your item renderers access  data from your
wrapping component does not necessarily mean 'bad
practice'. It depends  on how you allowed the
renderers to access those data. ;) (i.e. is it  via
direct property access, via events? etc).

--- João <[EMAIL PROTECTED]> wrote:

> Great, thanks! That should work just fine. 
> 
> But in the meanwhile i've realized that i need the
> checkboxes to
> access some data on the component to define their
> selected state.
> The right solution would be to change my
> dataProvider
> (listOfAllSports:ArrayCollection) of SportVO
> (id:Number, name:String)
> so it included another field on the VO's
> (selected:Boolean), but that
> would change the meaning of my VO's (bad practice).
> 
> So i'm stuck. Or i find a way of having a
> dataProvider which is a
> modified version of my listOfAllSports including a
> selected:Boolean
> for each VO, or i find a way of making my
> itemRenderers access data on
> my component (bad practice). I can't figure out how
> to solve this,
> since, for the first solution, i would need two
> ArrayCollections
> "binded" but with different datatypes. 
> 
> 
> Flex is a new world to me, i'm loving it, but hating
> being stuck all
> the time i try to do something new.
> 
> João Saleiro
> 
> 



 

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121


Re: [flexcoders] Re: Making itemRenders call a function on the component they're in

2007-03-04 Thread leds usop
oh no. not really. my bad, what i mean is, have the
component containing the list handle that event. So
it's just a matter of bubbling that event. and in that
handler, you can call that event.. or you can even
make that function itself as the event handler.



--- João <[EMAIL PROTECTED]> wrote:

> Thanks for your suggestion. But that would include
> extending the List
> Component so that it receives an handler, and
> register and event
> listener for each element of the ArrayCollection,
> right?
> 
> João Saleiro
> 
> 



 

Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front


Re: [flexcoders] Making itemRenders call a function on the component they're in

2007-03-04 Thread leds usop
brute force solution would be to include a reference
to  the list component in the data being passed to the
item renderer. there are probably other ways to do
this.
but Id rather have the renderer dispatch a custom
event and handle that in the list component... then in
the handler, call that function.

--- João Saleiro <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> i have a List using a checkbox as an itemRender. I
> need the checkboxes 
> to call a function inside the component where the
> List is in.  I know 
> itemRenderers receive a "data", but i do not know
> how can i access the 
> component where the List is in. Also, is there a
> best practice to solve 
> this situation?
> 
> Thanks,
> 
> João Saleiro
> 



 

Any questions? Get answers on any topic at www.Answers.yahoo.com.  Try it now.


Re: [flexcoders] Re: How does sprite listener work?

2007-03-04 Thread leds usop
the modal alert window causes  your problem.  When the
modal Alert activates, it 'forces' your mouse to leave
that sprite and hence making it think that a mouse
rollOUT  event took place.  try this to verify:


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











You will see that the counter only increments once for
every mouseover and mouse out.

Cheers,
-leds



--- Sandwish <[EMAIL PROTECTED]> wrote:

> Thanks,Gordon!
> 
> 
>  xmlns:mx="http://www.adobe.com/2006/mxml"; 
> layout="vertical">
> 
>   
> 
>   
>doubleClick="mouseDoubleClickListener(event)" 
> doubleClickEnabled="true"/>
>   
> 
> 
> Run the code and the problem is obvious.
> 
> Regards.
> 
> --- In flexcoders@yahoogroups.com, "Gordon Smith"
> <[EMAIL PROTECTED]> wrote:
> >
> > It's not obvious to me why that would be
> happening.  Can you post 
> the
> > code for a simple app which demonstrates the
> problem?
> >  
> > - Gordon
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of Sandwish
> > Sent: Tuesday, February 27, 2007 11:22 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] How does sprite listener
> work?
> > 
> > 
> > 
> > I new a sprite and addeventlistener which listens
> roll_over and
> > roll_out event. But after a circle is drawn with
> beginfill and
> > endfill, each time I roll inside the circle, both
> events get 
> invoked.
> > I don't know why? :(
> > 
> > Thanks in advance!
> > Regards,
> > Sand
> >
> 
> 
> 



 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com


[flexcoders] HitArea of pieChart when adding call out and explode.

2007-03-02 Thread leds usop
HI all,

Hi Ely,

Anyone know of a way to retain the effective HitArea
of a pie series after adding datatip call outs and
explode? It seems that after adding perwedgeexplode
and callouts, the hitarea for each wedge is dminished.
Or will it be better to add the callouts as sort of
annotation elements using datadrawing canvas? Im also
thinking I can perhaps set a a new sprite as a
particular wedge's hitarea but then again i really
dont know which is more practical.. Right now I have
settled with setting the calloutgap to a negative
value to allow it to overlap on the pie.. but some
callout lines become crooked ;p

Any sugguestions? Thnx!

-leds


 

Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 


Re: [flexcoders] Embedding FusionCharts in a Flex application

2007-03-01 Thread leds usop
Aware of that. like I said, you cnt directly;
but using  flashinterface you can make them talk to
each other. think of it as localconnection on
steroids.
check this for more details:

http://www.flashextensions.com/products/flashinterface.php



--- Muzak <[EMAIL PROTECTED]> wrote:

>
http://livedocs.macromedia.com/flex/2/docs/1955.html
> 
> Cross-scripting is not supported between AVM1
> SWF files and AVM2 SWF files.
> 
> 
> The only way to have an AVM1 and AVM2 swf
> communicate is through a LocalConnection.
> No idea how large the FusionCharts API is, but if
> all you need is to call a method or two, then
> LocalConnection might be worth it.
> 
> regards,
> Muzak
> 
> 
> - Original Message - 
> From: "leds usop" <[EMAIL PROTECTED]>
> To: 
> Sent: Wednesday, February 28, 2007 6:01 PM
> Subject: Re: [flexcoders] Embedding FusionCharts in
> a Flex application
> 
> 
> > not directly perhaps. try using flashinterface.
> >
> > --- Muzak <[EMAIL PROTECTED]> wrote:
> >
> >> FusionCharts are AS2.
> >> You'll be able to load a FusionChart swf into a
> Flex
> >> app, but you won't be able to control it from
> Flex
> >> though.
> >>
> >> regards,
> >> Muzak
> >>
> >> - Original Message - 
> >> From: "Jon Rowland " <[EMAIL PROTECTED]>
> >> To: 
> >> Sent: Tuesday, February 27, 2007 11:16 AM
> >> Subject: [flexcoders] Embedding FusionCharts in a
> >> Flex application
> >>
> >>
> >> Hi there,
> >>
> >> I'm looking at embedding a diagramming tool
> called
> >> PowerCharts from the
> >> FusionCharts suite within a Flex application. The
> >> chart is shipped as an
> >> SWF file, there are lots of examples of use, but
> >> none using Flex. Has
> >> anyone done this before? Basically I want to
> access
> >> it programatically,
> >> and use it like you would a 3rd party control in
> >> Visual Studio - e.g.
> >> drop it on my flex designer and access it
> >> programatically.
> >>
> >> Is this possible?
> >>
> >> Many thanks,
> >>
> >> Jon Rowland
> 
> 
> 



 

We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 


Re: [flexcoders] Embedding FusionCharts in a Flex application

2007-02-28 Thread leds usop
not directly perhaps. try using flashinterface.

--- Muzak <[EMAIL PROTECTED]> wrote:

> FusionCharts are AS2.
> You'll be able to load a FusionChart swf into a Flex
> app, but you won't be able to control it from Flex
> though.
> 
> regards,
> Muzak
> 
> - Original Message - 
> From: "Jon Rowland " <[EMAIL PROTECTED]>
> To: 
> Sent: Tuesday, February 27, 2007 11:16 AM
> Subject: [flexcoders] Embedding FusionCharts in a
> Flex application
> 
> 
> Hi there,
> 
> I'm looking at embedding a diagramming tool called
> PowerCharts from the
> FusionCharts suite within a Flex application. The
> chart is shipped as an
> SWF file, there are lots of examples of use, but
> none using Flex. Has
> anyone done this before? Basically I want to access
> it programatically,
> and use it like you would a 3rd party control in
> Visual Studio - e.g.
> drop it on my flex designer and access it
> programatically.
> 
> Is this possible?
> 
> Many thanks,
> 
> Jon Rowland
> 
> 
> 
> 



 

The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php


RE: [flexcoders] Announcing FlexLib - open source flex component library

2007-02-28 Thread leds usop
Great work as always! 

--- "Merrill, Jason" <[EMAIL PROTECTED]>
wrote:

> Awesome!  I hope this grows into something really
> great.
>  
> 
> Jason Merrill 
> Bank of America  
> Global Technology & Operations 
> Learning & Leadership Development 
> eTools & Multimedia Team 
> 
> 
>  
> 
> 
> 
> 
>   From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Doug McCune
>   Sent: Wednesday, February 28, 2007 11:08 AM
>   To: flexcoders@yahoogroups.com;
> flexcomponents@yahoogroups.com
>   Subject: [flexcoders] Announcing FlexLib - open
> source flex
> component library
>   
>   
> 
>   I'm pleased to announce FlexLib: a new open-source
> project for
> Flex 2
>   components. This project is a Google Code hosted
> project,
> released
>   under the MIT license. I've been working with
> Darron Schall,
> Mike
>   Chambers and Ted Patrick to get the project up and
> running.
> We're
>   hoping to build a concentrated community effort for
> custom Flex
>   component development.
>   
>   Have you been looking for a community project to
> contribute to?
> Do you
>   have custom components you've been releasing on
> your blog? Want
> to
>   brainstorm about new and improved components?
>   
>   The project currently contains a handful of
> components that have
> been
>   developed by me or Darron (including some new ones
> I haven't
> blogged
>   about yet). We want to get the Flex developer
> community involved
> and
>   have a central resource that will help us all build
> off each
> other's
>   work. To get involved take a look at the project
> page on google
> code
>   (link below) and read the HowToContribute wiki
> page.
>   
>   For more information read through the project
> website, join the
>   discussion group, and email me if you have more
> questions. If
> you want
>   to contribute your code, drop us a line and we'll
> get you
> involved.
>   
>   FlexLib project page:
> http://code.google.com/p/flexlib
>  
>   
>   Announcement on my blog:
>   
>
http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-source-fle
> x-component-library/
>
 ex-component-library/> 
>   
>   Darron Schall's announcement:
> http://darronschall.com/weblog/
>  
>   
> 
>
> 
> 



 

Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front


Re: [flexcoders] Re: Result to ArrayCollection - somtimes node is single, sometimes it's an array

2007-02-28 Thread leds usop
If the result format is set to object... or not set at
all (default is object), the result will be wrapped by
an ObjectProxy if there's a single node. Hence
Andrew's solution should do the trick.  However, in my
case, to ensure that I can indeed use it as an array i
do:

ArrayUtil.toArray(event.result.SomeNode);

then assign that to arr if its a valid array (or throw
an error if not). then set arr as the source of the
new arraycollection. 


--- greenfishinwater <[EMAIL PROTECTED]>
wrote:

> This works for me:
> 
> if (event.result.price_sets.price_set is
> ArrayCollection) {
>   arr = event.result.price_sets.price_set.source;
> } else {
>   arr = [event.result.price_sets.price_set];
> }
> 
> arrCol = new ArrayCollection(arr);
> 
> Andrew
> 
> --- In flexcoders@yahoogroups.com, "darylgmyers"
> <[EMAIL PROTECTED]> wrote:
> >
> > When I use an HTTPService result as an
> ArrayCollection, certain nodes 
> > will be set as a single item or an array depending
> on the number of 
> > items in the node.  Is there a simple way to
> always force a node to an 
> > array regardless of how many items there are?
> >
> 
> 
> 



 

Have a burning question?  
Go to www.Answers.yahoo.com and get answers from real people who know.


Re: [flexcoders] Re: Can anyone help on getting data from a grid cell .. I know the row/column index

2007-02-26 Thread leds usop
I think my last lines are a bit vague and confusing.
It isnt the actual index in the dataprovider.. but
rather the offset in the data provider of properties
depending on how you have laid out your elements. So
the reliability of this method depends - needless to
say - your prior knowledge of how the properties are
to be laid out in the datagrid.  It's one of the
setbacks for trying to find the item from the "visual"
indeces  "p 




--- leds usop <[EMAIL PROTECTED]> wrote:

> OMG i just realized I just gave you the reverse of
> what you are asking for haha. my bad.   anyway, try
> using datagrid's indicesToIndex() method. It will
> return the index (in your dataprovider)... I assume
> you can then look up your dataprovider to determine
> which item/prop/text is which? :)
> 
> Cheers!
> 
> -leds
> 
> 
> --- leds usop <[EMAIL PROTECTED]> wrote:
> 
> > Hi listen for the itemclickevent and then use
> > specifically ListEvent as the event type paramter
> of
> > the listener then use the rowIndex and columnindex
> > properties like so:
> > 
> > private function test(e:ListEvent):void{
> > trace(e.rowIndex.toString());
> > trace(e.columnIndex.toString());
> > }
> > 
> > be aware however that these indeces are relative
> to
> > the visual grid, hence the headers (if you use
> them)
> > are counted. Just compensate approprately.. like
> > subtract 1 from the rowindex. :) Cheers!
> > 
> > -leds
> > 
> > 
> > 
> > --- helihobby <[EMAIL PROTECTED]> wrote:
> > 
> > > Thank you all for the answers ...
> > > The problem is that I need to know which cell he
> > > clicked on.
> > > 
> > > Or in other words, what is the text that
> displayed
> > > on that cell...
> > > 
> > > Getting the complete ArrayCollection object
> which
> > > the user clicked on 
> > > is easy as I can ( as u guys mentioned ) simply
> > grab
> > > the event and do 
> > > event.selectedItem.SOME_PROP_HERE
> > > 
> > > However, I need to know which prop he clicked on
> > as
> > > during runtime I 
> > > do not know the name of SOME_PROP_HERE.
> > > 
> > > In my case I have over 40 columns per row and
> each
> > > carries the name 
> > > of Open1 Open2 Open3 Open4 . etc ...
> > > 
> > > So of course doing event.selectedItem.Open1 will
> > > work.
> > > 
> > > But how do I know if clicked on the column Open1
> > or
> > > Open2 or Open3 
> > > etc ...
> > > 
> > > 
> > > I need to figure out which OpenN ( N = number )
> he
> > > clicked on ...
> > > 
> > > Thanks again,
> > > 
> > > Sean.
> > > 
> > > 
> > > 
> > > --- In flexcoders@yahoogroups.com, "helihobby"
> > > <[EMAIL PROTECTED]> wrote:
> > > >
> > > > 
> > > > Hello,
> > > > 
> > > > Can anyone help out ...
> > > > I know the Data Grid Cell's Row and Colum
> Index.
> > > > 
> > > > How can I retrieve the data in that cell if I
> > know
> > > these two 
> > > values ?
> > > > 
> > > > Thank you,
> > > > 
> > > > Sean.
> > > >
> > > 
> > > 
> > > 
> > 
> > 
> > 
> >  
> >
>

> > Now that's room service!  Choose from over 150,000
> > hotels
> > in 45,000 destinations on Yahoo! Travel to find
> your
> > fit.
> > http://farechase.yahoo.com/promo-generic-14795097
> > 
> 
> 
> 
>  
>

> No need to miss a message. Get email on-the-go 
> with Yahoo! Mail for Mobile. Get started.
> http://mobile.yahoo.com/mail 
> 



 

Don't get soaked.  Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather


Re: [flexcoders] Re: Can anyone help on getting data from a grid cell .. I know the row/column index

2007-02-26 Thread leds usop
OMG i just realized I just gave you the reverse of
what you are asking for haha. my bad.   anyway, try
using datagrid's indicesToIndex() method. It will
return the index (in your dataprovider)... I assume
you can then look up your dataprovider to determine
which item/prop/text is which? :)

Cheers!

-leds


--- leds usop <[EMAIL PROTECTED]> wrote:

> Hi listen for the itemclickevent and then use
> specifically ListEvent as the event type paramter of
> the listener then use the rowIndex and columnindex
> properties like so:
> 
> private function test(e:ListEvent):void{
> trace(e.rowIndex.toString());
> trace(e.columnIndex.toString());
> }
> 
> be aware however that these indeces are relative to
> the visual grid, hence the headers (if you use them)
> are counted. Just compensate approprately.. like
> subtract 1 from the rowindex. :) Cheers!
> 
> -leds
> 
> 
> 
> --- helihobby <[EMAIL PROTECTED]> wrote:
> 
> > Thank you all for the answers ...
> > The problem is that I need to know which cell he
> > clicked on.
> > 
> > Or in other words, what is the text that displayed
> > on that cell...
> > 
> > Getting the complete ArrayCollection object which
> > the user clicked on 
> > is easy as I can ( as u guys mentioned ) simply
> grab
> > the event and do 
> > event.selectedItem.SOME_PROP_HERE
> > 
> > However, I need to know which prop he clicked on
> as
> > during runtime I 
> > do not know the name of SOME_PROP_HERE.
> > 
> > In my case I have over 40 columns per row and each
> > carries the name 
> > of Open1 Open2 Open3 Open4 . etc ...
> > 
> > So of course doing event.selectedItem.Open1 will
> > work.
> > 
> > But how do I know if clicked on the column Open1
> or
> > Open2 or Open3 
> > etc ...
> > 
> > 
> > I need to figure out which OpenN ( N = number ) he
> > clicked on ...
> > 
> > Thanks again,
> > 
> > Sean.
> > 
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "helihobby"
> > <[EMAIL PROTECTED]> wrote:
> > >
> > > 
> > > Hello,
> > > 
> > > Can anyone help out ...
> > > I know the Data Grid Cell's Row and Colum Index.
> > > 
> > > How can I retrieve the data in that cell if I
> know
> > these two 
> > values ?
> > > 
> > > Thank you,
> > > 
> > > Sean.
> > >
> > 
> > 
> > 
> 
> 
> 
>  
>

> Now that's room service!  Choose from over 150,000
> hotels
> in 45,000 destinations on Yahoo! Travel to find your
> fit.
> http://farechase.yahoo.com/promo-generic-14795097
> 



 

No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 


Re: [flexcoders] Re: Dynamically creating a text object

2007-02-26 Thread leds usop
sorry typo :p "...more than just to add a circle, he
wanted to add text.."

--- leds usop <[EMAIL PROTECTED]> wrote:

> Actually Tim, he already mentioned in a previous
> post
> that more than just to add a circle, he wanted to
> add
> a circle.. and rotate it to vertical. i have already
> suggested adding the text child directly to the
> canvas
> (main or child.. shouldnt really matter). However, i
> think what makes the text not render is the rotate
> action he is applying. I dunno, correct me if im
> wrong.. but you cant rotate text and have it render
> correctly like other visual stuff (basic shapes,
> etc)
> without embedding the font am i right?
> 
> --- Tim <[EMAIL PROTECTED]> wrote:
> 
> > You should be able to do something like this:
> > 
> > var myText:Text = new Text();
> > myText.text = "Hello World";
> > myText.x = 220;
> > myText.y = 140;
> > mainCanvas.addChild(myText);
> > 
> > If you're just wanting to draw a shape, you should
> > use Sprite rather
> > than Canvas. Canvas is a container and is intended
> > to layout other
> > UIComponents - more than is needed just to draw a
> > circle.
> > 
> > Tim
> > 
> > --- In flexcoders@yahoogroups.com, "Tracy Spratt"
> > <[EMAIL PROTECTED]> wrote:
> > >
> > > You definitely can do that.
> > > 
> > >  
> > > 
> > > addChild() is the method to use.
> > > 
> > >  
> > > 
> > > I can't guess at what you are doing wrong
> without
> > seeing what you are
> > > doing.
> > > 
> > >  
> > > 
> > > Tracy
> > > 
> > >  
> > > 
> > > 
> > > 
> > > From: flexcoders@yahoogroups.com
> > [mailto:[EMAIL PROTECTED] On
> > > Behalf Of Guy Morton
> > > Sent: Sunday, February 25, 2007 8:03 AM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Dynamically creating a
> text
> > object
> > > 
> > >  
> > > 
> > > Hello. I'm stumped.
> > > 
> > >  
> > > 
> > > I'm creating some circles in AS and putting them
> > on a Canvas that's
> > > declared in my MXML file like so
> > > 
> > >  
> > > 
> > > var childCanvas:Canvas = new Canvas();
> > > 
> > > childCanvas.graphics.lineStyle(1, 0x33, 1);
> > > 
> > > childCanvas.graphics.beginFill(0xCC,0.6);
> > > 
> > > childCanvas.graphics.drawCircle(200,150,7); 
>  
> >  
> > > 
> > > childCanvas.graphics.endFill();
> > > 
> > > childCanvas.id = "myCircle";
> > > 
> > > childCanvas.toolTip = "I'm a circle";
> > > 
> > >  
> > > 
> > > mainCanvas.addChild(childCanvas);
> > > 
> > >  
> > > 
> > > This all works fine. However, I want to add some
> > text next to the circle
> > > (with AS) and I can't see how to do it. I've
> tried
> > many ways and nothing
> > > worked. It seems I can't add an instance of a
> text
> > object as a child to
> > > the canvas in the same way that I can a shape.
> How
> > should I be doing
> > > this?
> > > 
> > >  
> > > 
> > > Guy
> > >
> > 
> > 
> > 
> 
> 
> 
>  
>

> Expecting? Get great news right away with email
> Auto-Check. 
> Try the Yahoo! Mail Beta.
>
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
> 
> 



 

Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.yahoo.com


Re: [flexcoders] Re: Can anyone help on getting data from a grid cell .. I know the row/column index

2007-02-26 Thread leds usop
Hi listen for the itemclickevent and then use
specifically ListEvent as the event type paramter of
the listener then use the rowIndex and columnindex
properties like so:

private function test(e:ListEvent):void{
trace(e.rowIndex.toString());
trace(e.columnIndex.toString());
}

be aware however that these indeces are relative to
the visual grid, hence the headers (if you use them)
are counted. Just compensate approprately.. like
subtract 1 from the rowindex. :) Cheers!

-leds



--- helihobby <[EMAIL PROTECTED]> wrote:

> Thank you all for the answers ...
> The problem is that I need to know which cell he
> clicked on.
> 
> Or in other words, what is the text that displayed
> on that cell...
> 
> Getting the complete ArrayCollection object which
> the user clicked on 
> is easy as I can ( as u guys mentioned ) simply grab
> the event and do 
> event.selectedItem.SOME_PROP_HERE
> 
> However, I need to know which prop he clicked on as
> during runtime I 
> do not know the name of SOME_PROP_HERE.
> 
> In my case I have over 40 columns per row and each
> carries the name 
> of Open1 Open2 Open3 Open4 . etc ...
> 
> So of course doing event.selectedItem.Open1 will
> work.
> 
> But how do I know if clicked on the column Open1 or
> Open2 or Open3 
> etc ...
> 
> 
> I need to figure out which OpenN ( N = number ) he
> clicked on ...
> 
> Thanks again,
> 
> Sean.
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "helihobby"
> <[EMAIL PROTECTED]> wrote:
> >
> > 
> > Hello,
> > 
> > Can anyone help out ...
> > I know the Data Grid Cell's Row and Colum Index.
> > 
> > How can I retrieve the data in that cell if I know
> these two 
> values ?
> > 
> > Thank you,
> > 
> > Sean.
> >
> 
> 
> 



 

Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097


Re: [flexcoders] Re: Dynamically creating a text object

2007-02-26 Thread leds usop
Actually Tim, he already mentioned in a previous post
that more than just to add a circle, he wanted to add
a circle.. and rotate it to vertical. i have already
suggested adding the text child directly to the canvas
(main or child.. shouldnt really matter). However, i
think what makes the text not render is the rotate
action he is applying. I dunno, correct me if im
wrong.. but you cant rotate text and have it render
correctly like other visual stuff (basic shapes, etc)
without embedding the font am i right?

--- Tim <[EMAIL PROTECTED]> wrote:

> You should be able to do something like this:
> 
> var myText:Text = new Text();
> myText.text = "Hello World";
> myText.x = 220;
> myText.y = 140;
> mainCanvas.addChild(myText);
> 
> If you're just wanting to draw a shape, you should
> use Sprite rather
> than Canvas. Canvas is a container and is intended
> to layout other
> UIComponents - more than is needed just to draw a
> circle.
> 
> Tim
> 
> --- In flexcoders@yahoogroups.com, "Tracy Spratt"
> <[EMAIL PROTECTED]> wrote:
> >
> > You definitely can do that.
> > 
> >  
> > 
> > addChild() is the method to use.
> > 
> >  
> > 
> > I can't guess at what you are doing wrong without
> seeing what you are
> > doing.
> > 
> >  
> > 
> > Tracy
> > 
> >  
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of Guy Morton
> > Sent: Sunday, February 25, 2007 8:03 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Dynamically creating a text
> object
> > 
> >  
> > 
> > Hello. I'm stumped.
> > 
> >  
> > 
> > I'm creating some circles in AS and putting them
> on a Canvas that's
> > declared in my MXML file like so
> > 
> >  
> > 
> > var childCanvas:Canvas = new Canvas();
> > 
> > childCanvas.graphics.lineStyle(1, 0x33, 1);
> > 
> > childCanvas.graphics.beginFill(0xCC,0.6);
> > 
> > childCanvas.graphics.drawCircle(200,150,7);   
>  
> > 
> > childCanvas.graphics.endFill();
> > 
> > childCanvas.id = "myCircle";
> > 
> > childCanvas.toolTip = "I'm a circle";
> > 
> >  
> > 
> > mainCanvas.addChild(childCanvas);
> > 
> >  
> > 
> > This all works fine. However, I want to add some
> text next to the circle
> > (with AS) and I can't see how to do it. I've tried
> many ways and nothing
> > worked. It seems I can't add an instance of a text
> object as a child to
> > the canvas in the same way that I can a shape. How
> should I be doing
> > this?
> > 
> >  
> > 
> > Guy
> >
> 
> 
> 



 

Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 


Re: [flexcoders] CurrencyFormatter applied to LineSeries

2007-02-25 Thread leds usop
a code post will help :) if you dont mind

--- marc_rossi <[EMAIL PROTECTED]> wrote:

> Hi all -
> 
> I'm trying to use a LineSeries with stock prices. 
> When I format the
> yField with the CurrencyFormatter the chart no
> longer works.  It looks
> as though I need to create my own itemRenderer but
> have been
> unsuccessful thus far in my attempts.  Is this the
> correct route?  If
> so, are there any examples available online?
> 
> TIA,
> Marc  
> 
> 



 

It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/


Re: [flexcoders] Re: Accessing FLEX data from within a SWF??

2007-02-25 Thread leds usop
running out of ideas here, although i dont know why
externalinterface didnt work for you, unless you are
not allowed to touch the code of the flex swf and
recompiling it to expose the vars inside to the
wrapping exe.  we did that in a VB-C++ and flex
project - i had thought it will work for swfkit.

anyway, i dont know if this will help but  in case you
dont know, there is a way similar to using _root in a
flash swf: MovieClip(mx.core.Application) the
movieclip casting is just so the compiler wont nag
you. Im not sure if that's what you really need, but
it might help point to the right way :P May the force
be with you :D



--- stevekpeak8 <[EMAIL PROTECTED]> wrote:

> I really appreciate the good ideas.
> 
> I tried this approach, and it (unfortunately) didn't
> work.
> 
> What I really need, however is merely to be able to
> find out how to 
> correctly notate the SCOPE of variables in the SWF,
> and whether I 
> need to do anything specific to EXPOSE them in the
> SWF file.
> 
> Thanks,
> 
> Steve
> 
> 
> --- In flexcoders@yahoogroups.com, leds usop
> <[EMAIL PROTECTED]> wrote:
> >
> > have you tried using FABridge or externalinterface
> > instead? that is assuming of course swfkit
> supports
> > javascript.
> > 
> > 
> > --- stevekpeak8 <[EMAIL PROTECTED]> wrote:
> > 
> > > Thanks for the response,
> > > 
> > > I'm not really trying to go between AVM2 and
> AVM3
> > > for my actual 
> > > product.  Yes, opening a Flex app in Flash
> AMOUNTS
> > > to doing so, but 
> > > that's just to try to get a better view of how
> to
> > > access the AVM3 
> > > variables.
> > > 
> > > All I'm trying to do is to gain access to some
> of
> > > the AVM3 variables 
> > > in my Flex swf so that my EXE wrapper can
> > > communicate with the SWF.
> > > 
> > > BTW...  Are there any utilities available that
> would
> > > let me peer 
> > > inside an AVM3 SWF?
> > > 
> > > Thanks in Advance.
> > > 
> > > Steve
> > > 
> > > 
> > > --- In flexcoders@yahoogroups.com, leds usop
> > >  wrote:
> > > >
> > > > You cant access avm2(as2 swfs) scripts loaded
> > > within
> > > > avm3 (as3 swfs -->flex swfs) and vice versa.
> Well
> > > at
> > > > least not directly. If you forcibly load an
> as3
> > > swf in
> > > > flash 8, certainly you will not be able to see
> the
> > > > scripts/ vars within except perhaps the
> version
> > > var.
> > > > Same thing goes with loading as2 swfs within
> as3,
> > > > unless you are using the as2 swf as assets for
> > > > skinning and the like, you will lose the
> > > > script-enabled functionalities in that as2
> swf.  
> > > You
> > > > can check out the docs for more details about
> > > this. 
> > > > 
> > > > You may want to take a look at FlashInterface
> > > here:
> > > >
> > >
> >
>
http://www.flashextensions.com/products/flashinterface.php
> > > > 
> > > > although i think you will have to change which
> > > loads
> > > > which... anyway, it's better than not being
> able
> > > > to use your as2 functionalities entirely -
> unless
> > > you
> > > > port all of them into as3 :)  I hope that
> helps.
> > > Best
> > > > of luck! 
> > > > 
> > > > -leds
> > > > 
> > > > --- stevekpeak8  wrote:
> > > > 
> > > > > Claus,
> > > > > 
> > > > > Thanks very much for your reply.
> > > > > 
> > > > > Unfortunately, I can't do this the way you
> > > suggest,
> > > > > as I'm not 
> > > > > operating in a typical WEB environment.  I'm
> in
> > > an
> > > > > .EXE environment 
> > > > > using a tool called SWFKit.
> > > > > 
> > > > > Here's the thing...  If I take my output
> SWF,
> > > and
> > > > > load it from within 
> > > > > Flash Professional 8, I can "list variables"
> > > from
> > > > > the debug menu. 
> > > > > Using most SWFs that are created in Flash
> > > itself, I
> > > > > CAN gain 
> > > > > visibility to many

Re: [flexcoders] Dynamically creating a text object

2007-02-25 Thread leds usop
you didnt mention the vertical flip in your prior post
:).  If you dont apply the flip, the text and circle
will display fine.  But the addition of the flip
requires that you embed the font in the text
component. see the docs on how to embed fonts using
styles. :)


--- Guy Morton <[EMAIL PROTECTED]> wrote:

> Nope, adding the text children clears my canvas. I
> think I now know  
> why. After I add all these children to my main
> Canvas I'm adding a  
> transform matrix to it to flip it vertically, like
> so:
> 
> mainCanvas.transform.matrix = new Matrix(1,0,0,-1);
> 
> This works just fine so long as I don't add the text
> children, but if  
> I do, the canvas ends up empty.
> 
> Is this something to do with Flex not being happy to
> vertically flip  
> my text objects? If so, would that be a bug?
> 
> Thanks for your help.
> 
> Guy
> 
> 
> On 26/02/2007, at 6:39 AM, leds usop wrote:
> 
> > var childCanvas: Canvas = new Canvas();
> > var t:Text= new Text();
> > t.text="this is a circle";
> > t.x=220;
> > t.y=140;
> > childCanvas.graphics.lineStyle (1, 0x33, 1);
> > childCanvas.graphics.beginFill (0xCC, 0.6);
> > childCanvas.graphics.drawCircle(200,150, 7);
> > childCanvas.graphics.endFill( );
> > childCanvas.id = "myCircle";
> > childCanvas.toolTip = "I'm a circle";
> > childCanvas.addChild(t);
> >
> >
> > mainCanvas.addChild(childCanvas);
> 
> 



 

Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097


Re: [flexcoders] Dynamically creating a text object

2007-02-25 Thread leds usop
try this if you havent yet:
var childCanvas: Canvas = new Canvas();
var t:Text= new Text();
t.text="this is a circle";
t.x=220;
t.y=140;
childCanvas.graphics.lineStyle (1, 0x33, 1);
childCanvas.graphics.beginFill (0xCC, 0.6);
childCanvas.graphics.drawCircle(200,150, 7);
childCanvas.graphics.endFill( );
childCanvas.id = "myCircle";
childCanvas.toolTip = "I'm a circle";
childCanvas.addChild(t);


mainCanvas.addChild(childCanvas);


--- Guy Morton <[EMAIL PROTECTED]> wrote:

> Hello. I'm stumped.
> 
> I'm creating some circles in AS and putting them on
> a Canvas that's  
> declared in my MXML file like so
> 
> var childCanvas:Canvas = new Canvas();
> childCanvas.graphics.lineStyle(1, 0x33, 1);
> childCanvas.graphics.beginFill(0xCC,0.6);
> childCanvas.graphics.drawCircle(200,150,7);   
> childCanvas.graphics.endFill();
> childCanvas.id = "myCircle";
> childCanvas.toolTip = "I'm a circle";
> 
> mainCanvas.addChild(childCanvas);
> 
> This all works fine. However, I want to add some
> text next to the  
> circle (with AS) and I can't see how to do it. I've
> tried many ways  
> and nothing worked. It seems I can't add an instance
> of a text object  
> as a child to the canvas in the same way that I can
> a shape. How  
> should I be doing this?
> 
> Guy
> 
> 



 

Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com


Re: [flexcoders] Re: Accessing FLEX data from within a SWF??

2007-02-25 Thread leds usop
have you tried using FABridge or externalinterface
instead? that is assuming of course swfkit supports
javascript.


--- stevekpeak8 <[EMAIL PROTECTED]> wrote:

> Thanks for the response,
> 
> I'm not really trying to go between AVM2 and AVM3
> for my actual 
> product.  Yes, opening a Flex app in Flash AMOUNTS
> to doing so, but 
> that's just to try to get a better view of how to
> access the AVM3 
> variables.
> 
> All I'm trying to do is to gain access to some of
> the AVM3 variables 
> in my Flex swf so that my EXE wrapper can
> communicate with the SWF.
> 
> BTW...  Are there any utilities available that would
> let me peer 
> inside an AVM3 SWF?
> 
> Thanks in Advance.
> 
> Steve
> 
> 
> --- In flexcoders@yahoogroups.com, leds usop
> <[EMAIL PROTECTED]> wrote:
> >
> > You cant access avm2(as2 swfs) scripts loaded
> within
> > avm3 (as3 swfs -->flex swfs) and vice versa. Well
> at
> > least not directly. If you forcibly load an as3
> swf in
> > flash 8, certainly you will not be able to see the
> > scripts/ vars within except perhaps the version
> var.
> > Same thing goes with loading as2 swfs within as3,
> > unless you are using the as2 swf as assets for
> > skinning and the like, you will lose the
> > script-enabled functionalities in that as2 swf.  
> You
> > can check out the docs for more details about
> this. 
> > 
> > You may want to take a look at FlashInterface
> here:
> >
>
http://www.flashextensions.com/products/flashinterface.php
> > 
> > although i think you will have to change which
> loads
> > which... anyway, it's better than not being able
> > to use your as2 functionalities entirely - unless
> you
> > port all of them into as3 :)  I hope that helps.
> Best
> > of luck! 
> > 
> > -leds
> > 
> > --- stevekpeak8 <[EMAIL PROTECTED]> wrote:
> > 
> > > Claus,
> > > 
> > > Thanks very much for your reply.
> > > 
> > > Unfortunately, I can't do this the way you
> suggest,
> > > as I'm not 
> > > operating in a typical WEB environment.  I'm in
> an
> > > .EXE environment 
> > > using a tool called SWFKit.
> > > 
> > > Here's the thing...  If I take my output SWF,
> and
> > > load it from within 
> > > Flash Professional 8, I can "list variables"
> from
> > > the debug menu. 
> > > Using most SWFs that are created in Flash
> itself, I
> > > CAN gain 
> > > visibility to many/all of the variables defined
> > > within Flash.  
> > > However, from a SWF created in FLEX, I can only
> see
> > > ONE variable:
> > > 
> > > Level #0:
> > > Variable _level0.$version = "WIN 8,0,22,0"
> > > 
> > > And I AM able to see this variable from within
> the
> > > SWFKit environment.
> > > 
> > > There's GOT to be a way to mark other variables
> in
> > > Flex to make them 
> > > appear in this exported list of variables, don't
> you
> > > think?  I'm 
> > > hoping that someone at Adobe can help me with an
> > > MXMLC trick to 
> > > export variables to the Flash'variables' list.
> > > 
> > > ANY HELP WILL BE GREATLY APPRECIATED.
> > > 
> > > Thanks AGain, Claus
> > > --- In flexcoders@yahoogroups.com, Claus Wahlers
> > >  wrote:
> > > >
> > > > 
> > > > > When I define a VAR in Flex, I know that the
> > > MXML compiler turns 
> > > that 
> > > > > into a FLASH variable in the output SWF… 
> But
> > > What DOMAIN is that 
> > > > > variable listed in (for example _root in a
> > > .FLA)?
> > > > > 
> > > > > I need to know this because we're using
> SWFKit
> > > to turn a SWF into 
> > > an 
> > > > > EXE, and I need the domain in order to
> get/set
> > > Flex Variables 
> > > from 
> > > > > with in the SWF wrapper.
> > > > 
> > > > You need to go the other way round: At startup
> of
> > > your application, 
> > > grab 
> > > > the LoaderInfo.parameters object which
> contains
> > > the variables 
> > > passed to 
> > > > your SWF from the outside, something like
> this:
> > > > 
> > > > var flashV

Re: [flexcoders] referencing or travesing display objects from custom class

2007-02-25 Thread leds usop
you may have to override updatedisplaylist andor
addchild in your thingy class. 

here are two ways you can try to access a child of
your main app from within another child:

1- call parentDocument.mycanvas from that other class.
although that will work only if that other class is an
immediate child of your main application - it wont
work if it's wrapped within another class or
component... besides that is not a very good practice
in my opinion.

2 - create a reference to the loading application
component  by including a 'caller' property in your
custom thingy class and setting that to your main
application during instantiation.  Hence, you can
access the children and public properties of your main
application from within your thingy class using
caller.something .

However I suggest you dispatch a bubbling event
instead from the custom thingy class then listen for
that event within your main application -- then add
the child within the listener. Or use cairngorm's
event mechanism to do away with bubbling events. :) 

-leds


--- ronnlixx <[EMAIL PROTECTED]> wrote:

> Hi,
>  
> package
> {
>  public class MyThingy extends UIComponent
>  {
>public function drawThingy():void
>{
>var myThingy: UIComponent = new UIComponent();
>// define thingy
> addChild(myThingy);
>}
>
>public function updateText():void
>{
>  // I want to access and addChild to myCanvas
>  // but this does not work
> 
>  myCanvas.addChild(myTextField);
>}
>  }
> }
> 
> Im attaching this in the creationComplete event
> 
> addChild(new MyThingy);
> 
> my app has a canvas with the id of "myCanvas" and I
> want to access it
> from within the updateText() metheod, how can I do
> that?
> 
> 
> 
> 
> 
> 



 

8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news


Re: [flexcoders] referencing or travesing display objects from custom class

2007-02-25 Thread leds usop
you may have to override updatedisplaylist andor
addchild in your thingy class. 

here are two ways you can try to access a child of
your main app from within another child:

1- call parentDocument.mycanvas from that other class.
although that will work only if that other class is an
immediate child of your main application - it wont
work if it's wrapped within another class or
component... besides that is not a very good practice
in my opinion.

2 - create a reference to the loading application
component  by including a 'caller' property in your
custom thingy class and setting that to your main
application during instantiation.  Hence, you can
access the children and public properties of your main
application from within your thingy class using
caller.something .

However I suggest you dispatch a bubbling event
instead from the custom thingy class then listen for
that event within your main application -- then add
the child within the listener. Or use cairngorm's
event mechanism to do away with bubbling events. :) 

-leds

--- ronnlixx <[EMAIL PROTECTED]> wrote:

> Hi,
>  
> package
> {
>  public class MyThingy extends UIComponent
>  {
>public function drawThingy():void
>{
>var myThingy: UIComponent = new UIComponent();
>// define thingy
> addChild(myThingy);
>}
>
>public function updateText():void
>{
>  // I want to access and addChild to myCanvas
>  // but this does not work
> 
>  myCanvas.addChild(myTextField);
>}
>  }
> }
> 
> Im attaching this in the creationComplete event
> 
> addChild(new MyThingy);
> 
> my app has a canvas with the id of "myCanvas" and I
> want to access it
> from within the updateText() metheod, how can I do
> that?
> 
> 
> 
> 
> 
> 



 

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121


Re: [flexcoders] Re: Accessing FLEX data from within a SWF??

2007-02-25 Thread leds usop
You cant access avm2(as2 swfs) scripts loaded within
avm3 (as3 swfs -->flex swfs) and vice versa. Well at
least not directly. If you forcibly load an as3 swf in
flash 8, certainly you will not be able to see the
scripts/ vars within except perhaps the version var.
Same thing goes with loading as2 swfs within as3,
unless you are using the as2 swf as assets for
skinning and the like, you will lose the
script-enabled functionalities in that as2 swf.   You
can check out the docs for more details about this. 

You may want to take a look at FlashInterface here:
http://www.flashextensions.com/products/flashinterface.php

although i think you will have to change which loads
which... anyway, it's better than not being able
to use your as2 functionalities entirely - unless you
port all of them into as3 :)  I hope that helps. Best
of luck! 

-leds

--- stevekpeak8 <[EMAIL PROTECTED]> wrote:

> Claus,
> 
> Thanks very much for your reply.
> 
> Unfortunately, I can't do this the way you suggest,
> as I'm not 
> operating in a typical WEB environment.  I'm in an
> .EXE environment 
> using a tool called SWFKit.
> 
> Here's the thing...  If I take my output SWF, and
> load it from within 
> Flash Professional 8, I can "list variables" from
> the debug menu. 
> Using most SWFs that are created in Flash itself, I
> CAN gain 
> visibility to many/all of the variables defined
> within Flash.  
> However, from a SWF created in FLEX, I can only see
> ONE variable:
> 
> Level #0:
> Variable _level0.$version = "WIN 8,0,22,0"
> 
> And I AM able to see this variable from within the
> SWFKit environment.
> 
> There's GOT to be a way to mark other variables in
> Flex to make them 
> appear in this exported list of variables, don't you
> think?  I'm 
> hoping that someone at Adobe can help me with an
> MXMLC trick to 
> export variables to the Flash'variables' list.
> 
> ANY HELP WILL BE GREATLY APPRECIATED.
> 
> Thanks AGain, Claus
> --- In flexcoders@yahoogroups.com, Claus Wahlers
> <[EMAIL PROTECTED]> wrote:
> >
> > 
> > > When I define a VAR in Flex, I know that the
> MXML compiler turns 
> that 
> > > into a FLASH variable in the output SWF…  But
> What DOMAIN is that 
> > > variable listed in (for example _root in a
> .FLA)?
> > > 
> > > I need to know this because we're using SWFKit
> to turn a SWF into 
> an 
> > > EXE, and I need the domain in order to get/set
> Flex Variables 
> from 
> > > with in the SWF wrapper.
> > 
> > You need to go the other way round: At startup of
> your application, 
> grab 
> > the LoaderInfo.parameters object which contains
> the variables 
> passed to 
> > your SWF from the outside, something like this:
> > 
> > var flashVars:Object = root.loaderInfo.parameters;
> > var myFlashVar:String = flashVars['myFlashVar'];
> > 
> > Cheers,
> > Claus.
> > 
> > -- 
> > claus wahlers
> > côdeazur brasil
> > http://codeazur.com.br/
> > http://wahlers.com.br/claus/blog/
> > 
> > --
> > READ CAREFULLY. By reading this email you agree,
> on behalf of your 
> > employer, to release me from all obligations and
> waivers arising 
> from 
> > any and all NON-NEGOTIATED agreements, licenses,
> terms-of-service, 
> > shrinkwrap, clickwrap, browsewrap,
> confidentiality, non-disclosure, 
> > non-compete and acceptable use policies ("BOGUS
> AGREEMENTS") that I 
> have 
> > entered into with your employer, its partners,
> licensors, agents 
> and 
> > assigns, in perpetuity, without prejudice to my
> ongoing rights and 
> > privileges. You further represent that you have
> the authority to 
> release 
> > me from any BOGUS AGREEMENTS on behalf of your
> employer.
> >
> 
> 
> 



 

TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/


Re: [flexcoders] Invoking datagrid column sort programmatically

2007-02-24 Thread leds usop
you could actually, by subclassing the datagrid class
and exposing the  private method sortByColumn - the
method called by header release event handler in the
datagrid as class file. However, I am more inclined to
sticking with adobe's private implementation of this
class and do the sorting instead at the dataprovider
level; that way you get finer control over the sorting
process.. then update the datagrid display :)


--- iko_knyphausen <[EMAIL PROTECTED]> wrote:

> 
> Hello everyone,
> 
> I would like to trigger a column sort
> programmatically, as if the user
> had "clicked" the column header. I have read many
> posts, and LiveDocs
> about this topic, and I did not like the solutions
> presented there. My
> grid has plenty of "calculated" display content
> (labelFunctions and
> custom itemRenderers), many columns require custom
> sortFunctions. I
> would like to use these functions exactly as they
> are, just without
> asking the "user" to click anything.
> 
> I came up with one way, which is to dispatch a
> HEADER_RELEASE event (see
> below utilized after a column drag), but that's a
> bit like accelerating
> a car by dispatching a "PUSH_PEDAL" event instead of
> controlling the
> engine directly - if that analogy makes any sense.
> 
> private function reGroup(event : IndexChangedEvent )
> : void
> {
> dgItems.dispatchEvent(new
>
DataGridEvent(DataGridEvent.HEADER_RELEASE,false,false,event.newIndex));
> }
> 
> What I was hoping for, would be a method like:
> dataGrid.sortItemsBy(
> ColumnIndex, [ASC|DESC] ) or dataGrid.sortItemsUsing
> (
> sortCompareFunction, [ASC|DESC] ). Some of that was
> mentioned in the
> early posts on this list, but it seemed to be
> related to Flex 1.5
> 
> Thanks for any help, or input
> 
> 
> 
> 



 

Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com


[flexcoders] ACCESS ITEM RENDERER

2007-02-24 Thread leds usop
To all those who didnt know previously, you can access
a listbase  (DataGridBase, List, TileBase and
subclasses of those) class'/component's item renderer
by:

componentID.indexToItemRenderer(k).PROP=propertyvalue;


where :
k is the index of the item in the dataprovider
represented by the renderer (or if you are listening
for a click or rollover, just the returned index);

PROP is a property of your itemrenderer;

component ID is your component's id of course :P

you can also access the data property of that
itemrenderer using:

componentID.indexToItemRenderer(k).data.DataPROPERTYNAME


But of course it is almost always best to leave the
itemrenderers and work on the dataprovider instead.
But for those who really need to ( like me, a while
ago teehee), here's your solution.  I didnt know
before since I always go to the dataproviders
instead... anyway, i hope that helps someone. :P

Cheers!






 

Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097


Re: [flexcoders] init() getting called more than once

2007-02-24 Thread leds usop
which component are you firing the creationcomplete
event from? Moreover, have you checked if you didnt
call another creationcomplete triggering action within
the init() function?  In any case, one quick solution
would be to declare a boolean tag/var (initially set
to false) which you will set to true upon first
httpservice invoking.. then have your init check for
that boolean tag/var first before executing any
actions. That way even if your init() is called
multiple times, you will be assured that the service
will only be called once. :) But I strongly suggest
you look for the real cause of the multiple call. a
code post would help. Cheers!



--- Mrinmoyee Sanyal <[EMAIL PROTECTED]>
wrote:

> This is my problem scenario:
> 
> - whenever any HTTPService is invoked, the servlet
> is being called TWICE
> - I have an init() function in my application that I
> call on
> "CreationComplete" and it is being called multiple
> times, which is causing
> the above problem, so how to fix this?
> 
> What am I doing wrong?
> 
> Thank you
> -MS
> 



 

We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 


Re: [flexcoders] Charting - create a secondSeries with Actionscript 3.0 ???

2007-02-23 Thread leds usop
a code post will help :)


--- mgrayfmr <[EMAIL PROTECTED]> wrote:

> Hey Gang - 
> 
> Has anyone had any experience with dynamically
> adding a second series 
> to a chart using actionscript 3.0 ?
> Using a LineChart object I have been dynamically
> creating new 
> LineSeries under the linechart's series with no
> problem. 
> I am not having luck adding a second series though.
> The data is fine, it just won't display a second
> series.
> To test, I added my secondSeries data to the primary
> series, and it 
> displays (but realtive to the wrong Y axis,
> obviously).
> 
> If anyone has any ideas, I would appreciate it.
> If I find a solution, I'll post it here as well.
> 
> Thanks,
> Mike
> 
> 



 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html


Re: [flexcoders] Flex 2 XML manipulation question

2007-02-17 Thread leds usop
a little revision to my previous post. you can also
modify this to delete 'nodes' according to supplied
attribute or index. this time it will certainly throw
null when parameter is not XMl and XMllist; returns
XMLlist if successful. I must warn you, this uses
recursion tho. Some developers feel it's not a good
practice to do so. beats me, i just need it to work :P

And oh of course this only works on the as3 xml . not
on the legacy XMLNode  from as2. PLease let me know if
you have optimized/clean up the code and the logic
itself. Ill certainly be using it in a project im
working in. thnx!

public  function
deleteDescendantsByName(a:*,nodeName:String):XMLList{

var r:XMLList=null;

if (a.length()>=1&&((a is XML)||(a is XMLList))){
r = new XMLList();  
for (var i:int=0;ihttp://answers.yahoo.com/dir/?link=list&sid=396545367


Re: [flexcoders] Flex 2 XML manipulation question

2007-02-17 Thread leds usop
this isnt exactly a clean and optimized code, but it
works. just tweak it according to your needs. It
accepts both xml and xmllist. heck it will even accept
any object so long as there is a length() method in
it, however in that case, it will just return the
original object. let me know if it helped.. or if you
encounter any problems. Cheers! :)

public function
deleteDescendantsByName(a:*,nodeName:String):*{

var r:XMLList=null;

if (a.length()>=1){
r = new XMLList();  
for (var i:int=0;i wrote:

> 
> Does anyone know a way to suppress/remove specific
> nodes from an
> XML/XMLList or XMLCollection?
> 
> I have say this XML:
> 
> 
>   
> 
> 
>  
>   
> 
> 
>  
> 
> 
> I want to make a copy of this XML (could be either
> of the three types of
> XML objects) and remove the  nodes from
> every node no matter
> what hiarchy they are in.
> 
> Thanks in advance,
> Dustyn Eskelson
> 
> 
> 
> 
> 



 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com


[flexcoders] DIspatch custom event within a SIngleton's constructor.

2007-02-16 Thread leds usop
will the event fire appropriately? I have tried firing
one from the singleton pattern implementation which
doesnt use a hidden helper class - just like in ted's
JAM: Singleton take 2(?). I was trying to dispatch a
custom event right after the first instantiation of a
singleton class and have it bubble up through
indefinite parent/container classes. Is this a bad
idea? any alternative ideas on how to fire the event
from the class itself upon it's first instantiation?
Is placing it in the constructor the same as placing
it in the getInstance method? THnx!


 

Never Miss an Email
Stay connected with Yahoo! Mail on your mobile.  Get started!
http://mobile.yahoo.com/services?promote=mail


Re: [flexcoders] AS2 to AS3 - looping over loaded SWF

2007-02-16 Thread leds usop
have you tried alex's distortion effects? there are a
lot of great flips you can implement from the samples
alone. although im not sure if you will run into
performance issues once you deal with several
movieclips. Any insight on that guys?

--- thibs73 <[EMAIL PROTECTED]> wrote:

> Hi there,
> I am trying to convert some AS2 code to AS3 with
> some difficulty... 
> What I am trying to do is flip all nested MovieClips
> in a loaded SWF….
> 
> I loaded a swf with SwfLoader, casted it as a
> MovieClip. I am now 
> trying to loop thru the loaded SWF to flip all movie
> clips…
> 
> I've done this before in AS2 like this:
> 
> for (var i in targetClip) {
>   if (typeof targetClip[i] == "movieclip"){
>   targetClip[i].scaleX = targetClip[i].scaleX *
> -1   
>   }
> }
> 
> What properties of the SWF or MovieClip Object
> should I target for my 
> loop. Or am I way off base?
> Any help, would be appreciated.
> Thanks in advance.
> 
> 
> 



 

Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/


RE: [flexcoders] HTTPService with variable number of parameter

2007-01-29 Thread leds usop
My bad, i assumed lorenzo specifically wanted to use a
'GET' method from the mxml he sent. There are many
ways to do this, tracy's method and some other methods
you can check from the docs using httpservice and
urlloader   via POST method should work as well.  Just
bear in mind that Flex doesnt support multi-part
parameter passing (pls correct me if im wrong). Thnx!

--- Tracy Spratt <[EMAIL PROTECTED]> wrote:

> But that will result in a GET method call and
> severely limit the data
> you can send.
> 
>  
> 
> Instead do:
> 
> private function doSend(xlData:XMLList):void
> 
>   var oRequest:Object = new Object();
> 
>   for (var i:int=0;i< xlData.length();i++) {
> 
> xmlCur = xlData [i];
> 
> oRequest [EMAIL PROTECTED] =
> [EMAIL PROTECTED];
> 
>   }
> 
>   srv.send(oRequest);
> 
>  
> 
> Tracy
> 
> ____
> 
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> Behalf Of leds usop
> Sent: Monday, January 29, 2007 10:12 AM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] HTTPService with variable
> number of parameter
> 
>  
> 
> try appending your url-encoded value pair-parameters
> to the url property of your httpservice. or you can
> use URLvariable and attach it as data. Cheers!
> --- lruinelli <[EMAIL PROTECTED]
> <mailto:lruinelli%40hotmail.com> >
> wrote:
> 
> > Hello,
> > 
> > I have to call a servlet and give it a variable
> > number of parameters,
> > example:
> > 
> > 2233444
> > 
> > or
> > 
> > 33
> > 
> > I suppose it will be possible in AS3 doing
> somthing
> > like : 
> > srv.send("an XMLList with my parameters");
> > 
> > but it seems don't works!
> > 
> > the mxml of the HTTPService is the following:
> > 
> >  >
>
id="execute"url="http://localhost:8080/prototype2/GetExecute
> <http://localhost:8080/prototype2/GetExecute> "
> > method="GET"
> > useProxy="false" 
> > resultFormat="e4x">
> >  
> > 
> > 
> > Can someone help me?
> > 
> > thanks Lorenzo
> > 
> > 
> > 
> > 
> > 
> 
>
__
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail
> beta.
> http://new.mail.yahoo.com
> <http://new.mail.yahoo.com> 
> 
>  
> 
> 



 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com


Re: [flexcoders] Re: (Added ) Selecting datagrid row on rollover...

2007-01-29 Thread leds usop
hi jamie, 
try re-assigning the same 'highlight' color in the
rightclick event handler.

Sanjay,
you will have to be specific how you intend to provide
an alternative means of selecting multiple rows. If im
not mistaken, dragging works - but it wont do with
discontinuous selections. Hence we go back to the same
question, how do you intend to provide that
functionality? There are various ways to do this I
think. here are a few: Use Checkboxes as itemrenderers
which toggles the select property when the checkbox is
checked. Or set select property on mouseclick without
using other renderers alone (right click, left click,
or doubleclick). OR you can use a separate control
altogether (like a separate checkbox group).


--- sanjaypmg <[EMAIL PROTECTED]> wrote:

> Hey Jamie,
> 
> Sorry to inturupt...
> 
> I wanna add one more thing here whch i faced...
> 
> I want to select multiple rows in a DataGrid without
> pressing Ctrl 
> button.
> 
> Is there anyway to do it?
> 
> Thanks
> Sanjay
> 
> --- In flexcoders@yahoogroups.com, "jamiebadman"
> <[EMAIL PROTECTED]> 
> wrote:
> >
> > Hi,
> > 
> > The title sums it up... basically, I'd like to
> select a datagrid 
> row 
> > on rollover. There's a rollover event on the
> datagrid but I see no 
> way 
> > from that, to obtain the id of the row that's
> currently 
> being 'rolled 
> > over'... any ideas ?
> > 
> > Alternatively... and here's the reason I'm trying
> to do the 
> above...
> > 
> > I have a context menu on the datagrid which
> provides the user with 
> > options to carry out on the currently 'rolled
> over' row... but 
> when 
> > the user clicks the right mouse button, the
> 'rollover' color 
> > disappears. I want the rollover color to remain
> when the menu pops 
> up. 
> > My only solution was to force the rollover row to
> be the selected 
> row -
> >  which would solve this. If anyone can think of an
> alternative way 
> to 
> > stop the loss of the rollover color then that'll
> be just as good ;-
> )
> > 
> > Thanks,
> > 
> > Jamie.
> >
> 
> 
> 



 

We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 


Re: [flexcoders] Help with Variable ItemRenderer

2007-01-29 Thread leds usop
better do it in Actionscript. Use either the
initialize or the updateComplete events to trigger
your itemrenderer change... also consider that you cnt
set a string as the itemrenderer like what you
'seemingly' do in mxml. you wil have to use a
classfactory to be able to use the class/UIcomponent
you want. Moreover,depending on where and when you set
your itemrenderer, you  may have to invoke
invalidateproperties(), invalidatesize(), and/or
updatedisplaylist. 


--- northwood Lee <[EMAIL PROTECTED]> wrote:

> Suppose the dataprovider has two field:
> type and text
> type will indicate if it should show text or image
> text is the content that is should show: for the
> label, it is the text  for
> the image it is the image path .or you can implement
> another filed callled
> path to store image path. it doesn't matter
> 
> I think you could write a  something like this:
> 
> width="28" dataField="icon" >
> 
> 
>height="300">
>  text="{this.data.text}" visible="{
> this.data.type=='text'}"/>
>   source="{this.data.text}" visible="{
> this.data.type!='text'}"/>
> 
>   
> 
> 
> 
> 
> On 1/26/07, sthdejavu <[EMAIL PROTECTED]>
> wrote:
> >
> >   I am trying to create an MXML ItemRenderer that
> displays a different
> > state depending on it's data. Its state does not
> change by any user
> > interaction. For instance, if data.type = 'text',
> show the label
> > state, else show the image state.
> >
> > Where can I set currentState so that each
> itemRenderer displays as it
> > should? Is this even possible? All of my renderers
> always turn out
> > one way or the other.
> >
> > I'm beginning to think I have to do this in
> ActionScript... or maybe a
> > hack where I fire a function on creationComplete
> that changes the
> > data.type to some other value and back again so
> that the binding fires??
> >
> > Any help would be great. Thanks in advance.
> >
> >  
> >
> 



 

Never Miss an Email
Stay connected with Yahoo! Mail on your mobile.  Get started!
http://mobile.yahoo.com/services?promote=mail


Re: [flexcoders] HTTPService with variable number of parameter

2007-01-29 Thread leds usop
try appending your url-encoded value pair-parameters
to the url property of your httpservice. or you can
use URLvariable and attach it as data. Cheers!
--- lruinelli <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I have to call a servlet and give it a variable
> number of parameters,
> example:
> 
> 2233444
> 
> or
> 
> 33
> 
> I suppose it will be possible in AS3 doing somthing
> like : 
> srv.send("an XMLList with my parameters");
> 
> but it seems don't works!
> 
> the mxml of the HTTPService is the following:
> 
> 
id="execute"url="http://localhost:8080/prototype2/GetExecute";
>   method="GET"
>   useProxy="false"
>   resultFormat="e4x">
>  
> 
> 
> Can someone help me?
> 
> thanks Lorenzo
> 
> 
> 
> 
> 



 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com


Re: [flexcoders] Re: PIVOT TABLE and CHART

2007-01-28 Thread leds usop
hi sanjay, we've started the development. anyway, will
let you know once it's done.. or once im stuck hehe.
email m if you are interested in a possible
collaborative work.  cheers!

--- sanjaypmg <[EMAIL PROTECTED]> wrote:

> I am trying to do this.
> 
> --- In flexcoders@yahoogroups.com, leds usop
> <[EMAIL PROTECTED]> wrote:
> >
> > Hi everyone, 
> > BEfore we proceed with implementing pivot table
> (of MS
> > excel -- same functionality although not
> necessarily
> > with drag and drop support) in Flex, we wanna know
> if
> > someone else in this group has already done this(
> or
> > is currently doing this)? Care to share notes,
> tips,
> > etc? Any help will be appreciated. Thnx!
> > 
> > 
> >  
> > 
>
_
> ___
> > Expecting? Get great news right away with email
> Auto-Check. 
> > Try the Yahoo! Mail Beta.
> >
>
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
> >
> 
> 
> 



 

It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/


[flexcoders] PIVOT TABLE and CHART

2007-01-24 Thread leds usop
Hi everyone, 
BEfore we proceed with implementing pivot table (of MS
excel -- same functionality although not necessarily
with drag and drop support) in Flex, we wanna know if
someone else in this group has already done this( or
is currently doing this)? Care to share notes, tips,
etc? Any help will be appreciated. Thnx!


 

Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 


RE: [flexcoders] PIVOT CHART (&table) .

2007-01-14 Thread leds usop
THnx for the quick reply Ely. I guess im gonna have to
call you chart guru then. Kidding. :)

Regarding your pivot/OLAP experiments, can you give us
pointers on how to implement them? Currently we are
planning to subclass datagrid for that. Is that - from
your experience - the best starting point? And is
there any chance that youll be sharing your code :D.
THnx again!


--- Ely Greenfield <[EMAIL PROTECTED]> wrote:

>  
>  
>  
> I've been building some Pivot / OLAP experiments on
> the side, and gotten
> pretty far without doing any custom modifications to
> the default
> charting components.  The result isn't _exactly_
> what you're looking
> for...in my example, each label along the X axis was
> a multi-line label
> with each line representing a value from one of the
> N dimensions
> (columns) stacked along the X axis.  With an added
> labelFunction, I was
> able to eliminate the redundant labels and only show
> them when they're
> different from the previous label. So it looked
> something like this:
>  
>  
> Product:   Electronics  Clothing  Produce   
> Electronics   Clothing
> Produce Electronics Clothing Produce ...
> Quarter:Q1  
> Q2
> Q3 ...
>  
>  
> It's not the prettiest axis in the world, but it get
> the info across.
> To do something really well tuned for Pivot/OLAP,
> you'll need to write a
> custom axis renderer  But that may be all you need
> to write.
>  
>  
> Ely.
>  
> p.s. oo man, not sure I love the name Chartman ;) 
> Charts are really
> only my night job...
>  
>  
>  
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> Behalf Of leds usop
> Sent: Thursday, January 11, 2007 11:21 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] PIVOT CHART (&table) .
> 
> 
> 
> HI All, (Especially hi to Chartman Ely ahem. :))
> 
> We have a current project which requires a datagrid
> to
> have filter and pivot table capabilities on top of
> the
> sort capability. Using that custom datagrid's pivot
> table functionality will be based on using MS
> Excel's
> pivot table. OUr problem however is not on the table
> but on the chart that is supposedly generated from
> the
> pivot table. A pivot chart can have multi-level
> horizontal labels and tick marks (for those not
> familiar with pivot table chart, if you have say, a
> chain of 3 row categories with 3 non-numeric values
> for each, the x-axis will be divided primarily by
> the
> 3 values from the first category - then each of
> those
> values will be subvidivided by the number of values
> the second category have and so on - sort of a
> fractal/recursive/pyramiding behavior). So with all
> that said and knowing that we are to use stacked bar
> chart mean time (although we will probably be
> required
> to support the other chart types as well) what is
> the
> best way to go about this? Should we play around
> with
> the horizontal axis renderer alone? OR should we
> sublass the whole chart? Or is the data drawing
> canvas
> (with custom components inside) the best way to do
> this? Any suggestion will be greatly appreciated.
> Thnx !
> 
>
__
> Food fight? Enjoy some healthy debate 
> in the Yahoo! Answers Food & Drink Q&A.
>
http://answers.yahoo.com/dir/?link=list&sid=396545367
>
<http://answers.yahoo.com/dir/?link=list&sid=396545367>
> 
> 
> 
>  
> 



 

Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367


[flexcoders] PIVOT CHART (&table) .

2007-01-11 Thread leds usop
HI All, (Especially hi to Chartman Ely ahem. :))

We have a current project which requires a datagrid to
have filter and pivot table capabilities on top of the
sort capability. Using that custom datagrid's pivot
table functionality will be based on using MS Excel's
pivot table. OUr problem however is not on the table
but on the chart that is supposedly generated from the
pivot table. A pivot chart can have multi-level
horizontal labels and tick marks (for those not
familiar with pivot table chart, if you have say, a
chain of 3 row categories with 3 non-numeric values
for each, the x-axis will be divided primarily by the
3 values from the first category - then each of those
values will be subvidivided by the number of values
the second category have and so on - sort of a
fractal/recursive/pyramiding behavior). So with all
that said and knowing that we are to use stacked bar
chart mean time (although we will probably be required
to support the other chart types as well) what is the
best way to go about this? Should we play around with
the horizontal axis renderer alone? OR should we
sublass the whole chart? Or is the data drawing canvas
(with custom components inside) the best way to do
this? Any suggestion will be greatly appreciated. Thnx !


 

Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367


Re: [flexcoders] Paging with DataGrid??

2007-01-11 Thread leds usop
a workaround is to 'page' your source dataprovider
instead taking only N number of elements at a time and
passing it as the datagrid's dataprovider. If your
source dataprovider is an array, you can use the slice
method  and set the result as the datagrid's data
provider.

--- sanjaypmg <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> Is there any way to put paging on datagrid?
> 
> Please let me know, if there is something like dis
> in flex or the way 
> to do it in flex.
> 
> Regards,
> Sanjay sharma
> 
> 



 

Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com


Re: [flexcoders] Filters with DataGrid

2007-01-11 Thread leds usop
In addtion to that, any inputs on how to implement a
pivot table feature similar to that in Excel? Sorry
for hijacking your post sanjay but I believe solving
one may lead to a solution to the other. THnx.


--- sanjaypmg <[EMAIL PROTECTED]> wrote:

> Hi There,
> 
> Is there any way to put filters feature on Datagrid
> as available in 
> Excel?
> 
> Or 
> 
> Anything Similar to that feature?
> 
> Please let me know if there is something or any
> possible solution for 
> the same.
> 
> Thanks
> Sanjay sharma
> 
> 



 

Any questions? Get answers on any topic at www.Answers.yahoo.com.  Try it now.


Re: [flexcoders] Need advice on which Event I should be using -

2007-01-11 Thread leds usop
you can do away with the conventional [bindable]
metatag for binding your dataprovider and use
getter-setter instead with a custom flexevent
triggered everytime the setter is called.

or just use the valuecommit event. just make sure you
dont include another value-commit-triggering action
(such as setting another data provider) in the
listener. 


--- Mike Anderson <[EMAIL PROTECTED]> wrote:

> Hello All,
> 
> I have a Cairngorm application containing a
> DataGrid, in which the
> Grid's dataProvider is bound to an ArrayCollection
> (comprised of
> ValueObjects) located in the ApplicationModel.
> 
> Whenever I want to add a new record to the
> dataProvider, I first create
> a new ValueObject instance, then populate it using a
> Details Form.  Of
> course, being a Cairngorm-based app, I dispatch a
> Cairngorm Event
> containing the ValueObject (which causes it to be
> sent off to the
> server), and then wait for the "onResult" response
> from the server.
> 
> Obviously, I can't go blindly adding the new Record
> to the dataProvider,
> until I know for sure that I get a valid "onResult"
> response from the
> server.
> 
> Now assuming that I DO get my "onResult" event, what
> I do then is add
> the ValueObject to the model's ArrayCollection using
> the addItemAt()
> method, inserting the ValueObject at Index Zero so
> it gets pushed to the
> top.  This way, all newly created records appear at
> the top of the
> DataGrid (which is exactly what I want to happen).
> 
> This is where things get fuzzy...
> 
> Which Event should I have the DataGrid listen to, so
> that it gets
> scrolled to the very top, *ONLY* when a new record
> gets added to it's
> dataProvider?
> 
> This is a case, where I'd actually prefer
> dispatching a Custom Event, so
> that I can manually dispatch it from the same
> Cairngorm Command Class
> handling the onResult Event - but I don't know if
> that is possible.  I
> don't know yet, if I can dispatch events which get
> broadcasted across
> multiple controls.  This is where I have a lot to
> learn, regarding the
> Event Model...
> 
> If any of you could help me with this, I'd be very
> grateful for your
> help.
> 
> Thanks in advance for everything,
> 
> Mike
> 
> 



 

Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.yahoo.com


Re: [flexcoders] basic architecture question

2007-01-10 Thread leds usop
Amen to that. I had to work with a related issue using
repeater. But ours  involved a dynamically generated
form with images which positions it's children
depending on the config xml passed into it. Embed
simply cannot work for the reason stated by ralf. So
we simply used url's passed in by the same config xml.


However, you should take note that using a repeater to
tile your custom component will leave the
'positioning'  work to you. Hence I suggest you use
another component such as TileList and have your
custom component be the item renderer. For this kind
of approach, you can bind the 'image urls' inside the
custom component itself by using the data property of
the base class from which you derived your custom
component and of course setting the dataprovider of
your tilelist to an arraycollection(or whatever type
suitable ie XMLlist)  which contains all the data you
need to show.

 AS for the repeater - although I dont suggest using
that unless you terribly need to - you can access the
individual repeater instances using the id of the
repeater and the index of the item you wish to access.
Say you named our repeater rep, you can access the nth
repeated component using rep[n] followed by whatever
property you want to access assuming the component is
fully instantiated and that property exists. Cheers.

--- Ralf Bokelberg <[EMAIL PROTECTED]> wrote:

> Hi Jason,
> 
> are you trying to embed the images? I'm not sure, if
> a repeater can do that
> at all, since it is executed at runtime and not at
> compile time like the
> embed directive. Maybe you can load the images at
> runtime by binding their
> url to the source attribute of an image?
> Setting labels in a custom component works similar.
> Expose a public property
> of your component to set the value from outside and
> bind the label's text
> property to it internally.
> 
> Cheers,
> Ralf.
> 
> 
> On 1/9/07, jmerrill_2001
> <[EMAIL PROTECTED]> wrote:
> >
> >   Newbie to Flex, (but not Flash/AS 2.0) so for me
> it's like a skier
> > learning to snowboard. I have dabbled with Flex in
> the past, and
> > recently went through all the lessons in the help
> docs, as well as
> > read a lot of other things in there. I'm designing
> a "Team Page" - a
> > site that shows people of the business unit as
> individual "cards" -
> > like baseball cards. Each card will have elements
> like a photo of
> > the person, a description of skillsets, and
> buttons to expand and
> > change to a different state. Making that is easy
> with a custom
> > component, but I'm having some struggle with the
> dynamic data part
> > as it relates to the custom component - in other
> words, making the
> > components generic and then settings the data for
> them later in my
> > application.
> >
> > I thought I would make a generic "person card"
> with a placeholder
> > for the photo and data - that would be a single
> component, and then
> > in another main application MXML I would repeat
> that component over
> > and over based on some XML data. Easy enough so
> far - the XML data
> > isn't the problem. In Flex, I'm not sure how to
> add the image
> > dynamically, or change the value of the image file
> reference for
> > each component repeated - I can add an image tag
> easily enough in
> > the component, but having a hard time not
> hard-coding the image
> > reference. So I guess I have a few questions:
> >
> > 1. What's the best way to set up a generic image
> "container" for the
> > image file be in the "person card" component and
> how would I set
> > that in the main application MXML repeat region?
> Or is making
> > the "person card" as a component not a good
> approach? Should I just
> > describe the person card within the repeat region
> and not make it a
> > custom component?
> >
> > 2. How do i set other variables in the custom
> components like label
> > values?
> >
> > 3. Overall, what would be a good way to architect
> a site like this?
> > I know how to create and change states, but unsure
> what should be a
> > component and what should just described right in
> the main MXML.
> >
> > Thanks,
> >
> > Jason Merrill
> > Bank of America Learning & Organizational
> Effectiveness
> > Multimedia / eTools Team
> >
> >  
> >
> 
> 
> 
> -- 
> Ralf Bokelberg <[EMAIL PROTECTED]>
> Flex & Flash Consultant based in Cologne/Germany
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: [flexcoders] Re: source code of Training from the Source

2007-01-05 Thread leds usop
may be he means the disc is damaged or something :)
--- "Jerome Clarke a.k.a sinatosk"
<[EMAIL PROTECTED]> wrote:

> that doesn't make sense if you bought the book,
> it should be on the
> cd what do you mean by "my copy is no more
> usable" ???
> 
> On 12/28/06, Shailesh Mangal
> <[EMAIL PROTECTED]> wrote:
> >
> >   I know, but my copy is no more usable. Wondering
> if any one can share
> > theirs. You can send to me the zipped version on
> my mailID.
> >
> > -sxm
> >
> > --- In flexcoders@yahoogroups.com
> , "Jeff
> > Hindman" <[EMAIL PROTECTED]> wrote:
> > >
> > > It's on a CD that came with the book.
> > >
> > >
> > >
> > > --Jeff Hindman
> > >
> > > Simon Software Solutions
> > >
> > >
> > >
> > > _
> > >
> > > From: flexcoders@yahoogroups.com
>  [mailto:
> > flexcoders@yahoogroups.com
> ] On
> > > Behalf Of Shailesh Mangal
> > > Sent: Wednesday, December 27, 2006 5:31 PM
> > > To: flexcoders@yahoogroups.com
> 
> > > Subject: [flexcoders] source code of Training
> from the Source
> > >
> > >
> > >
> > > Does any one have the source code of "Adobe
> Flex2 - Training from the
> > > Source".
> > >
> > > sxm
> > >
> >
> >  
> >
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


RE: [flexcoders] Getting a Sprite into a Flex Container?

2007-01-05 Thread leds usop
have you tried explicitly setting the height of the
hbox (or whatever item renderer you are using) to
equal the height of your image?

Or, better yet, check out ely's datacanvas drawing
component, youll see how a bitmap is used as fill
there (sort of tiled but in a more customizable manner
if i might say).

--- Sascha <[EMAIL PROTECTED]> wrote:

> Thanks a lot Amol (and Maciek)! In between I found
> that I can go a different
> way and use a TileList instead but I'm sure your
> ideas will be useful a bit
> later for what I'm planning to do!
> 
>  
> 
> Maybe somebody can give me a hint with a different
> problem . I'm loading
> several small images into a TileList Component.
> These images are 32x32
> pixels in size. I've created my own ItemListRenderer
> where I'm using a HBox
> (but a Canvas would do well too). My problem is that
> I cannot get rid of the
> vertical gap between a row of tiles. I've set
> verticalGap in the
> ItemListRenderer to 0 but there is always a gap of 4
> or so pixels. But I'd
> like to have no gap between the items. Horizontally
> there is no gap if I set
> horizontalGap to 0 but verticalGap seems not to do
> it and I've alsdo tried
> various different components for it like Canvas,
> HBox, VBox etc. Any idea?
> 
>  
> 
> Thanks & Happy new year!
> 
> Sascha
> 
>  
> 
>  
> 
>   _  
> 
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Amol Pandhare
> Sent: Monday, 01 January, 2007 16:20
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Getting a Sprite into a
> Flex Container?
> 
>  
> 
> Hey Sascha,
> 
> I hope this is what you were looking for.
> 
> I have a class which extends Sprite as below:
> 
> package {
> public class myShape extends Sprite {
> .
> .
> .
> .
> .
> }
> }
> 
> Now I have my owns custom component class file which
> I have added as
> follows:
> 
> First in the Application tag of your mxml file,
> mention a additional
> attribute as 'xmlns:greet="com.*"'. Here refer to
> the package where your
> custom component class is. 
> 
> Now use following to add the component to the Flex
> mxml file:
>  
> 
>  Here 'greet' is the xmlns which we added in the
> application tag and
> 'test' is my custom component class. You have to be
> careful to extend your
> custom component class with the UIComponent class
> like:
> 
> package com {
> //import myShape class if not in same package.
> public class test extends UIComponent {
> ..
>public function test() {
>   var shapeObj:myShape = new myShape();
>   addChild(shapeObj);
>}
> .
> }
> }
> 
> Now in the test class you can add the earlier Sprite
> extended class by
> creating its object as above.
> 
> This should solve your purpose. Now the above
> mentioned test class can
> extend any of the Classes like  Canvas, or any
> container class. But
> UIComponent happens to be the base class to all the
> container classes n so
> UIComponent could be best opted choice.
> 
> Regards,
> Amol.
> 
> - Original Message 
> From: Sascha <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Saturday, December 30, 2006 3:40:33 PM
> Subject: [flexcoders] Getting a Sprite into a Flex
> Container?
> 
> Hi,
> 
> I got a class that extends Sprite that I want to put
> into a Flex
> DisplayObject container (Canvas or any similar
> custom made component). My
> question is:
> Is implementing the IUIComponent interface the only
> way to get this working
> or
> Are there any other ways around it? A SWFLoader is
> not what can use in this
> situation. Any hints would be appreciated.
> 
> Thanks in advance,
> Sascha
> 
>  
> 
> 
> __
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>  
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[flexcoders] MERRY XMAS AND A HAPPY NEW YEAR!

2006-12-25 Thread leds usop
HAPPY HOLIDAYS TO ALL FLEXCODERS! May we have a more
robust Flex framework next year and hence a more
productive year for the flex developers. Amen. :)

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: [flexcoders] 3D Charts for Flex 2

2006-12-16 Thread leds usop
it's a great idea. we are also looking into including
3D charts feature in the current web app we are
working; on top of being able to skin them at run time
based on some themes. Although it's not a priority.
and before you do start, please do checkout 3d charts
extension for flex at adobe.com. It's shareware tho
and the author didnt include the source for the
component. I also noticed that animation of the 3d
charts cause almost 100% spike up in CPU usage (that's
on a Pentium 4 3Ghz mchine with 800 Mhz FSB and 2 Gigs
memory) - so i think CPU usage is one of the major
things to consider coz who would even want to use a
feature which will hug your system resource right?
Needless to say, real time data updating sustains a
minimum 50% CPU usage and even crashes the browser.
But im sure the author is looking into that now. It's
really a great piece of work.. and I think he is the
guy you should first talk with. cheers!

--- graysonpierce <[EMAIL PROTECTED]> wrote:

> I'd like to gauge flexcoders' interest in
> collaborating on an
> open-source project to build 3D Charts for Flex 2. 
> Of particular
> interest to me are Multiscapes and 3D Scatterplots. 
> Before going
> through the trouble of setting up a sourceforge
> project, I wanted to
> see if anyone has interest or need in this area and
> also if there are
> developers with relevant experience that would be
> willing to devote
> some time to benefit the community.
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: [flexcoders] Repeater Control

2006-12-16 Thread leds usop
actually you dont realy need a repeater to do that.
you can instantiate a label control everytime your
timer  dispatches an event instead: create new label
control instances, set their text to the current xml
items being read. however, you will have to handle the
placement (x,y) to avoid having them on top of each
other.  BUt if you really need a repeater
implementation, I will have to warn you that the code
im posting below 'redraws' everything each time two(or
more) items are displayed at a time. So if you have
like 1000 entries, it will draw 2 (or whatever number
of elements you need to display at a time) first, then
will erase everything before redrawing the first 4
elements.. etc.  You can however set new repeater
instances each time the timer 'ticks' and pass in the
current set of xml elemnts as dataprovider.that will
require you to instatiate unique repeaters everytime
the timer 'ticks'. Hence As I have said, you dont
really need a repeater component for that, you can
directly instantiate label/text components then pass
in the xml elemnts you need for their text. Below is
the code you need. This implementation automatically
adjusts the total time depending on your xml
provider's length and the number of elements you set
to display  Cheers!


http://www.adobe.com/2006/mxml";
layout="absolute" creationComplete="init()" >



 






 
--- KP <[EMAIL PROTECTED]> wrote:

> Hi All,
> 
>  
> 
> I have xmllist which has structure like
> 
>  
> 
>  
> 
> 
> 
> 
> 
> ABC
> 
> 
> 
> 
> 
> PQR
> 
> 
> 
> 
> 
> 123
> 
> 
> 
> 
> 
> XYZ
> 
> 
> 
> 
> 
> RST
> 
> 
> 
> 
> 
>  
> 
> Now I want to display contents of this xmllist in a
> label control with a
> repeater control which repeats after few sec and
> displays 2 items at a time
> which means in first 5 sec I want to display ABC and
> PQR for the next 5 sec
> 123 and XYZ and soon.and this should repeat I know
> it will need a repeater
> control for this but I am not able to figure out
> best possible way of
> displaying contents.can some one help me out of
> this. 
> 
>  
> 
> Thanks
> 
> Kumar
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: [flexcoders] Repeater Control

2006-12-16 Thread leds usop
It looks like i overlooked what you really need. I
thought you want elements to APPEND 2 elements
(ormore) at a time. My bad. Anyway the code only
requires a few changes to achieve that result.
Although i really think use of repeater is not
necessary unless you want to display say, 30 elements
at a time? anyway here's the revised code:

http://www.adobe.com/2006/mxml";
layout="absolute" creationComplete="init()" >



 




--- KP <[EMAIL PROTECTED]> wrote:

> Hi All,
> 
>  
> 
> I have xmllist which has structure like
> 
>  
> 
>  
> 
> 
> 
> 
> 
> ABC
> 
> 
> 
> 
> 
> PQR
> 
> 
> 
> 
> 
> 123
> 
> 
> 
> 
> 
> XYZ
> 
> 
> 
> 
> 
> RST
> 
> 
> 
> 
> 
>  
> 
> Now I want to display contents of this xmllist in a
> label control with a
> repeater control which repeats after few sec and
> displays 2 items at a time
> which means in first 5 sec I want to display ABC and
> PQR for the next 5 sec
> 123 and XYZ and soon.and this should repeat I know
> it will need a repeater
> control for this but I am not able to figure out
> best possible way of
> displaying contents.can some one help me out of
> this. 
> 
>  
> 
> Thanks
> 
> Kumar
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


RE: [flexcoders] Re: file download doesnt work?

2006-12-13 Thread leds usop
have you tried attaching event listeners to the open
and complete events of your urlloader instance then
tracing the MIME type of the downloaded data (for the
complete event)? This way youll see if a download
actually commences (on open) and if the downloaded
data is decoded properly (on  complete). It is
possible that the dataformat of the urlloader instance
data is not what you require. just a thought

--- Dimitrios Gianninas
<[EMAIL PROTECTED]> wrote:

> Close, now my servlet gets called, but the flash
> player never prompts me where to save my file, so in
> essence, nothing is downloaded.
>  
> Maybe my player is foubared!
>  
> Dimitrios Gianninas
> RIA Developer
> Optimal Payments Inc.
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On Behalf Of
> dubreeze2001
> Sent: Tuesday, December 12, 2006 10:53 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: file download doesnt work?
> 
> 
> 
> Dimitrios,
> 
> This should work for you:
> import flash.net.*;
> 
> var url:String;
>
url="http://localhost:7001/billing/servlet/FileSvlt?operation=
>

> "; 
> url +="DOWNLOAD&fileId=2";
> 
> var urlRequest:URLRequest = new URLRequest(url);
> sendToURL(urlRequest);
> 
> Tony D
> 
> --- In flexcoders@yahoogroups.com
>  , "Dimitrios
> Gianninas"
> <[EMAIL PROTECTED]> wrote:
> >
> > Yup tried that too :) I've tried GET, POST and
> using the servername,
> localhost and my direct IP, no go.
> > 
> > If I call my servlet directly in a browser, the
> download works like
> a charm:
> >
>
http://localhost:7001/billing/servlet/FileSvlt?operation=DOWNLOAD&fileID=5
>

> 
> > 
> > I'm sure its something very very small.., any kind
> of debug I can
> turn on?
> > 
> > Dimitrios Gianninas
> > RIA Developer
> > Optimal Payments Inc.
> > 
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com
>  
> [mailto:flexcoders@yahoogroups.com
>  ]
> On Behalf Of Brian Holmes
> > Sent: Tuesday, December 12, 2006 4:34 PM
> > To: flexcoders@yahoogroups.com
>  
> > Subject: RE: [flexcoders] file download doesnt
> work?
> > 
> > 
> > 
> > Not Sure if this will work Dimitrios,
> > But I seem to remember having similar issues and
> reading somewhere
> that the constructor of the Url Request expected a
> url as a string.
> > 
> > var req:URLRequest = new
> URLRequest("http://localhost
>  : 7001/billing/ servlet/FileSvlt
> ") ;
> > req.method = URLRequestMethod. GET;
> > req.data = new URLVariables("operation=DOWNLOAD
> ");
> > try {
> > var fr:FileReference = new FileReference( );
> > fr.download( req );
> > }
> > catch( e:Error ) {
> > trace( "Download error: " + e.message );
> > }
> > 
> > 
> > 
> > I double checked some code of mine and that's
> exactly how i got it
> working. Anyways, like I said, not sure if it will
> help,
> > You probably have already tried it.
> > 
> > Brian..
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com
>  
> [mailto:flexcoders@yahoogroups.com
>  ]
> On Behalf Of Dimitrios Gianninas
> > Sent: Tuesday, December 12, 2006 2:22 PM
> > To: flexcoders@yahoogroups.com
>  
> > Subject: RE: [flexcoders] file download doesnt
> work?
> > 
> > 
> > Yup tried that too... I'm perplexed!
> > 
> > Dimitrios Gianninas
> > RIA Developer
> > Optimal Payments Inc.
> > 
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com
>  
> [mailto:flexcoders@yahoogroups.com
>  ]
> On Behalf Of Valy Sivec
> > Sent: Tuesday, December 12, 2006 10:26 AM
> > To: flexcoders@yahoogroups.com
>  
> > Subject: Re: [flexcoders] file download doesnt
> work?
> > 
> > 
> > 
> > How about changing reg.method="POST" instead GET?.
> > 
> > Valy
> > 
> > 
> > 
> > 
> > - Original Message 
> > From: Dimitrios Gianninas
> <[EMAIL PROTECTED]>
> > To: flexcoders@yahoogroups.com
>  
> > Sent: Tuesday, December 12, 2006 9:28:40 AM
> > Subject: RE: [flexcoders] file download doesnt
> work?
> > 
> > 
> > 
> > Ok I switch the code around a bit and it looks
> more like this now:
> > 
> > var req:URLRequest = new URLRequest() ;
> > req.url = "http://localhost: 7001/billing/
> servlet/FileSvlt ";
> > req.method = URLRequestMethod. GET;
> > req.data = new URLVariables("operation=DOWNLOAD
> ");
> > try {
> > var fr:FileReference = new FileReference( );
> > fr.download( req );
> > }
> > catch( e:Error ) {
> > trace( "Download error: " + e.message );
> > }
> > 
> 

Re: [flexcoders] Building workspace - lowering the time

2006-12-06 Thread leds usop
I dunno if this holds true with you guys but I noticed
having a lot of application mxml in the same project
folder burdens flex a lot. So im guessing when flex is
'building workspace' - one of the memory intensive
task it does is checking each application in your
project directory and looking for dependencies (broken
ones, updated ones, erroneous ones etc). Correct me if
im wrong - moreover i think it updates the project
property file associated with the current project.  I
have also tried moving to a new workspace for every
big project i have to do - probably it's overkill --
or even unrelated.. but i have to convince myself im
doing something to make it compile faster :D (im
running it on 1.5 GB mem  with 3GHz processor at
800mhz FSB.. it's not top of the line but i had not
expected it to choke on a Flex compile. Apparently i
was wrong. So on top of run-time advantages, having
the mx module component in the next flex release will
allow us to create separate application  and project
filers for the parts/modules we need.)


--- dorkie dork from dorktown
<[EMAIL PROTECTED]> wrote:

> I have 4 projects open. The project I was working on
> had 4 components in it.
> I had 3 other projects open. One was a Example
> project that had about 20
> example files in it. I noticed too I had a lot
> programs up. So I might have
> been using virtual memory. It only happened once and
> its ok now.
> 
> I'm curious, when it's Building the workspace what
> does that mean
> technically?
> 
> On 12/6/06, Gordon Smith <[EMAIL PROTECTED]> wrote:
> >
> >  You could turn off "Build Automatically" in the
> Projects menu, or close
> > projects that you aren't working on (right-click
> on a project in the
> > Navigator pane and choose Close Project).
> >
> >
> >
> > How many projects are you building, and how many
> components does the
> > average one have?
> >
> >
> >
> > - Gordon
> >
> >
> >  --
> >
> > *From:* flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] *On
> > Behalf Of *dorkie dork from dorktown
> > *Sent:* Tuesday, December 05, 2006 11:19 PM
> > *To:* flexcoders@yahoogroups.com
> > *Subject:* [flexcoders] Building workspace -
> lowering the time
> >
> >
> >
> > Is there anything I can do to lower the time it
> takes for Flex Builder to
> > "Build the workspace"? Sometimes it takes a few
> minutes when I first start
> > up.
> >
> > dorkie finger tapping dork from dorktown
> >
> > 
> >
> 



 

Have a burning question?  
Go to www.Answers.yahoo.com and get answers from real people who know.


RE: [flexcoders] Problems with a DateField as an itemRenderer/editor

2006-11-29 Thread leds usop
Have you set rendererIsEditor to true and the
editorDataField="selectedDate"?


--- Louie Penaflor <[EMAIL PROTECTED]> wrote:

> You are correct.  It is itemEditEnd.  I was just in
> a rush.
> 
>  
> 
> As for the issue, the date is populating right. 
> It's when I select a
> date from the calendar.
> 
>  
> 
> When you select a date, I dispatch the DataGridEvent
> itemEditEnd.  This
> even should have
> 
>  
> 
> Event.currentTarget.editedItemRenderer and
> event.target.itemEditorInstance, which are both
> returning null.  This
> points out to me that when you click or the
> DateField that opens up the
> calendar, it's not focusing into the datagrid as an
> editor.  I'm
> wondering how I can invoke this manually?  Does that
> make sense?
> 
>  
> 
> ____
> 
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> Behalf Of leds usop
> Sent: Tuesday, November 28, 2006 11:50 AM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Problems with a DateField
> as an
> itemRenderer/editor
> 
>  
> 
> Is onItemEnd a custom event listener? or do you mean
> onItemEditEnd? I dont recall having an 'onItemEnd'
> associated with Datagrid listener in any way..
> please
> correct me if im wrong. 
> 
> When you use a datefield as item renderer or item
> editor a list control (or any drop-in item
> renderer/item editor), make sure that the data
> provider of that list control has a field of type
> Date
> (or the expected data type of the drop-in item
> renderer you used). Since Data Grid is derived from
> List base, this means it applies to it as well. Have
> you considered that? 
> 
> --- Louie Penaflor <[EMAIL PROTECTED]
> <mailto:lpenaflor%40woccu.org> >
> wrote:
> 
> > I'm having an issue with DataGridEvent (onItemEnd)
> > and the DateField
> > class. Basically, I've developed a framework that
> > uses onItemEnd from
> > the datagrid. I have components like the combobox
> > for example...
> > onChange calls onItemEnd which takes the data of
> the
> > combobox and puts
> > it in the dataField of the datagrid, then makes a
> > service call to update
> > to the database. I've gotten this to work great
> with
> > many components but
> > the dateField I'm having a horrible time with.
> > 
> > when I dispatchEvent (onitemend) for example, I
> use
> > event.currentTarget.editedItemRenderer to get the
> > value from
> > event.target.itemEditorInstance. Which both don't
> > exist when I
> > dispatchEvent from the calendar select date
> > (onClose) event handler.
> > 
> > This works when I have the dateField as an Editor
> > only and using the
> > default renderer. This is an issue becuase it
> > creates another click for
> > the user. I think the root of my problem is that
> > when you click on the
> > datefield to open the calendar, it doesn't invoke
> it
> > as an editor in the
> > datagrid. Is there a way to force this?
> > 
> > Any help would be appreciated. Thanks in advance.
> > 
> > 
> > 
> > Louie Penaflor
> > 
> > Web Software Developer
> > 
> > World Council of Credit Unions, Inc.
> > 
> > Ph: (608)231-7932
> > 
> > 
> > 
> > This is a transmission from World Council of
> Credit
> > Unions, Inc. and
> > contains information that is confidential. If you
> > are not the intended
> > addressee or authorized to receive for the
> > addressee, then any
> > disclosure, copying, distribution, or use of the
> > contents of this
> > message is prohibited. If you have received this
> > transmission in error,
> > please destroy it and notify the sender
> immediately
> > at the transmitting
> > e-mail address. If you are the intended recipient,
> > please be advised
> > that this e-mail transmission is not encrypted or
> > otherwise protected
> > from potential misappropriation or misuse. World
> > Council of Credit
> > Unions, Inc. expressly disclaims any and all
> > liability for harm
> > resulting from the misappropriation, interception
> or
> > misuse of the
> > information contained in this transmission.
> > 
> > 
> > 
> > 
> 
>
__
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail
> beta.
> http://new.mail.yahoo.com
> <http://new.mail.yahoo.com> 
> 
>  
> 
> 



 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com


[flexcoders] Datefield maxYear behavior Verification

2006-11-28 Thread leds usop
I have observed (both in Flex version 2 and 2.01
PreRealease) that on a datefield (and probably
datechooser control too) with navigateYear set to
enabled,  if the maxYear was  set to the
selectedDate's Year, the set maxYear value seems to be
nullified.

i.e., selected date is January 1, 2006, and for some
reason maxYear is set to 2006, you can then navigate
beyond 2006 using the year navigation arrows. However,
if you set the maxYear to 2007 (or any year after
2006), maxYear does it's job fine and so you cant
navigate beyond 2007.

This will help a lot in the date interval component I
am creating from 2 datefields since I have to
programmatically set the maxYear of the 'From'
datefield to be equal to the year of 'To' datefield's
selectedDate whenever a new To date is selected (and
vice versa when a new 'From' date is selected.  The
strange maxYear behavior gets in the way of
implementing that functionality most especially if the
initial values  of the two dates fall within the same
year.

Can you guys verify of this behavior is true to your
copies of Flex? If it is, then I should probably file
a bug. THnx!


 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com


Re: [flexcoders] Problems with a DateField as an itemRenderer/editor

2006-11-28 Thread leds usop
Is onItemEnd a custom event listener? or do you mean
onItemEditEnd?  I dont recall having an 'onItemEnd'
associated with Datagrid listener in any way.. please
correct me if im wrong. 

When you use a datefield as item renderer or item
editor a list control (or any drop-in item
renderer/item editor), make sure that the data
provider of that list control has a field of type Date
(or the expected data type of the drop-in item
renderer you used). Since Data Grid is derived from
List base, this means it applies to it as well. Have
you considered that? 



--- Louie Penaflor <[EMAIL PROTECTED]> wrote:

> I'm having an issue with DataGridEvent (onItemEnd)
> and the DateField
> class. Basically, I've developed a framework that
> uses onItemEnd from
> the datagrid. I have components like the combobox
> for example...
> onChange calls onItemEnd which takes the data of the
> combobox and puts
> it in the dataField of the datagrid, then makes a
> service call to update
> to the database. I've gotten this to work great with
> many components but
> the dateField I'm having a horrible time with.
> 
> when I dispatchEvent (onitemend) for example, I use
> event.currentTarget.editedItemRenderer to get the
> value from
> event.target.itemEditorInstance. Which both don't
> exist when I
> dispatchEvent from the calendar select date
> (onClose) event handler.
> 
> This works when I have the dateField as an Editor
> only and using the
> default renderer. This is an issue becuase it
> creates another click for
> the user.  I think the root of my problem is that
> when you click on the
> datefield to open the calendar, it doesn't invoke it
> as an editor in the
> datagrid.  Is there a way to force this?
> 
> Any help would be appreciated. Thanks in advance.
> 
>  
> 
> Louie Penaflor
> 
> Web Software Developer
> 
> World Council of Credit Unions, Inc.
> 
> Ph: (608)231-7932
> 
>  
> 
> This is a transmission from World Council of Credit
> Unions, Inc. and
> contains information that is confidential. If you
> are not the intended
> addressee or authorized to receive for the
> addressee, then any
> disclosure, copying, distribution, or use of the
> contents of this
> message is prohibited. If you have received this
> transmission in error,
> please destroy it and notify the sender immediately
> at the transmitting
> e-mail address. If you are the intended recipient,
> please be advised
> that this e-mail transmission is not encrypted or
> otherwise protected
> from potential misappropriation or misuse. World
> Council of Credit
> Unions, Inc. expressly disclaims any and all
> liability for harm
> resulting from the misappropriation, interception or
> misuse of the
> information contained in this transmission.
> 
>  
> 
> 



 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com


Re: [flexcoders] To Adobe - new release improvements??

2006-11-28 Thread leds usop
Im not from Adobe but thanks to Matt CHotin, I have
been given the oppportunity to play with the
prerelease 2.01 update... They say it's not a major
release but for me, the inclusion of the mx:module
support/framework is one big help... think of the
capability of 'breaking apart' your big apps into
modular ones which the user will only have to download
once on demand - all that while having the framework
take care of most of the communication between the
modules and the shell application or other modules. On
top of that, you can still leverage on using RSL's,
externs, fzip and any other file size/download time
management methods adn tehcniques. And oh yeah, they
have several bugs fixed already.

Again thans Matt.



 Id' say but Numberous bugs have been fixed 

--- Daniel Wabyick <[EMAIL PROTECTED]> wrote:

> Hey Adobe guys,
> 
> Is it possible for you to address some of the major
> (or non-major) 
> improvements in the coming Flex release? 
> 
> In particular, I am keen to know if there were
> significant improvements 
> made to Flexbuilder itself. Stuff like increased
> compiler performance, 
> ease of use with relative paths, etc would be of
> interest to me.  A 
> close second would be roughly the number of bugs
> fixed in the actually 
> Flex UI framework.
> 
> As my project continues to grow, I am definitely
> getting antsy for a new 
> release!
> 
> 
> Thanks,
> -Daniel
> 



 

Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com


Re: [flexcoders] Flex Builder Debugger behavior + Firefox

2006-11-28 Thread leds usop
Ever considered using IE tab in Firefox? It's a free
extension you can download and gives you the
additional capability of changing your renderer
(current tab and window) on top of deploying IE within
a mozilla tab (showing the same page of course).


--- Rick Schmitty <[EMAIL PROTECTED]> wrote:

> Is there a way in eclipse to specify the browser to
> be used without
> changing the system default browser?
> 
> When I set my default browser to IE and debug in
> flex, stopping the
> debugger closes the IE window that was opened when
> the debug session
> started.  In Firefox, the tab remains opened (likely
> from the
> TabMixPlus plugin to keep everything in 1 single
> firefox instance),
> not a huge PITA really.. but would be nice to get
> the same effect
> without having to change the tab behaviors
> 
> I've also found that if I set my default browser to
> IE then load Flex
> Builder, then reset default back to Firefox, Flex
> builder will still
> debug in IE, so thats my current work around, but if
> I could hardcode
> this somewhere that'd be nice
> 
> 
> Any ideas?
> 
> Thanks!
> 



 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com


Re: [flexcoders] Capture URL of application Parent

2006-11-23 Thread leds usop
FlexBridge? External Interface?
Or can't you just use flashvars and throw-in the
necessary parameters there? or if you really want to
do the parsing inside flex, pass-in the entire url as
a single parameter?


--- pdflibpilot <[EMAIL PROTECTED]> wrote:

> I have been able to determine the url of the
> application using
> this.url but I really need to be able to determine
> the full URL - i.e.
> the full url of the HTML page displaying the swf.
> Any suggetions on
> how to do this ?
> 
> Ultimately I plan to pass variables to the
> application by parsing the
> URL. I have been successful doing this using the
> this.url in the "run"
> mode but I cannot run in debug mode because when I
> apend my ?ID=123
> string to the URL in debugging mode the debugger
> "bugs out" !
> 
> Is there a way to capture the full URL of the HTML
> parent of swf file ?
> 
> 
> 



 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com


RE: [flexcoders] Minimizing File Size

2006-11-19 Thread leds usop
in relation to this topic, probably mx:module will
help a lot once available. although it has already
been posted that the 2.01 update will be available
early next year, I cnt wait to get my hands on it.
Is there any chance of getting a prerelease copy of
2.01 at this time? we are currently working on a large
web ap similar to google analytics.  This is a
combination of ajax and flex; where the number of
instances of the flex swf's are to be determined by
the user at runtime. I understand that RSL's will
probably be part of the option now. But looking at
roger's blog, going Modular will surely cut the file
size heavily. It would ba a waste of time to
reimplement everything once the mx:module support is
out. Hence, guys, is there any way I can get hold of a
prerelease? Although I understand it may be
incomplete, at least we wouldnt have to worry about
changing the entire architecture once 2.01 is out.
Thnx in advance.


--- Matt Chotin <[EMAIL PROTECTED]> wrote:

> I don't believe the gain will be that significant in
> the scheme of
> things.
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Daniel Freiman
> Sent: Tuesday, November 14, 2006 9:20 AM
> To: flexcoders
> Subject: [flexcoders] Minimizing File Size
> 
>  
> 
> I have a fairly large swf (700k) which i want to
> shrink down a bit
> because it's only going to continue to grow.  I
> already know about
> shared libraries and your other standard tricks but
> I'm also looking to
> just minimize the size through good coding practice.
>  I have one area I
> might be able to improve. 
> 
> I have a fairly robust class hierarchy.  The final
> classes that are
> actually used (there are about 50) are little more
> than classes that
> hold arguments for their superclasses (most have
> only a constructor).
> Would it reduce file size to destroy these fifty
> classes and just
> construct a 50 case switch statement?  I started
> moving in this
> direction but my file size doesn't seem to be
> shrinking.  I'd like to
> know if it's worth it before I do the other 40. 
> 
> Thanks,
> 
> - Dan
> 
>  
> 
> 



 

Sponsored Link

$420k for $1,399/mo. 
Think You Pay Too Much For Your Mortgage? 
Find Out! www.LowerMyBills.com/lre


Re: [flexcoders] Re: Minimum size of a Flex 2.0 application

2006-11-08 Thread leds usop
Yep, you will want as only for that. To make things
easier for you, layout things in flex, then compile
while setting the compiler to retain the generated AS
files, im sure you will find a thing or two in those
files to help you in your AS flash file generator.
Goodluck!

--- Flex Learner <[EMAIL PROTECTED]> wrote:

> By flash file generator, i meant that i use Flex
> Builder to layout all the
> controls (texboxes, images etc) , events , logic
> etc- since i'm comfortable
> with mxml (obviously, i'm not a legacy Flash
> developer) and the generated
> swf is hosted on a HTML page. There's no Flex
> server. Seems like core AS is
> the only way out.
> 
> On 11/6/06, bjorn.schultheiss
> <[EMAIL PROTECTED]> wrote:
> >
> >   120kb is about the smallest possible filesize
> for any flex app based
> > off mx:Application
> >
> > that figure will rise quickly though. 120kb is a
> flex app with nothing
> >
> > Bjorn
> >
> > --- In flexcoders@yahoogroups.com
> , "Flex
> > Learner" <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi,
> > >
> > > What's the lightest Flex 2.0 app we can get ? .
> An empty app with
> > just an
> > > mx:Application tag weighs in at 120 KB. It'll be
> great if there are any
> > > compiler options we can use to minimize this
> further. I'm using Flex
> > as a
> > > Flash file generator that'll be embedded into a
> HTML page - and the
> > entire
> > > page weight must be around 200 to 300KB.
> > >
> > > Let me know if Flex-generated swf is a viable
> option for me.
> > >
> > > Thanks,
> > > Joseph
> > >
> >
> > 
> >
> 




 
__
Sponsored Link

Talk more and pay less. Vonage can save you up to $300 a year on your phone 
bill. 
Sign up now. http://www.vonage.com/startsavingnow/


--
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/
 



Re: [flexcoders] encodings problem

2006-11-08 Thread leds usop
strange, i thought you can set the encoding type in
the mxml header itself? just in case you havent tried
that.

--- Luis Eduardo <[EMAIL PROTECTED]> wrote:

> 
> 
>   hi,
> 
>   my flex app talks to my servlets sending xml with
> á é õ characters 
> using utf-8 and all is ok.
>   but when i use the capital version of these
> characters it fails. Á É 
> simple dont work.
>   i searched trough the web but cant found a
> solution...
> 
>   can someone give (at least) an idea of how to solv
> this?
> 
>   thx a lot !
> 
>   Luís (already without hope) Eduardo
> 
>   
>
___
> 
> Novidade no Yahoo! Mail: receba alertas de novas
> mensagens no seu celular. Registre seu aparelho
> agora! 
> http://br.mobile.yahoo.com/mailalertas/ 
>  
> 
> 




 

Sponsored Link

Get a free Motorola Razr! Today Only! 
Choose Cingular, Sprint, Verizon, Alltel, or T-Mobile. 
http://www.letstalk.com/inlink.htm?to=592913


--
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/
 



RE: [flexcoders] Looking to hire a Flash/Flex developer

2006-11-08 Thread leds usop
im in asia. if telecommute is feasible, count me in
too :)

--- Jeff Hindman <[EMAIL PROTECTED]> wrote:

> Are you taking telecommuters ?
> 
> I'm in Southern California.
> 
>  
> 
>   -- Jeff Hindman
> 
>  
> 
>   _  
> 
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> Behalf Of jenunderscore
> Sent: Monday, November 06, 2006 2:31 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Looking to hire a Flash/Flex
> developer
> 
>  
> 
> Hey all, 
> Our company in Ottawa is currently seeking to hire
> another developer
> with Flash experience. Does anybody know of some
> good resources for
> flash developers seeking employment? 
> 
>  
> 
> 




 

Sponsored Link

Free Uniden 5.8GHz Phone System with Packet8 Internet Phone Service
http://www.getpacket8.net/yahoo2


--
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/
 



Re: [flexcoders] Re: Minimum size of a Flex 2.0 application

2006-11-06 Thread leds usop
that is roughly the payload from the flex framework
when you use the "application" tag. if you really want
to use flex as "flash-file-generator", compile an as3
swf file from flex based on the sprite class only and
import only what you need. The way I understand it you
mean swf loader when you say flash-file-generator? If
that's the case, create an AS class in flex based on
sprite, import the loader class (and loaderinfo class
if you need that too) then compile. You should have
roughly 500bytes to a little over 1 kilobyte if all
you are after is dynamic swf loading.

--- "bjorn.schultheiss" <[EMAIL PROTECTED]>
wrote:

> 120kb is about the smallest possible filesize for
> any flex app based
> off mx:Application
> 
> that figure will rise quickly though. 120kb is a
> flex app with nothing
> 
> Bjorn
> 
> --- In flexcoders@yahoogroups.com, "Flex Learner"
> <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> > 
> > What's the lightest Flex 2.0 app we can get ? . An
> empty app with
> just an
> > mx:Application tag weighs in at 120 KB. It'll be
> great if there are any
> > compiler options we can use to minimize this
> further. I'm using Flex
> as a
> > Flash file generator that'll be embedded into a
> HTML page - and the
> entire
> > page weight must be around 200 to 300KB.
> > 
> > Let me know if Flex-generated swf is a viable
> option for me.
> > 
> > Thanks,
> > Joseph
> >
> 
> 
> 
> 



 

Everyone is raving about the all-new Yahoo! Mail 
(http://advision.webevents.yahoo.com/mailbeta/)



--
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/
 



Re: [flexcoders] Slide Show

2006-10-16 Thread leds usop
are you sure you wanna do that in flex? it's a lot
lighter (filesize) if you do it in flash instead. just
a suggestion.

--- KP <[EMAIL PROTECTED]> wrote:

> Hi All,
> 
>  
> 
> I want to make some slide show kind of thing which
> reads data , I mean
> source of image file  from an XML file and 
> 
> then loads it in any container and then display that
> in full screen.
> 
>  
> 
> Can some one suggest any kind of approach on this.
> 
>  
> 
> Thanks
> 
> Kumar 
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


--
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/