Visual Studio 2008 beta 2 - Flex generated SWF

.NET Edition of the F-IN-BOX
wikedz
Posts: 13
Joined: Mon Aug 27, 2007 10:51 pm

Visual Studio 2008 beta 2 - Flex generated SWF

Postby wikedz » Mon Aug 27, 2007 11:11 pm

I recently installed visual studio 2008 beta 2... keep in mind this problem did not occur in beta 1. I'm wondering if anyone else is also developing in beta 2 that can duplicate my problem.

flashobj.FlashMethod_LoadMovie(0,"mymoviefile.swf")

if mymoviefile.swf was a flash movie generated from the flash program, it appears to load fine... however.. if the flash movie was generated from Flex (2.0.1)... it crashes the app. I tried dropping a try/catch block around the loadmovie statement, but the application just bails without dropping into the catch.

I know this might be out of the realm of F-IN-BOX due to the beta status of the dev tools, but I do not have the source for f-in-box to try to debug the crash.

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Re: Visual Studio 2008 beta 2 - Flex generated SWF

Postby Softanics » Mon Aug 27, 2007 11:17 pm

Thank you for your question.

wikedz wrote:if mymoviefile.swf was a flash movie generated from the flash program, it appears to load fine... however.. if the flash movie was generated from Flex (2.0.1)... it crashes the app.


If you load this movie into Internet Explorer, does it play properly?
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

wikedz
Posts: 13
Joined: Mon Aug 27, 2007 10:51 pm

Re: Visual Studio 2008 beta 2 - Flex generated SWF

Postby wikedz » Mon Aug 27, 2007 11:51 pm

Softanics wrote:Thank you for your question.

wikedz wrote:if mymoviefile.swf was a flash movie generated from the flash program, it appears to load fine... however.. if the flash movie was generated from Flex (2.0.1)... it crashes the app.


If you load this movie into Internet Explorer, does it play properly?


Yes, both internet explorer and flash player standalone can load the movie without issue

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Mon Aug 27, 2007 11:53 pm

Thank you.

If you load using full path:

Code: Select all

flashobj.FlashMethod_LoadMovie(0,"C:\ ... \mymoviefile.swf")


the same problem?
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

wikedz
Posts: 13
Joined: Mon Aug 27, 2007 10:51 pm

Postby wikedz » Tue Aug 28, 2007 12:13 am

Softanics wrote:Thank you.

If you load using full path:

Code: Select all

flashobj.FlashMethod_LoadMovie(0,"C:\ ... \mymoviefile.swf")


the same problem?


Indeed .. same result when using qualified path

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Tue Aug 28, 2007 12:25 am

If you launch the EXE outside the Visual Studio, does it crash?
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

wikedz
Posts: 13
Joined: Mon Aug 27, 2007 10:51 pm

Postby wikedz » Tue Aug 28, 2007 2:28 am

Softanics wrote:If you launch the EXE outside the Visual Studio, does it crash?


Yes, same crash.... I don't know if it's of any value, but the error message that comes up when debugging the assembly is 0x80000001: Not Implemented

I don't know if you have access to MSDN library and the beta 2 of vs 2008 pro, but if you are able to install it, I will send you a sample project containing a basic flex generated flash movie w/ a single button instance..

I've been able to reproduce the problem on two machines (vista 32 bit, vs2008 beta 2)

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Tue Aug 28, 2007 11:51 am

wikedz wrote:Yes, same crash.... I don't know if it's of any value, but the error message that comes up when debugging the assembly is 0x80000001: Not Implemented


Can you send me zipped EXE to support (at) f-in-box.com ?

If you launch EXEs from demo_applications folder, do they work fine?
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Tue Aug 28, 2007 11:54 am

What version of flash activex you use?
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

wikedz
Posts: 13
Joined: Mon Aug 27, 2007 10:51 pm

Postby wikedz » Tue Aug 28, 2007 4:48 pm

Softanics wrote:
wikedz wrote:Yes, same crash.... I don't know if it's of any value, but the error message that comes up when debugging the assembly is 0x80000001: Not Implemented


Can you send me zipped EXE to support (at) f-in-box.com ?

If you launch EXEs from demo_applications folder, do they work fine?


Same result when launched in demo_applications ... I have emailed a zip containing the exe and the test.swf. test.swf is a blank flex project with a single button added to the stage.

wikedz
Posts: 13
Joined: Mon Aug 27, 2007 10:51 pm

Postby wikedz » Tue Aug 28, 2007 4:49 pm

Softanics wrote:
wikedz wrote:Yes, same crash.... I don't know if it's of any value, but the error message that comes up when debugging the assembly is 0x80000001: Not Implemented


Can you send me zipped EXE to support (at) f-in-box.com ?

If you launch EXEs from demo_applications folder, do they work fine?


Oh, yes the other EXE's in the demo_apps folder run fine...
My application also runs fine if I am using an SWF created w/ flash, it's when I use one generated from a flex project that it's crashing.

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Tue Aug 28, 2007 5:12 pm

OK.

Could you please rebuild sample Sample01_SWF_And_FLV_Player by VS 2008. If you run the Sample01_SWF_And_FLV_Player.exe and load a movie (generated by flex), it crashes. Am I right?

If yes, please zip this EXE and this movie into single zip file and send it me to support (at) f-in-box.com ?

Also please write what version of flash player you use.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Tue Aug 28, 2007 5:49 pm

Thank you.

I've received it. It seems it's a problem of beta 2.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

wikedz
Posts: 13
Joined: Mon Aug 27, 2007 10:51 pm

Postby wikedz » Tue Aug 28, 2007 6:05 pm

Softanics wrote:Thank you.

I've received it. It seems it's a problem of beta 2.


Is there any information you can give me regarding the problem, so that I can report to ms dev? Is there anything you can suggest as a work-around? I'm about to just rebuild my project using vs2005.

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Tue Aug 28, 2007 6:33 pm

The problem is I haven't VS 2008 beta 2 installed right now...
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html


Return to “.NET Edition”

Who is online

Users browsing this forum: No registered users and 18 guests

cron