Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


vb6 question
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
xXx123
Expert Cheater
Reputation: 0

Joined: 27 Sep 2007
Posts: 118

PostPosted: Fri Nov 30, 2007 2:55 pm    Post subject: vb6 question Reply with quote

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
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Fri Nov 30, 2007 3:02 pm    Post subject: Reply with quote

shockwaveflash1.LoadMovie 0, " "
Call shockwaveflash1.LoadMovie 0, "swf here"

_________________
Back to top
View user's profile Send private message
xXx123
Expert Cheater
Reputation: 0

Joined: 27 Sep 2007
Posts: 118

PostPosted: Fri Nov 30, 2007 3:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
NothingToShow
Grandmaster Cheater Supreme
Reputation: 0

Joined: 11 Jul 2007
Posts: 1579

PostPosted: Fri Nov 30, 2007 3:20 pm    Post subject: Reply with quote

Its
Code:
Shockwaveflash1.Movie

Not
Code:
Shockwaveflash1.LoadMovie
Back to top
View user's profile Send private message
xXx123
Expert Cheater
Reputation: 0

Joined: 27 Sep 2007
Posts: 118

PostPosted: Fri Nov 30, 2007 3:26 pm    Post subject: Reply with quote

still does compile error
Back to top
View user's profile Send private message
NothingToShow
Grandmaster Cheater Supreme
Reputation: 0

Joined: 11 Jul 2007
Posts: 1579

PostPosted: Fri Nov 30, 2007 3:38 pm    Post subject: Reply with quote

xXx123 wrote:
still does compile error

What error?
Back to top
View user's profile Send private message
xXx123
Expert Cheater
Reputation: 0

Joined: 27 Sep 2007
Posts: 118

PostPosted: Fri Nov 30, 2007 3:40 pm    Post subject: Reply with quote

Moller wrote:
xXx123 wrote:
still does compile error

What error?
syntax error
Back to top
View user's profile Send private message
NothingToShow
Grandmaster Cheater Supreme
Reputation: 0

Joined: 11 Jul 2007
Posts: 1579

PostPosted: Fri Nov 30, 2007 3:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
xXx123
Expert Cheater
Reputation: 0

Joined: 27 Sep 2007
Posts: 118

PostPosted: Fri Nov 30, 2007 3:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
NothingToShow
Grandmaster Cheater Supreme
Reputation: 0

Joined: 11 Jul 2007
Posts: 1579

PostPosted: Fri Nov 30, 2007 3:55 pm    Post subject: Reply with quote

Hmm. Whats the name of your Flash component?
On the example I made, the name is Game.
Back to top
View user's profile Send private message
xXx123
Expert Cheater
Reputation: 0

Joined: 27 Sep 2007
Posts: 118

PostPosted: Fri Nov 30, 2007 3:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
NothingToShow
Grandmaster Cheater Supreme
Reputation: 0

Joined: 11 Jul 2007
Posts: 1579

PostPosted: Fri Nov 30, 2007 3:58 pm    Post subject: Reply with quote

Button or menu, doesnt matter.
Back to top
View user's profile Send private message
xXx123
Expert Cheater
Reputation: 0

Joined: 27 Sep 2007
Posts: 118

PostPosted: Fri Nov 30, 2007 4:00 pm    Post subject: Reply with quote

Moller wrote:
Button or menu, doesnt matter.
nvm im so dumb XD thanks man!
Back to top
View user's profile Send private message
NothingToShow
Grandmaster Cheater Supreme
Reputation: 0

Joined: 11 Jul 2007
Posts: 1579

PostPosted: Fri Nov 30, 2007 4:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Fri Nov 30, 2007 4:01 pm    Post subject: Reply with quote

Why do you need the call thingy?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites