View previous topic :: View next topic |
Author |
Message |
xXx123 Expert Cheater
Reputation: 0
Joined: 27 Sep 2007 Posts: 118
|
Posted: Fri Nov 30, 2007 2:55 pm Post subject: vb6 question |
|
|
what code should i put if i want to do when some one clicks at a buttun it loads the movie again?
|
|
Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Fri Nov 30, 2007 3:02 pm Post subject: |
|
|
shockwaveflash1.LoadMovie 0, " "
Call shockwaveflash1.LoadMovie 0, "swf here"
_________________
|
|
Back to top |
|
 |
xXx123 Expert Cheater
Reputation: 0
Joined: 27 Sep 2007 Posts: 118
|
Posted: Fri Nov 30, 2007 3:17 pm Post subject: |
|
|
thanks but it doesnt wotk:|... maby another code?
look here is my code
Code: | Private Sub sg_Click()
Call x.LoadMovie 0, "swf"
End Sub |
x is my flash name and ofcurse in "swf" i put an url... and it says compile error
Last edited by xXx123 on Fri Nov 30, 2007 3:25 pm; edited 1 time in total |
|
Back to top |
|
 |
NothingToShow Grandmaster Cheater Supreme
Reputation: 0
Joined: 11 Jul 2007 Posts: 1579
|
Posted: Fri Nov 30, 2007 3:20 pm Post subject: |
|
|
Its Code: | Shockwaveflash1.Movie |
Not
Code: | Shockwaveflash1.LoadMovie |
|
|
Back to top |
|
 |
xXx123 Expert Cheater
Reputation: 0
Joined: 27 Sep 2007 Posts: 118
|
Posted: Fri Nov 30, 2007 3:26 pm Post subject: |
|
|
still does compile error
|
|
Back to top |
|
 |
NothingToShow Grandmaster Cheater Supreme
Reputation: 0
Joined: 11 Jul 2007 Posts: 1579
|
Posted: Fri Nov 30, 2007 3:38 pm Post subject: |
|
|
xXx123 wrote: | still does compile error |
What error?
|
|
Back to top |
|
 |
xXx123 Expert Cheater
Reputation: 0
Joined: 27 Sep 2007 Posts: 118
|
Posted: Fri Nov 30, 2007 3:40 pm Post subject: |
|
|
Moller wrote: | xXx123 wrote: | still does compile error |
What error? | syntax error
|
|
Back to top |
|
 |
NothingToShow Grandmaster Cheater Supreme
Reputation: 0
Joined: 11 Jul 2007 Posts: 1579
|
Posted: Fri Nov 30, 2007 3:46 pm Post subject: |
|
|
It should work
This is the code I just tested
Code: | Game.Movie = "JustSomeTextHere"
Game.Movie = "http://www.spillesiden.dk/swf/1990.swf" |
The SWF is for Sinjid. Lol
|
|
Back to top |
|
 |
xXx123 Expert Cheater
Reputation: 0
Joined: 27 Sep 2007 Posts: 118
|
Posted: Fri Nov 30, 2007 3:51 pm Post subject: |
|
|
doesnt work... omg i cant belive it its just a simple code!
it gives me a run time error it says object is missing
|
|
Back to top |
|
 |
NothingToShow Grandmaster Cheater Supreme
Reputation: 0
Joined: 11 Jul 2007 Posts: 1579
|
Posted: Fri Nov 30, 2007 3:55 pm Post subject: |
|
|
Hmm. Whats the name of your Flash component?
On the example I made, the name is Game.
|
|
Back to top |
|
 |
xXx123 Expert Cheater
Reputation: 0
Joined: 27 Sep 2007 Posts: 118
|
Posted: Fri Nov 30, 2007 3:57 pm Post subject: |
|
|
never mind im so dumb!... thanks for the help
Last edited by xXx123 on Fri Nov 30, 2007 4:00 pm; edited 1 time in total |
|
Back to top |
|
 |
NothingToShow Grandmaster Cheater Supreme
Reputation: 0
Joined: 11 Jul 2007 Posts: 1579
|
Posted: Fri Nov 30, 2007 3:58 pm Post subject: |
|
|
Button or menu, doesnt matter.
|
|
Back to top |
|
 |
xXx123 Expert Cheater
Reputation: 0
Joined: 27 Sep 2007 Posts: 118
|
Posted: Fri Nov 30, 2007 4:00 pm Post subject: |
|
|
Moller wrote: | Button or menu, doesnt matter. | nvm im so dumb XD thanks man!
|
|
Back to top |
|
 |
NothingToShow Grandmaster Cheater Supreme
Reputation: 0
Joined: 11 Jul 2007 Posts: 1579
|
Posted: Fri Nov 30, 2007 4:01 pm Post subject: |
|
|
xXx123 wrote: | Moller wrote: | Button or menu, doesnt matter. | nvm im so dumb XD thanks man! |
Uhm.. So you got it work?
|
|
Back to top |
|
 |
dnsi0 I post too much
Reputation: 0
Joined: 04 Jan 2007 Posts: 2674
|
Posted: Fri Nov 30, 2007 4:01 pm Post subject: |
|
|
Why do you need the call thingy?
|
|
Back to top |
|
 |
|