[flexcoders] Re: FlashVars not working

2007-02-06 Thread g_vaccarezza
Thanks Guys! It's working now :D


--- In flexcoders@yahoogroups.com, "Clint Tredway" <[EMAIL PROTECTED]> 
wrote:
>
> try using this.parameters.theText
> 
> On 2/6/07, g_vaccarezza <[EMAIL PROTECTED]> wrote:
> >
> >   this is driving me mad!
> > Can you guys tell me what am I doin wrong?
> >
> > See I have to pass a variable to my flex app then just fill a
> > textfield with that value.
> >
> > I wrap the app like this:
> >
> > 
> > 
> > etc...
> >  etc...
> > 
> > 
> >
> > Then from within the movie I call my function ON COMPLETE
> >
> > private function initApp():void{
> > requestText.text = theText;
> > }
> >
> > I took this from the livedocs but nothing seems to work...
> > Am I writing something wrong? sintax error or what?
> > this shouldn't be that diff'cult!
> >
> > Thanks
> > -g
> >
> >  
> >
> 
> 
> 
> -- 
> http://indeegrumpee.spaces.live.com/
>




[flexcoders] FlashVars not working

2007-02-06 Thread g_vaccarezza
this is driving me mad!
Can you guys tell me what am I doin wrong?

See I have to pass a variable to my flex app then just fill a 
textfield with that value.

I wrap the app like this:


 
etc...
 etc...



Then from within the movie I call my function ON COMPLETE

private function initApp():void{
requestText.text = theText;
}

I took this from the livedocs but nothing seems to work...
Am I writing something wrong? sintax error or what?
this shouldn't be that diff'cult!

Thanks
-g



[flexcoders] Time Slider function problem

2007-01-31 Thread g_vaccarezza
Guys, I'm trying to pul a time range selector so I can trim down the 
data I show in a graph.

I copied the example from the charting explorer and my change function 
goes like this:

function sliceResults():void {
   slicedResults = myData.lastResult.data.month.slice(slider.values
[0],slider.values[1]);
}

I dataProvide my chart with slicedResults, but it isn't responding. 
It's like I'm using the slice property the worng way or something.

Anyone had a similar problems? solutions?

Thanks!!
Guille




[flexcoders] Newbie: Dataprovider sintax for column series with xml dataprovider

2007-01-22 Thread g_vaccarezza

Guy,

I'm a a total dumba$$ trying to fill my column chart with my xml
dataprovider; I have so many doubts but let's concentrate in my current
problem:

I have a column with several series. I should like like this:

http://www.idslab.com.ar/tmp/chartShot.jpg


And my dataprovider looks like:


-  
 
  -
 
   -
 
  


So far, so good. I want to see those payornames displayed in series by
month.

Now the question: I know that I need to add series for each one of the
payornames I want to dispay, but I'm having trouble writing my
dataprovider declaration. It's more a sintax problem than a theory
problem, and it's driving me mad.

How shoud I declare the dataprovider for my column chart and each one of
the series? I still don't get how to properly "link" the xml structure
to work as a data provider so that I can pull the chart as shown.
Should it be something like dataprovider="myData.lastResult.data.month"
or dataprovider="myData.lastResult.data.month.payorname"... (none of
thos 2 is working correctly anyway).

Thanks for your help!
Guille




[flexcoders] Column Chart Question

2007-01-15 Thread g_vaccarezza

Guys, I wanna pull a column chart with the following structure

Example 

As you can see, I have "sets" of columns over teh X axis. I'm a newbie
and don't know how to do this.

Any tutorial at hand? Thanks!

-g



[flexcoders] Re: loading a external variable into a flex app

2007-01-02 Thread g_vaccarezza
greg,

I'm effectively calling initApp() as 



