Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
demboos #1
Dynamic content creation
I'm rather a newbie to flex, at the stage of considering it it is worth my time
to get to know to it (or maybe laszlo...).
I have this question: is flex app capable of generating the UI on-the-fly
based on the mxml retrieved from servlet/webservice? Or do I have to parse the
xml manually and build the UI using ActionScript?
Thanks
demboos Guest
-
dynamic xml creation
How can I make XML dynamically inside tha Flash using AS? Basicly i need to make structure like these one: <root> <item></item> ...... -
dynamic tag creation
Looking for a way to dynamically evaluate a tag from a string. eg: <cfset tmp = '<cfset myRslt = "Hello">'> <cfoutput> #tmp# </cfoutput> ... -
Dynamic Page Creation
I would like to be able to create pages dynamicly. The page name would dynamicly appear in the menu with a link to the page. All pages would work... -
dynamic object creation
If I have something like this: s="Array" How whould I get something like this: aObject=s.new In "plain" english I am asking if I have a... -
High Definition content creation using Macromedia Flash
I'm very happy to announce that I've added two new whitepapers about "HD" to our website. They are titled: -- Create HD Content Using Macromedia... -
Dave Wolf #2
Re: Dynamic content creation
Basically Flex is a set of server side servlets and filters that grab a
request for an MXML file, convert the calls in MXML to ActionScript,
automatically generates the ActionScript, compiles it, creates a SWF,
and returns the SWF.
MXML lets you use a simple XML syntax to define the UI, and the compiles
handle turning that all into AS and the SWF.
Dave Wolf
Cynergy Systems
[url]http://www.cynergysystems.com[/url]
demboos wrote:> I'm rather a newbie to flex, at the stage of considering it it is worth my time
> to get to know to it (or maybe laszlo...).
>
> I have this question: is flex app capable of generating the UI on-the-fly
> based on the mxml retrieved from servlet/webservice? Or do I have to parse the
> xml manually and build the UI using ActionScript?
>
> Thanks
>Dave Wolf Guest
-
demboos #3
Re: Dynamic content creation
I get the basic idea behind FLEX, but my question touches another topics:
1. Is it possible to generate the mxlm file dynamicly on server side (by
servlet/jsp) and then have it compiled to swf on every client request?
2. Let's assume I;ve got some flex app, which at some point asks the server
(using http/webservices) for some xml data, which describes (in MXML format)
the UI my app should render dynamicly. This XML data should be parsed on client
side. Is it possible to achieve in flex?
demboos Guest
-
Carson Hager #4
Re: Dynamic content creation
1. I don't see why not provided you set the content type appropriately but
I've never tried this so I can't say for certain.
2. The MXML is never parsed on the client side but you can pass parameters
to a JSP which has an MXML tag on the page. With this construct, the JSP
can pass arguments to the MXML application which the application can use to
affect the runtime invocation of the Flex application.
Carson
________________________________
Carson Hager
Cynergy Systems, Inc.
[url]http://www.cynergysystems.com[/url]
"demboos" <webforumsuser@macromedia.com> wrote in message
news:cv36vr$ipu$1@forums.macromedia.com...>I get the basic idea behind FLEX, but my question touches another topics:
>
> 1. Is it possible to generate the mxlm file dynamicly on server side (by
> servlet/jsp) and then have it compiled to swf on every client request?
>
> 2. Let's assume I;ve got some flex app, which at some point asks the
> server
> (using http/webservices) for some xml data, which describes (in MXML
> format)
> the UI my app should render dynamicly. This XML data should be parsed on
> client
> side. Is it possible to achieve in flex?
>
>
Carson Hager Guest
-
ntsiii #5
Re: Dynamic content creation
Right, you can't interpret mxml text on the client and render a UI.
You can achieve dynamic UIs by dynamically instantiating components on the
client, and you can dynamically create mxml on the server using the JSP flex
taglib.
Tracy
ntsiii Guest



Reply With Quote

