I am saying b).  I want to manually launch the browser and debug.swf
then when the connect debugger dialog box opens, I can say localHost
and have the Flex Builder Plug-in debugger connected to the manually
launched swf.  

I eagerly await your response :)

--- In flexcoders@yahoogroups.com, "Mike Morearty" <[EMAIL PROTECTED]>
wrote:
>
> Are you saying that (a) you want Flex Builder to launch the browser,
> but with a custom URL that you specify, or (b) you don't want Flex
> Builder to launch the browser at all -- just connec to an
> already-running browser that you launched?  Both are possible.
> 
> (a) If you want Flex Builder to launch the browser, but with a custom
> URL that you specify, just edit the "launch configuration."  Easiest
> way to do that is described here:
>
http://www.morearty.com/blog/2006/05/23/flex-builder-ctrl-click-to-access-a-lanch-configs-properties/
> Then, just edit the URL shown in the "Debug" edit box.
> 
> (b) If don't want Flex Builder to launch the browser at all, but just
> connect to a browser you already launched manually: This is a hack,
> but it works: Go to the same "launch configuration" dialog mentioned
> above, and just set the URL to any old thing (e.g about:blank, or if
> that doesn't work, http://www.google.com).  When you click Debug, Flex
> Builder will launch a browser at the bogus page; and now, for the next
> two minutes, Flex Builder is listening on a socket, waiting for the
> Flash player to connect to it.  Just ignore the bogus browser, and go
> over to the browser you wanted, and load your swf.  When the Flash
> Player starts, it will connect to the socket that Flex Builder is
> listening on.
> 
> - Mike Morearty
>   Adobe Flex Builder team
> 
> 
> --- In flexcoders@yahoogroups.com, "JWOpitz" <jwopitz@> wrote:
> >
> > Hi folks,
> > 
> > I have tried to find this topic posted in the group and the web in
> > general and tho I find plenty on related cases, I cannot seem to find
> > the right answer.  So I pose this question to you, my fellow
colleagues.
> > 
> > I want to be able to connect the debugger to a swf that has NOT been
> > launched by the Flex Builder plug-in.  For instance, I want build a
> > debug version swf locally, deploy it to a server manually (by c&p'ing
> > it there) and then connect the debugger to that swf.  
> > 
> > Used to back in the Flex 1.5 days I remember being able to just click
> > the 'localHost' button and it would work as expected.  However, I have
> > not been able to do this with Flex 2 as it just reopens the connection
> > box and eventually fails out.  
> > 
> > So is this possible?  I apologize if there is indeed a duplicate post
> > and I happened to miss it.  If so, please post a link.  
> > 
> > Thanks,
> > J
> >
>


Reply via email to