Groups > Multimedia > Macromedia rich int apps > Re: include mxml in mxml




include mxml in mxml

include mxml in mxml
Sat, 13 May 2006 09:29:38 +000
Hi,

 I have two mxml files one location.mxml & one contracts.mxml in 1 project. 
So 
I want to call location.mxml on location link in contract.mxml file. Is this 
possibl in flex? How to connect two mxml application.

 Thank You,
 Magnet
Post Reply
Re: include mxml in mxml
Tue, 16 May 2006 05:21:09 +000
u have to use

 <location id="loc" height="100%"
width="100%"/>
 in location link

 and also set  name space in contact.mxml
 set
 ie.
 <mx:Canvas xmlns:mx="<a target=_blank
class=ftalternatingbarlinklarge 
href="http://www.adobe.com/2006/mxml"">http://www.adobe.com/20
06/mxml"</a> 
xmlns="*" xmlns:local="*"> 
Post Reply
Re: include mxml in mxml
Tue, 16 May 2006 16:22:34 -070
The browser paradim of having multiple html documensts that represent
your application don't apply to Flex. Instead, you create a single Flex
application that contains all of your states. You can use States and MXML
Components to help break your application up into different modes or views.

Check the developer center for more articles:
http://www.adobe.com/devnet/flex/getting_started.html

And check out the application examples:
http://www.adobe.com/devnet/flex/example_apps.html

-- 
Jason Szeto
Adobe Flex SDK Developer

"magnet_web" <webforumsuser@macromedia.com> wrote in message 
news:e448u2$b8j$1@forums.macromedia.com...
> Hi,
>
> I have two mxml files one location.mxml & one contracts.mxml in 1
project. 
> So
> I want to call location.mxml on location link in contract.mxml file. Is 
> this
> possibl in flex? How to connect two mxml application.
>
> Thank You,
> Magnet
> 

Post Reply
about | contact