I also changed the HTML code for both the regular html and the debug 
html (since I didn't know which was the "right" one, I changed both). 
Really winder what's going on!

As for the checkpoint or a trace() statement...
I'm having a hard time getting around flex debugging... I'm a Flash 
user and I'm used to the test movie enviroment (ctrl+enter) where I 
can easily use the output window to check for traces...
I know this is completely retard but I can only test my flex apps in 
the browser which ain't really helpful. I wonder if there's anything 
like a test enviroment within flex?

Thanks a lot!
Guille





--- In flexcoders@yahoogroups.com, "greg h" <[EMAIL PROTECTED]> wrote:
>
> hi guille,
> 
> Just to double-check, are you calling initApp()?
> 
> For instance:
> 
> 
> If that is ok, confirm which html "wrapper" is being called.  (e.g. 
Flex
> Builder uses separate wrappers for debug and non-debug).
> 
> Also, for increased visibility into what is happening at runtime 
you can add
> a checkpoint on the initApp() method.  Then you can step through the
> processing and possibly see in the Variables panel the contents of
> Application.application.parameters.  Or add a trace() in the method 
to
> confirm that it is at least executing.
> 
> Please post back whether or not any of this helps.
> 
> hth,
> 
> g
> 
> On 1/2/07, g_vaccarezza <[EMAIL PROTECTED]> wrote:
> >
> > Hi G!
> >
> > Code seems to be fine, but it ain't seem to be working. I wrote 
the
> > following code withing Flex:
> >
> > // call on creation complete
> >
> > private function initApp():void{
> >myExternalUrl = Application.application.parameters.theUrl;
> >requestText.text = myExternalUrl;
> > }
> >
> > and then, within the  tag in the HTML:
> >
> > 
> >
> > I open the HTML witht eh Flex app, but the textbox wont show 
anything.
> >
> > Any Suggestions?
> > Thanks!
> > -g
> >
> > --- In flexcoders@yahoogroups.com, "greg h"  wrote:
> > >
> > > Hi g,
> > >
> > > This page in the Flex 2 Language Reference covers ...
> > > Using query string parameters  (under "NOTE" halfway down the 
page)
> > > http://livedocs.macromedia.com/flex/2/docs/1006.html
> > >
> > > Personally, I use FlashVars to pass values into the SWF at 
runtime
> > through
> > > the HTML  tags.
> > >
> > > You can check these two links in the Flex 2 Language Reference 
for
> > details:
> > >
> > > Using flashVars
> > > http://livedocs.macromedia.com/flex/2/docs/1005.html
> > >
> > > Using the Application.application.parameters object
> > > http://livedocs.macromedia.com/flex/2/docs/1004.html
> > >
> > > Please post back whether this helped or not.
> > >
> > > g
> >
>




[flexcoders] Re: loading a external variable into a flex app

2007-01-02 Thread g_vaccarezza
Hi G!

Code seems to be fine, but it ain't seem to be working. I wrote the 
following code withing Flex:

// call on creation complete

private function initApp():void{
   myExternalUrl = Application.application.parameters.theUrl;
   requestText.text = myExternalUrl;
}

and then, within the  tag in the HTML:



I open the HTML witht eh Flex app, but the textbox wont show anything.

Any Suggestions?
Thanks!
-g

--- In flexcoders@yahoogroups.com, "greg h" <[EMAIL PROTECTED]> wrote:
>
> Hi g,
> 
> This page in the Flex 2 Language Reference covers ...
> Using query string parameters  (under "NOTE" halfway down the page)
> http://livedocs.macromedia.com/flex/2/docs/1006.html
> 
> Personally, I use FlashVars to pass values into the SWF at runtime 
through
> the HTML  tags.
> 
> You can check these two links in the Flex 2 Language Reference for 
details:
> 
> Using flashVars
> http://livedocs.macromedia.com/flex/2/docs/1005.html
> 
> Using the Application.application.parameters object
> http://livedocs.macromedia.com/flex/2/docs/1004.html
> 
> Please post back whether this helped or not.
> 
> g
> 
> On 12/28/06, g_vaccarezza <[EMAIL PROTECTED]> wrote:
> >
> > Guys,
> >
> > I got to externally set a variable on a swf.
> > I have very limited knowledge but I do know that in a regular 
flash
> > movie I can set a variable through a declaration within the object
> > ember tag in the html:
> >
> > myMovie.swf?variable=something
> >
> > or through the  tag:
> >
> > 
> >
> > Does this apply for an embedded flex movie? In that case, how 
should I
> > read the variable from within flex?
> >
> > Thanks!
> > -g
> >
>




[flexcoders] loading a external variable into a flex app

2006-12-28 Thread g_vaccarezza
Guys,

I got to externally set a variable on a swf.
I have very limited knowledge but I do know that in a regular flash 
movie I can set a variable through a declaration within the object 
ember tag in the html:

myMovie.swf?variable=something

or through the  tag:



Does this apply for an embedded flex movie? In that case, how should I 
read the variable from within flex?

Thanks!
-g



[flexcoders] Re: quick HTTP service question

2006-10-05 Thread g_vaccarezza
haha thank uvery much, that seemed to work fine!
I'm not only a newbie, my English sucks too :P
Bye
Guille

--- In flexcoders@yahoogroups.com, Prakaz <[EMAIL PROTECTED]> wrote:
>
> Since you are 'such a newbie' as you put it, you should probably 
sleep with
> Flex docs next to your pillow :-)
> 
> 
http://livedocs.macromedia.com/flex/2/langref/mx/rpc/http/HTTPService.
html
> 
> -P
> 
> 
> On 10/5/06, g_vaccarezza <[EMAIL PROTECTED]> wrote:
> >
> >
> > 
> >
>   Guys,
> I'm reading an XML through a HTTP service. I'm sending request to a
> database to retrieve a new xml from the same URL (so I'm using the 
send
> (); function).
> I need to trigger an event once the newly requested XML fully loads 
on
> flex (for instance, once the new xml loaded, I call some function).
> 
> I know this has to be something basic, but I don't know where to 
start!
> > Sorry for being such a newbie!
> 
> 
> 
> Thanks
> -g
> 
>  Messages in this topic
> 
<http://groups.yahoo.com/group/flexcoders/message/52174;_ylc=X3oDMTM3Y
3M0MzN0BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwR
tc2dJZAM1MjE3NARzZWMDZnRyBHNsawN2dHBjBHN0aW1lAzExNjAwNzQ4OTMEdHBjSWQDN
TIxNzQ->
> (1) Reply (via web post)
> 
<http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJyZG0xN21qBF
9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwRtc2dJZAM1
MjE3NARzZWMDZnRyBHNsawNycGx5BHN0aW1lAzExNjAwNzQ4OTM-?
act=reply&messageNum=52174>|
> Start a new topic
> 
<http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJmdTNsYmF0BF
9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwRzZWMDZnRy
BHNsawNudHBjBHN0aW1lAzExNjAwNzQ4OTM->
> 
Messages<http://groups.yahoo.com/group/flexcoders/messages;_ylc=X3oDMT
JmNWRzODVoBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIw
NwRzZWMDZnRyBHNsawNtc2dzBHN0aW1lAzExNjAwNzQ4OTM->
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> [image: Yahoo! Groups]
<http://groups.yahoo.com/;_ylc=X3oDMTJlcGN2bGVjBF9TAzk3MzU5NzE0BGdycEl
kAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwRzZWMDZnRyBHNsawNnZnAEc3RpbWUDM
TE2MDA3NDg5Mw-->
> Change settings via the
> 
Web<http://groups.yahoo.com/group/flexcoders/join;_ylc=X3oDMTJndDdtdGh
kBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwRzZWMDZ
nRyBHNsawNzdG5ncwRzdGltZQMxMTYwMDc0ODkz>(Yahoo!
> ID required)
> Change settings via email: Switch delivery to Daily
> Digest<[EMAIL PROTECTED]
subject=Email+Delivery:+Digest>|
> Switch
> format to Traditional<[EMAIL PROTECTED]
subject=Change+Delivery+Format:+Traditional>
> Visit Your Group
> 
<http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJlZnM0NTFhBF9TAzk
3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwRzZWMDZnRyBHNsa
wNocGYEc3RpbWUDMTE2MDA3NDg5Mw-->|
> Yahoo! Groups Terms of Use <http://docs.yahoo.com/info/terms/>| 
Unsubscribe
> <[EMAIL PROTECTED]>
>  Recent Activity
> 
>-  91
>New 
Members<http://groups.yahoo.com/group/flexcoders/members;_ylc=X3oDMTJn
N2NlazQwBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNw
RzZWMDdnRsBHNsawN2bWJycwRzdGltZQMxMTYwMDc0ODkz>
> 
> Visit Your Group
> 
<http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJmNm4zbDVpBF9TAzk
3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwRzZWMDdnRsBHNsa
wN2Z2hwBHN0aW1lAzExNjAwNzQ4OTM->
> SPONSORED LINKS
> 
>- Software development
> 
tool<http://groups.yahoo.com/gads;_ylc=X3oDMTJkczdoMXRsBF9TAzk3MzU5NzE
0BF9wAzEEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZARzd
GltZQMxMTYwMDc0ODk0?
t=ms&k=Software+development+tool&w1=Software+development+tool&w2=Softw
are+development&w3=Software+development+services&w4=Home+design+softwa
re&w5=Software+development+company&c=5&s=152&g=2&.sig=-g7I-
F8ruxPL8no8ZFAx0w>
>- Software 
development<http://groups.yahoo.com/gads;_ylc=X3oDMTJkaWFjZm9mBF9TAzk3
MzU5NzE0BF9wAzIEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG
1vZARzdGltZQMxMTYwMDc0ODk0?
t=ms&k=Software+development&w1=Software+development+tool&w2=Software+d
evelopment&w3=Software+development+services&w4=Home+design+software&w5
=Software+development+company&c=5&s=152&g=2&.sig=gr9mtAoKFJnQF06zjx1wa
w>
>- Software development
> 
services<http://groups.yahoo.com/gads;_ylc=X3oDMTJkbGttZ3M4BF9TAzk3MzU
5NzE0BF9wAzMEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZ
ARzdGltZQMxMTYwMDc0ODk0?
t=ms&k=Software+development+services&w1=Software+development+tool&w2=S
oftware+development&w3=Software+development+services&w4=Home+design+so

