View unanswered posts | View active topics



Reply to topic  [ 5 posts ] 
Can i debug flash swf in html page and view trace in fd log? 
Author Message
Member

Joined: Wed Jan 06, 2010 12:20 pm
Posts: 16
Hi
i didn't found any where maybe i don't know what to look for. ( im new to this .. )
i have swf with traces ( using haxe) now i like to debug it or run it from html page i did .
that has java script function that calling swf ExternalInterface.addCallback i defined .
so i just want to load this html page i did with my swf init . and when i trigger the javascript function
i will see the traces i put in the callback function in flash log viewer.
maybe there is other ways to test it ..
Thanks


Wed Oct 19, 2011 10:50 am
Profile
Member

Joined: Wed Jan 06, 2010 12:20 pm
Posts: 16
well i answering part of the question to my self.
i found how to configure fd to load the bin/index.html file .
from here :
http://www.flashdevelop.org/wikidocs/index.php?title=AS3:Debugging
but it load me the regular flash player i installed in my FF 7.01 version.
how do i change it to use the Debugger flash player ?

UPDATE :
searching the forum i solved it with the help of :
http://www.flashdevelop.org/community/viewtopic.php?f=13&t=6094

Thanks


Wed Oct 19, 2011 11:46 am
Profile
Member

Joined: Sat May 02, 2009 1:08 pm
Posts: 96
Personally I use FlashBug (you can give flashfirebug a try too)
to view flash outputs within html pages with Firefox.


Wed Oct 19, 2011 12:30 pm
Profile WWW
Member

Joined: Wed Jan 06, 2010 12:20 pm
Posts: 16
thanks but there is not need, i even can set break points and debug like real i use to from c++


Wed Oct 19, 2011 12:55 pm
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 11586
Location: Paris, France
FD has a Flash log viewer panel (see View menu) to watch regular trace().

If you have compiled with debug information then you can have FD open the HTML page instead of the SWF and have debugging as usual:
- Project properties > Output tab
- set Test Movie mode to "Open Document..."
- click <Edit> and enter the path to the HTML page (ie. "bin/index.html")

Run as usual using F5.


Wed Oct 19, 2011 9:44 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.