[flexcoders] Re: Passing parameters to flashplayer while launching from Flexbuilder

2009-12-16 Thread Benjamin
Thanks for quickly responding. Yes, this will work if I am using using the html to launch the application in flexbuilder, but I am using the swc to launch the application. The reason I am using the swc instead of html is that I don't have debug version of flexbuilder in my browser. If I use swc

[flexcoders] Re: Passing parameters to flashplayer while launching from Flexbuilder

2009-12-17 Thread Erdal
You can modify the html-template/index.template.html in your project to change the generated html --- In flexcoders@yahoogroups.com, "Benjamin" wrote: > > All, > >When I launch my flex application using browser, I am able to pass the > parameters through html page/javascript etc. But duri

[flexcoders] Re: Passing parameters to flashplayer while launching from Flexbuilder

2009-12-17 Thread Tibor
Hi Ben, You can try extending the Application class and override the get parameters method. public class MyApplication extends Application { private var test_params:Object; public function MyApplication() { test_params={foo:"bar"};

[flexcoders] Re: Passing parameters to flashplayer while launching from Flexbuilder

2009-12-17 Thread Benjamin
Thanks Tom. Installing debug player is not an option in our office, since we are not allowed to change any browser settings. --- In flexcoders@yahoogroups.com, Tom Chiverton wrote: > > On Wednesday 16 Dec 2009, Benjamin wrote: > > Thanks for quickly responding. Yes, this will work if I am using

[flexcoders] Re: Passing parameters to flashplayer while launching from Flexbuilder

2009-12-17 Thread Benjamin
Thanks, Tibor. We have various environemnt settings, which needs to be passed. If I extend the Application, then I have to hardcode some of the settings into the code. I am trying to avoid that, since we have to update the code everytime when our environment changes. Only way I can think of is

Re: [flexcoders] Re: Passing parameters to flashplayer while launching from Flexbuilder

2009-12-17 Thread Tom Chiverton
On Wednesday 16 Dec 2009, Benjamin wrote: > Thanks for quickly responding. Yes, this will work if I am using > using the html to launch the application in flexbuilder, but I am using the > swc to launch the application. The reason I am using the swc instead of > html is that I don't have debug vers

Re: [flexcoders] Re: Passing parameters to flashplayer while launching from Flexbuilder

2009-12-17 Thread Chris
Then build a browser using AIR and load your swc into a Webkit window! :D On Thu, Dec 17, 2009 at 9:22 AM, Benjamin wrote: > > > Thanks Tom. Installing debug player is not an option in our office, since > we are not allowed to change any browser settings. > > > --- In flexcoders@yahoogroups.com

Re: [flexcoders] Re: Passing parameters to flashplayer while launching from Flexbuilder

2009-12-18 Thread Tom Chiverton
On Thursday 17 Dec 2009, Chris wrote: > Then build a browser using AIR and load your swc into a Webkit window! :D Ohh, nice work around ! -- Helping to completely envisioneer supply-chains as part of the IT team of the year, '09 and '08 Thi

[Spam] Re: [flexcoders] Re: Passing parameters to flashplayer while launching from Flexbuilder

2009-12-21 Thread Tibor
Hi Nick, There's nothing wrong with Erdal's response. Benjamin can't install the debug version of flash player, thus in order to be able to debug his application he is launching it in a standalone player (in which case the index-template isn't used). Tibor. www.tiborballai.com --- In flexco

Re: [Spam] Re: [flexcoders] Re: Passing parameters to flashplayer while launching from Flexbuilder

2009-12-21 Thread Nick Middleweek
Guys, what is wrong with Erdal's reponses? That is how I do it but am curious to know why if it's not a good way? Thanks, Nick

[Spam] [Spam] Re: [flexcoders] Re: Passing parameters to flashplayer while launching from Flexbuilder

2009-12-22 Thread Tibor
> So I guess Ben is using this... http://www.standaloneflashplayer.com/ ? I couldn't tell you exactly what he is using (he should be able to provide a specific answer to your question), but I'm pretty certain that it's not the player found at standaloneflashplayer.com You can go to Project>Prop

Re: [Spam] [Spam] Re: [flexcoders] Re: Passing parameters to flashplayer while launching from Flexbuilder

2009-12-22 Thread Nick Middleweek
Ah ok... thanks, reading back, I didn't understand Ben's reply... So I guess Ben is using this... http://www.standaloneflashplayer.com/ ? But is this a standalone player a debugger as well? Sorry for what may be a simple Question... but thanks for your help. Cheers, Nick 2009/12/21 Tibor

[Spam] [Spam] [Spam] Re: [flexcoders] Re: Passing parameters to flashplayer while launching from Flexbuilder

2009-12-22 Thread Tibor
Nick, Unfortunately you can't use a ?querysting in that case. Since the browser is no longer involved in opening your flex app, the operating system won't know how to interpret the querystring. Not sure about other operating systems, but on windows a querystring will be interpreted as part of th

Re: [Spam] [Spam] [Spam] Re: [flexcoders] Re: Passing parameters to flashplayer while launching from Flexbuilder

2009-12-22 Thread Nick Middleweek
Tibor, Thanks for your help... That's totally cleared things up, now I see why you were suggesting to Extend the Application, etc and spoof it... Perhaps he can put a ?querystring of required values at the end of the filename in that settings screen? Nick 2009/12/22 Tibor > > > > So I gu