[flexcoders] Column series and XML

2006-10-05 Thread g_vaccarezza
I'm using and xml through and HTTP service. The xml looks like this:



   
   


   


   
   


   



I need to make a Column chart with 2 series, one for each of the 
payorname tags. I saw examples over the web about how to make series, 
but ther usually "hardcode" the series ids, ie:




 

and that's not use to me since I need to make the series dynamic (in 
the future, they could add more payornames to this same XML.
I can't find a useful tutorial, hopw anyone can help me out with some 
tips!

Thanks a lot!,
-g 








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] quick HTTP service question

2006-10-05 Thread g_vaccarezza
Guys,
I'm reading an XML through a HTTP service. I'm sending request to a 
database to retrieve a new xml from the same URL (so I'm using the send
(); function).
I need to trigger an event once the newly requested XML fully loads on 
flex (for instance, once the new xml loaded, I call some function).

I know this has to be something basic, but I don't know where to start!
Sorry for being such a newbie!

Thanks
-g






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




[flexcoders] XML manipulation

2006-10-05 Thread g_vaccarezza
Guys, I got this xml



   
   


   
  

   
   


   



I need to fill a column chart with all the payornames in the X axis 
and their TOTAL (sum of) volumes on the Y axis.

Payornames get repeated on each month, so I have to add them up for 
all months (i.e. ABD Co total would be 47).

