NULLReferenceException

.NET Edition of the F-IN-BOX
Nitro66215
Posts: 2
Joined: Thu Nov 30, 2006 8:24 pm

NULLReferenceException

Postby Nitro66215 » Thu Nov 30, 2006 8:27 pm

Per your posts... this is supposed to work...

FlashPlayerControl1.PutMovieFromStream(Me.GetType().Assembly.GetManifestResourceStream("Sample1_SWF_And_FLV_Player.movie.swf"))
FlashPlayerControl1.FlashMethod_Play()

I am just trying to get an FLV file to load and play. Very simple in windows. Why does this code give me a NullReferenceException in vs2005? Your Sample program runs fine. I have copied all the "swf" files that were in the sample over... but still doesn't work.

Any help would be appreciated.

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

Postby Softanics » Fri Dec 01, 2006 11:07 am

Thank you for your question.

See the properties of the resource (movie.swf). You should see that this resource is "Embedded resource".
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

Nitro66215
Posts: 2
Joined: Thu Nov 30, 2006 8:24 pm

Postby Nitro66215 » Fri Dec 01, 2006 2:42 pm

Thanks. Got it now.


Return to “.NET Edition”

Who is online

Users browsing this forum: No registered users and 17 guests

cron