Thank You:) On Apr 13, 6:57 pm, Jagadish M <[email protected]> wrote: > Hi, > > As Ravi Said that swf files are wrapped in a html document is right > and this html document will be stored in the bin-debug folder.. > > When we upload a project on the server, the starter file should be html file > which will be executed on the Browser. > > This is as per my knowledge.. > > -- > Thanks & Regards, > > Jagan Mady's > > > > On Mon, Apr 13, 2009 at 3:50 PM, Ravi Mishra <[email protected]> wrote: > > > Hi Sindhu, > > > The mxmlc compiler compiles the mxml and actionscript files to swf > > files which are wrapped in a html document. > > > -Ravi > > > On Apr 13, 11:09 am, Sindhu <[email protected]> wrote: > > > Hey Mr.Sreenivas, > > > I tried it out. It worked!!!:) > > > But i have a doubt...why are we specifying the extension as .html when > > > it is actually an mxml application??? Haven't understood the logic > > > behind it.Please can you explain... > > > Thanks a lot, > > > Sindhu > > > > On Apr 11, 6:15 pm, "Sreenivas..........." <[email protected]> > > > wrote: > > > > > Hey sindu, u can give "second.html or second.swf" instedof second.mxml. > > > > See the following code. > > > > > <?xml version="1.0"?> > > > > <!-- first.mxml --> > > > > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> > > > > <mx:Script><![CDATA[ > > > > import flash.net.*; > > > > public function openNewMXML(event:MouseEvent):void { > > > > > > var u:URLRequest = new URLRequest("second.html"); > > > > > navigateToURL(u,"_blank"); > > > > > } > > > > > ]]> > > > > > </mx:Script> > > > > > > <mx:Button label="Open New MXML file" click="openNewMXML(event)"/> > > > > > > </mx:Application> > > > > > Thanks & Regards, > > > > Srinivas. > > > > > On Sat, Apr 11, 2009 at 9:33 AM, Sindhu <[email protected]> wrote: > > > > > > Hi, > > > > > ViewStack is working is just fine. I tried the below code for > > > > > navigating from one mxml to another but it didn't work. > > > > > <?xml version="1.0"?> > > > > > <!-- first.mxml --> > > > > > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> > > > > > <mx:Script><![CDATA[ > > > > > import flash.net.*; > > > > > public function openNewMXML(event:MouseEvent):void { > > > > > var u:URLRequest = new URLRequest("second.mxml"); > > > > > navigateToURL(u,"_blank"); > > > > > } > > > > > ]]></mx:Script> > > > > > <mx:Button label="Open New MXML file" click="openNewMXML(event)"/> > > > > > </mx:Application> > > > > > > Tried giving the entire path for the "second.mxml" too. > > > > > Whereas, > > > > > var u:URLRequest = new URLRequest("http://www.google.com"); just > > > > > works > > > > > fine. > > > > > Hoping someone can help.. > > > > > Thanks, > > > > > Sindhu.- Hide quoted text - > > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

