greg, I'm effectively calling initApp() as
<mx:Application ... creationComplete="initApp()" > 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: > <mx:Application ... creationComplete="initApp()" > > > 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 <object> tag in the HTML: > > > > <param name="theUrl" value="this is the goddam dynamic url"> > > > > I open the HTML witht eh Flex app, but the textbox wont show anything. > > > > Any Suggestions? > > Thanks! > > -g > > > > --- In flexcoders@yahoogroups.com, "greg h" <flexsavvy@> 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/00001006.html > > > > > > Personally, I use FlashVars to pass values into the SWF at runtime > > through > > > the HTML <object><embed> tags. > > > > > > You can check these two links in the Flex 2 Language Reference for > > details: > > > > > > Using flashVars > > > http://livedocs.macromedia.com/flex/2/docs/00001005.html > > > > > > Using the Application.application.parameters object > > > http://livedocs.macromedia.com/flex/2/docs/00001004.html > > > > > > Please post back whether this helped or not. > > > > > > g > > >