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 


I need help, VB6 >> Making a button to open THIS flash
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
dr_franitc
Newbie cheater
Reputation: 0

Joined: 15 Nov 2007
Posts: 21

PostPosted: Mon Nov 19, 2007 5:39 am    Post subject: I need help, VB6 >> Making a button to open THIS flash Reply with quote

Alright, I need to open this flash with a button. I know it's something like Call Flash1.gotoAndPlay (7) or something.

http://www.ytv.com/sitekick/chipDispenser2_dead.swf?l=&pid=177&hasChip=1

See how u click the green button? It opens.. well how can I make a button in VB6 that will open it?

The movieclip is >

disp (the main mc) > door (the part that flips) > Frame 7 (open stage)

Thanks for your help.. I just need to know how to get into a movieclip with VB6 commands pretty much.

Sincerly,
Dr.Franitc
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Mon Nov 19, 2007 6:42 am    Post subject: Reply with quote

It's not gotoAndPlay, that's actionscript

Try the target commands (Like T~~~~~)

_________________
Back to top
View user's profile Send private message
Pepsiguy
I post too much
Reputation: 0

Joined: 16 Aug 2007
Posts: 2016

PostPosted: Mon Nov 19, 2007 1:57 pm    Post subject: Reply with quote

thats not visual basic its from flash/action script so SITEKICKFAG anywayz.... no its only possible in flaSH
_________________
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Mon Nov 19, 2007 2:00 pm    Post subject: Reply with quote

You can try using GotoFrame such as:

Code:
    ShockwaveFlash1.LoadMovie 0, "http://www.moviesite.com/movie.swf"
    ShockwaveFlash1.GotoFrame 7


Change the layer in LoadMovie to the needed layer in your player.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
dr_franitc
Newbie cheater
Reputation: 0

Joined: 15 Nov 2007
Posts: 21

PostPosted: Mon Nov 19, 2007 2:51 pm    Post subject: Reply with quote

Wiccaan > Thanks, I see it loads it. But how would i make it open it. Since I have the MC. MC Lables are disp - door - (Frame 7)

So I want to make it go to frame 7.. not the movie it's self but the door should go to frame 7.

Thank you,
Dr_franitc

Pepsi > Well no duh. I know that, I was just pretty much taking what someone else told me!
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Mon Nov 19, 2007 3:01 pm    Post subject: Reply with quote

From the other topic, not sure if you did it correctly, but try this
Code:
shockwaveflash1.TCallFrame("_root.disp.door", 7)


If that doesn't work, try this
Code:
shockwaveflash1.TSetProperty("_root.disp.door", 4, 7)


If they both don't work, try using /disp.door and that

_________________
Back to top
View user's profile Send private message
dr_franitc
Newbie cheater
Reputation: 0

Joined: 15 Nov 2007
Posts: 21

PostPosted: Mon Nov 19, 2007 3:10 pm    Post subject: Reply with quote

It gives me the syntax error when I try those...

Can u fiddle around with it? I put the command on, but it never works.'

U want me to put it on a command button right??

Thanks,
Dr_franitc
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Mon Nov 19, 2007 3:16 pm    Post subject: Reply with quote

Yea
It should work, unless you are telling me the wrong movieclip
Have you tried the /_root thingy?
Try a few combinations

Oh wait, try _disp.whatever

_________________
Back to top
View user's profile Send private message
dr_franitc
Newbie cheater
Reputation: 0

Joined: 15 Nov 2007
Posts: 21

PostPosted: Mon Nov 19, 2007 3:49 pm    Post subject: Reply with quote

Alright.. I am confused.. Can u write the script please?

_root.disp.door? /disp.door? huh??

The MC name? Or the MC Lable?

And instead of frame 7, the frame lable (anchor) is 'open'

Thanks again,
Dr.F
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Mon Nov 19, 2007 3:50 pm    Post subject: Reply with quote

Ok I don't think you are explaining right
Can you attach an fla

_________________
Back to top
View user's profile Send private message
dr_franitc
Newbie cheater
Reputation: 0

Joined: 15 Nov 2007
Posts: 21

PostPosted: Mon Nov 19, 2007 3:54 pm    Post subject: Reply with quote

Blader.. did you get the file?? Can you help?
-Dr.f



The Extension 'zip' was deactivated by an board admin, therefore this Attachment is not displayed.

Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Mon Nov 19, 2007 9:20 pm    Post subject: Reply with quote

dr_franitc wrote:
It gives me the syntax error when I try those...

Can u fiddle around with it? I put the command on, but it never works.'

U want me to put it on a command button right??

Thanks,
Dr_franitc


The Syntax error is cause you have ( ) in the line without it using equals. Instead, write it like this:

Code:
ShockwaveFlash1.TCallFrame "disp.door", 7


I can't tell you for sure what the string needs to be as I don't know what video you are talking about, and I'm not sure if that will even work. (I'm not a flash person.)

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
dr_franitc
Newbie cheater
Reputation: 0

Joined: 15 Nov 2007
Posts: 21

PostPosted: Tue Nov 20, 2007 5:25 am    Post subject: Reply with quote

What do u mean 'video'?? Hmm. It still doesn't work. I feel that it's reallllly close!

Hmm.. any other ideas?

It seems to not like 'TCallFrame' maybe anotehr command?

Hmm
Thanks though!
-Dr.F
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Tue Nov 20, 2007 5:27 am    Post subject: Reply with quote

I think this fla is not the same names as the other, cuz I can't find disp
_________________
Back to top
View user's profile Send private message
dr_franitc
Newbie cheater
Reputation: 0

Joined: 15 Nov 2007
Posts: 21

PostPosted: Tue Nov 20, 2007 5:55 am    Post subject: Reply with quote

Yes you can. Click on err. what now 1 sec.

Click the main movieclip, it's lable is disp. Inside, click the yellow part that rotates, it's called door.

Do u mean lables? Or Movieclip names?

edit* If you mean Movieclip names.. 'disp' is Sprite 108 'door' is Sprite 45
And do u have MSN? It'd probably be easier to do this over MSN.
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