I kinda know how to do this on AS but I have no clue how to "flex-it" 
in my mxml.I used 

dataProvider="{myData.lastResult.data.month.payorname}" 

But i get and error, seems that flex can figure out I want to sum all 
the payorname volumes for all months.

Any help will be welcome!!
-g





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




[flexcoders] Array.slice problem

2006-10-04 Thread g_vaccarezza
Hi guys

I got this :


  {myData.lastResult.data.month} 


If I:

trace (results[3].label)  // Yields April, cool

But If I:

private function sliceResults(): void {
   [Bindable] public var slicedResults: Array = new Array();
   slicedResults = results.slice(1,3)
   trace (slicedResults.toString); 
}

I compile the mxml, and when I call the function, I get the following 
output error:

Error: Unknown Property: 'slice'. 
atmx.collections::ListCollectionView/http://www.adobe.com/2006/actions
cript/flash/proxy::getProperty()...bla bla bla

Any ideas what this could be? Isn't results supposed to be an array?

Help me out! thanks!
-g








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




[flexcoders] Hslider problem

2006-10-02 Thread g_vaccarezza
Guys,
I got this XML








I want to make a time range selector for a column chart. I copied 
this code from Macromedia's webblog: 
(http://weblogs.macromedia.com/flex_samples/charts_explorer/line/LineS
lider.mxml)



