[flex_india:26413] Passing the external xml filename(in PHP variable) as Flashvars to Flex/Flash object

View: New views
3 Messages — Rating Filter:   Alert me  

[flex_india:26413] Passing the external xml filename(in PHP variable) as Flashvars to Flex/Flash object

by harshadaj :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,
      I am new to Flex/Flash. My application loads an external XML
file and draws a graph according to the XML data. I store the current
user in PHP and I need to pass the userid as the xml file name i.e.
load from $userid.xml file. How should I go about it using Flashvars.
I tried few examples, but none of them pass the xml filename to be
loaded.
Thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex India Community" group.
To post to this group, send email to flex_india@...
To unsubscribe from this group, send email to flex_india+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---


[flex_india:26441] Re: Passing the external xml filename(in PHP variable) as Flashvars to Flex/Flash object

by Saravanan-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


HI,

Google for HttpService...

-sara

On Nov 5, 1:04 am, harshadaj <harshada...@...> wrote:
> Hello,
>       I am new to Flex/Flash. My application loads an external XML
> file and draws a graph according to the XML data. I store the current
> user in PHP and I need to pass the userid as the xml file name i.e.
> load from $userid.xml file. How should I go about it using Flashvars.
> I tried few examples, but none of them pass the xml filename to be
> loaded.
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex India Community" group.
To post to this group, send email to flex_india@...
To unsubscribe from this group, send email to flex_india+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---


[flex_india:26442] Re: Passing the external xml filename(in PHP variable) as Flashvars to Flex/Flash object

by Saravanan-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


check with this article http://devzone.zend.com/article/11

http://blog.flexexamples.com/2008/03/29/dynamically-loading-xml-files-using-the-httpservice-tag/

On Nov 6, 12:57 pm, Saravanan <saras...@...> wrote:

> HI,
>
> Google for HttpService...
>
> -sara
>
> On Nov 5, 1:04 am, harshadaj <harshada...@...> wrote:
>
>
>
> > Hello,
> >       I am new to Flex/Flash. My application loads an external XML
> > file and draws a graph according to the XML data. I store the current
> > user in PHP and I need to pass the userid as the xml file name i.e.
> > load from $userid.xml file. How should I go about it using Flashvars.
> > I tried few examples, but none of them pass the xml filename to be
> > loaded.
> > Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex India Community" group.
To post to this group, send email to flex_india@...
To unsubscribe from this group, send email to flex_india+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---