Page 1 of 1

A Simple Question

Posted: Sun Jan 10, 2010 8:42 am
by hungryhounduk
H All
"My mind has gone Blank" :?

I have a Form and as it Loads I want it too Display a "Flash" Movie without clicking any buttons to launch it
I know i add the Shockwave Flash Object to the Form and my "Flash Movie" in my Resources, But my mind is Blank as to the code i add to "Load" to attach the Movie at Runtime :oops: :oops:

Can a Kind Soul Enlighten me cooll;

*As i think i am having a Senior Moment idoit; hehaho;

Cheers

Chris

Re: A Simple Question

Posted: Sun Jan 10, 2010 8:52 am
by TechSoftware
Code: Select all
AxShockwaveFlash1.Movie = my.Resources.your movie name

Maybe this works

Re: A Simple Question

Posted: Sun Jan 10, 2010 8:57 am
by hungryhounduk
Hi TechSoftware
Thanks alot cooll; wahooo;

"Its amazing how such a simple piece of Code can confuse me at the best of times"

Cheers

Chris

Re: A Simple Question

Posted: Sun Jan 10, 2010 8:59 am
by TechSoftware
your welcome

Re: A Simple Question

Posted: Sun Jan 10, 2010 9:07 am
by hungryhounduk
Hi TechSoftware
I am afraid that does not work

It says value of of Type 1 diamensional array Byte cannot be converted to String

Chris

Re: A Simple Question

Posted: Sun Jan 10, 2010 9:10 am
by TechSoftware
can you give me a flash movie and i wil try it

Re: A Simple Question

Posted: Wed Jan 13, 2010 6:11 pm
by GoodGuy17
Try putting the Flash movie in the same folder as your program and then use this in Form_Load:
Code: Select all
AxShockwaveFlash1.Movie = "DIRECTORYOFMOVIE.swf"

Re: A Simple Question

Posted: Mon Jan 18, 2010 9:20 pm
by Harlem9191
Make sure Autoplay is set to true if you want it to run without clicking any buttons.

Re: A Simple Question

Posted: Mon Jan 25, 2010 10:46 pm
by alex6848
thanks