AS:

private function getSliderLabel(value:String): void {
   ### return results.gen[parseInt(value)].label;
}
private function sliceResults(): void {
slicedResults= myData.lastResult.data.slice(slider.values
[0],slider.values[1]);
}

MXML:



{myData.lastResult.data.month} 




Unluckyly, it ain't working...I get and error on ### that says:

"The resturned value must not be defined"


Any ideas?
Thanks!






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] list >> selectedItem question

2006-09-28 Thread g_vaccarezza
Hi guys:

I got this XML:











And the list:

   

I need to make multiple selections in the list and retrieve each 
item's label in order to send a request to a data base.

Using selectedIndices only retrieves items positions. 
If I use selectedItems and the next AS:

trace (selectedItems.toString())

I just get a [Object object] thingy...I can't seem to be able to 
retrieve each item's label...

Any suggestions? DO I need to go a step further and use additional AS 
to solve the problem or is ther a way to get an array of the labels 
directly (something like selectedItems.label)?

Thanks!
-G  







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] Array question

2006-09-27 Thread g_vaccarezza
Hi!
Suppose I have the following array:

var myPets_array:Array = new 
Array "cat", "dog", "fish", "canary", "parrot");

Is there a way I can retrieve several objects from the array at one 
time?
For example, I want to know whats on myPets[1], myPets[3] and myPets
[5] at one time.
Is there anithing like 
trace (myPets[1,3,5]) ??

With slice I can retrieve a range of elements, but I want to retrieve 
things in a non-linear way...
Thanks!
-g






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




[flexcoders] submission with multiple selec

2006-09-27 Thread g_vaccarezza
suppose I have this


Wallet
Belt
Hat


If the user selects wallet and hat, the following will be submitted to
the form's action page:

?items=Wallet&items=Hat

Quetion: How do I emulate this when calling an action page via a Flex
HTTPService object?

This is what I've tried so far:

1. Create a Flex List object with allowMultipleSelection = true
2. In the ActionScript that invokes the HTTPService, I put something
like the following:

var params:Object = new Object();
params.items = listControlInstance.selectedItems;
httpServiceInstance.send(params);

What Flex submits to the action page is the following:

?items=Wallet,Hat

...which breaks the action page.
What is the correct way of doing this?







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] Re: Loading External XML error

2006-09-27 Thread g_vaccarezza
Thank you! That worked!
How come the livedoc provides buggy info? Seems that the loader has 
to be inside a function to work...



--- In flexcoders@yahoogroups.com, "Bela Hajzer" <[EMAIL PROTECTED]> 
wrote:
>
> --- In flexcoders@yahoogroups.com, "grand_master_flash_x" 
>  wrote:
> >
> > try this...
> > 
> > 
> >  
> > 
> > 
> > >
> > 
> > 
> > >  tag:
> > > 
> > > 
> > > 
> > > 
> > > 
> > > I get a compiling time error at lines 4 and 5. It says:
> > > 
> > > Access to undefined property loader
> > > Acces to undefined property request
> > > Access to undefined property onComplete
> > > 
> > > :O Any ideas what this could be and how to solve it!?
> > > 
> > > Thanks!
> > > Guille
> > >
> >Hi Guille,put
> import flash.net.URLRequest
> import flash.net.URLLoader
> that should be fine
> Bye Bela
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] Loading External XML error

2006-09-26 Thread g_vaccarezza
Hu guys, I'm a newbie to flex so any help is welcome. I'll be brief:
I want to load and manipulate an XML file into my flex enviroment so 
I went to the live doc and copy-pasted the following code within my 
 tag:





I get a compiling time error at lines 4 and 5. It says:

Access to undefined property loader
Acces to undefined property request
Access to undefined property onComplete

:O Any ideas what this could be and how to solve it!?

