TwelvestoneFlash

wurkin' with .NET fellers....dev suggestions please


Sign in

  • Waiting for Godot ( 720 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 4.8 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.8 k posts )
    general front end design an...
  • Back End ( 9.6 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
Storm
 
2009-01-21

ok, this is just for the Flash guys.

As you know I've had a couple projects under my belt here at Honda working directly with the .NET guys. But the problem is I need to publish my .swfs into my folder and they virtually access it into their projects.

I am doing this latest in AS3 and frustrated because I can't use trace or the debugger because I don't have access to the .NET services in the bg from the IDE.

How can I use the debugger and the trace in the IDE (or FlashDevelop) if I can't actually trigger their JS functions or call their web services directly from Flash? Their domains are rotating daily and their projects all compile at run time?

I'm a front end guy, so not really sure how to TEST THE CALL, in this case, a JS function which triggers their whatever from the DB and returns an XML String from .NET. I really don't want to be jumping into Fiddler and checking that data every time. I'd like to stay in the IDE and use the debugger and trace.

I'm using ExternalInterface (browser) to trigger the JS btw. How the 'ell do I do this from the IDE? All I can check right now is ExternalInterface.available and that tells me nothing about the XML return string from .NET.

DontBogartMe
 
2009-01-21

in my exp if you need to test comms like this, sooner or later you have to come out of the IDE and test it in a webpage.

If you can't test within the real website, in your case I'd consider creating JS functions that just fake it - Flash talks to the JS exactly as it would in the real thing, and the JS returns the same sort of responses that it really would, but it's all hardcoded and fake.

If you need trace, debug in Firefox with Flash Tracer installed. http://www.sephiroth.it/firefox/flashtracer/

Storm
 
2009-01-21

we're an IE only house (awful I know) so nothing compiles in Firefox at all. I don't know how they block it but they do. I use Firefox for everything except testing our projects. So, I've been using Fiddler for most network checks.

But I figured your answer would be the answer. The JS lives in ASPX pages they create for me and I can access their functions, but when I run into problems it sure would be fucking nice to triggger the function from the IDE and see what's under the hood in the .swf and where it's choking.

Thanks DBM. I'll have to build make my AS2 debugger into AS3 and look under the hood of the swf that way.

DontBogartMe
 
2009-01-21

yeah before I found out about Flash Tracer I created some little panel that I could dump out text to instead of tracing.

Originally posted by: Storm we're an IE only house

you have my sympathies!

I dunno how complex your JS calls are, but I would think you could code up a test HTML page that can run in Firefox, so you can use Flash Tracer? Might be too much like hard work, depends on how many different calls you're talking about I guess. On the other hand if you can get it working, it'll save you from dirtying up your Flash code with debugger stuff.

JLM
 
2009-01-21

You just want traces or am i missing something?? http://twelvestone.com/forum_thread/view/39233

using a simple text editor like e-texteditor you can see the trace changes live (there is an as3 bundle console even)

OR

try localconnection http://twelvestone.com/forum_thread/view/24212

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.
TwelvestoneFlash

wurkin' with .NET fellers....dev suggestions please