Thanks!
Guille









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




[flexcoders] Error al cargar XML externo

2006-09-26 Thread g_vaccarezza
Hola !! Soy nuevo en flex asi que cualquier ayuda me va a servir. 
Sere breve: Quieor cargar y manipular un XML externo dentro de mi 
entorno flex. Fui a la ayuda de Flex y hice copy-paste del siguiente 
codigo dentro de mi etiqueta :





Me sale un error de compilacion que dice

Access to undefined property loader
Acces to undefined property request
Access to undefined property onComplete

:O Alguna idea de que puede serr!?

Gracias!
Guille





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] Charting in Flex with drill down & complex XML

2006-07-12 Thread g_vaccarezza



Hey guys, ok, whoever has the time and the patience to help me, I will really appreciate it!My name is Guillermo Vaccarezza, and I've purchased Flex 2 recently to use it for a project I'm developing in my Studio in Argentina. This mail is to make you a consulting on some doubts I have on Flex. Hopefully you will be able to clarify my doubts or at least tell me a good place where to find nice charting tutorials for newbies, specially on the drill down capabilities flex offers and XML data filtering: The application I'm working on is a statistics graphs dashboard for hospital use. Summing it up, hospital will use this application to upload data about their ORooms, amount of procedures done by day, doctor who performed the procedure, time taken for each one and so on. All this data is compiled into a PHP based database that then delivers a BIG XML to process in Flex and show, for example, a volume over time bar chart, in which you should be able to drill down in a particular month and then see another graph showing the volume over procedure axis but with the doctors on the X axis. There will be many reports, each one with their own peculiarities, but following a similar logic. Also, and most importantly, there will be a filtering tool before visualizing the graphs: a tab-based box where to chose which ORs you want to see, or what doctors, of by what specialy, etc. Once you make your selections, you click an UPDATE button and you visualize your chosen report with the filter applied to it, then you drill into the data as I explained before.I'm new to flex, and even thought it seems to be a pretty straightforward tool. And I'm intermediate flash 8 user (my site is idstudio) , I'm still having problem on HOW to access my XML file and take what I want from it (depending on the applied filters), then render only those XML nodes on the graph.Let's go to the first question, this concerns the drill-down capability for my chart:For instance, let's say I have the following XML:---Now, on the first bar chart, I want to show volume over time per month. That I could do pretty easily seeing some examples on the web. Now it comes the second graph, which is a drill down on the first: I want to click one month, and then see all the volumes per procedure for that month. On the paper, this seems easy; however, I just can't find a good tutorial on how to bind data and what actionscript code I should need to use to go from graph 1 to 2 using my XML structure. The help on flex documentation doesn't give any practical example of data drill down for charts... :(The second question is about the filtering tool I want to have the users click on before displaying the graphsLet's take a look at the XML: I want to only see the first procedure on the first month and only 2 of the 4 doctors for that procedure, for instance. Also, suppose that the user clicks on procedure 1, but then clicks on a doctor that doesn't belong to that procedure, so the data retrieval is not applicable, so I should show a warning or a red flag telling the user that his request is not applicable….How exactly can I manipulate my XML in order to retrieve only the data I want to show? I've been going crazy looking for an example that helps me on this without getting too difficult on the actionscript part, but I couldn't find anything helpful...-I know this is a long post and you won't probably have the time to tutorial me on all I asked, but at least some help would be terrific. If you have some tutorial on the internet you can recommend me I would really appreciate it...The idea is to have a simple tutorialized example of a bar chart, with a drill down capability, the MXML file and the XML file used for showing the data. On the other hand, having some example of the filtering tool for manipulating what data to be shown would be awesome. I found some examples of what I'm looking for on http://flexapps.macromedia.com/flex15/chartexplorer/explorer.mxmlBut the drill down example doesn't show me the XML file, so I can't know how they have the data structured so to compare it to my XML. Besides, these examples are from FLEX 1.5, and the syntaxes changes when migrating to flex 2, so this MXML files are not behaving really good when I try them on flex 2.Ok! That's all for now, I hope you'll be able to bless me with some of your knowledge, thank you so much in advance guys! -g

__._,_.___





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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___