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 HELP!!!
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
ItachiReigns
Newbie cheater
Reputation: 0

Joined: 02 Nov 2007
Posts: 13

PostPosted: Thu Nov 15, 2007 6:02 pm    Post subject: VB6 HELP!!! Reply with quote

Im looking everywhere to find out a swf loading code(like for hacking Adventure quest and such) so i can load swf hacks

Im using VB6 not delphi
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: Thu Nov 15, 2007 8:18 pm    Post subject: Reply with quote

Code:
    ShockwaveFlash1.Base = "http://www.site.com/path/to/movie/"
    ShockwaveFlash1.Movie = "http://www.site.com/path/to/movie/movie.swf"
    ShockwaveFlash1.LoadMovie 0, ShockwaveFlash1.Movie


Make use of ShockwaveFlash1.FlashVars as needed, as well as the layer to load when using LoadMovie if you need to do custom things.

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

Joined: 02 Nov 2007
Posts: 13

PostPosted: Sat Nov 17, 2007 10:14 am    Post subject: Reply with quote

kk ty but how exactly could i do the layer thing or make the filepath start from the exe's directory?
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: Sat Nov 17, 2007 1:05 pm    Post subject: Reply with quote

Use App.Path to use the current program path.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
ItachiReigns
Newbie cheater
Reputation: 0

Joined: 02 Nov 2007
Posts: 13

PostPosted: Sat Nov 17, 2007 2:31 pm    Post subject: Reply with quote

so it would be like

ShockwaveFlash1.Base = "App.path\"
ShockwaveFlash1.Movie = "App.path\swf.swf"
ShockwaveFlash1.LoadMovie 0, swf.Movie
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: Sat Nov 17, 2007 3:12 pm    Post subject: Reply with quote

ItachiReigns wrote:
so it would be like

ShockwaveFlash1.Base = "App.path\"
ShockwaveFlash1.Movie = "App.path\swf.swf"
ShockwaveFlash1.LoadMovie 0, swf.Movie


No. It would be setup like this:

Code:

ShockwaveFlash1.Base = App.Path
ShockwaveFlash1.Movie = App.Path & "\swf.swf"
ShockwaveFlash1.LoadMovie 0, ShockwaveFlash1.Movie

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

Joined: 02 Nov 2007
Posts: 13

PostPosted: Sat Nov 17, 2007 7:17 pm    Post subject: Reply with quote

i tried this and it replaces the current swf movie with it...
help?
Back to top
View user's profile Send private message
TheLazyCat
Expert Cheater
Reputation: 0

Joined: 29 Sep 2007
Posts: 117
Location: My House with Milk

PostPosted: Sat Nov 17, 2007 8:59 pm    Post subject: Reply with quote

So You want to know how to add a layer over the base movie and load a swf onto it that connects with the base movie like a swf loader?
Back to top
View user's profile Send private message Send e-mail
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sun Nov 18, 2007 1:25 am    Post subject: Reply with quote

ItachiReigns wrote:
i tried this and it replaces the current swf movie with it...
help?


Your initial post asked how to load an SWF movie into the object, which is what was given to you. You need to be a bit more clear on your wants when posting requests. >.>

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

Joined: 02 Nov 2007
Posts: 13

PostPosted: Sun Nov 18, 2007 3:51 pm    Post subject: Reply with quote

sorry dude but i ment what TheLazyCat said
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Sun Nov 18, 2007 3:54 pm    Post subject: Reply with quote

Umm try using the loadmovie command
It might work
I think it's
shockwaveflash1.LoadMovie 1, swf.swf

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

Joined: 02 Nov 2007
Posts: 13

PostPosted: Sun Nov 18, 2007 8:10 pm    Post subject: Reply with quote

THANKS it worked but how do you unload it?
Back to top
View user's profile Send private message
Pseudo Xero
I post too much
Reputation: 0

Joined: 16 Feb 2007
Posts: 2607

PostPosted: Sun Nov 18, 2007 9:34 pm    Post subject: Reply with quote

ItachiReigns wrote:
THANKS it worked but how do you unload it?

Flash.LoadMovie(1, vbNullString)

_________________
haxory' wrote:
can't VB do anything??
windows is programmed using VB right? correct me if im wrong.

so all things in windows you have like the start menu is a windows form too.
Back to top
View user's profile Send private message
ItachiReigns
Newbie cheater
Reputation: 0

Joined: 02 Nov 2007
Posts: 13

PostPosted: Sun Nov 18, 2007 10:52 pm    Post subject: Reply with quote

so like Flash.LoadMovie(1, vbNullString) then it says = expected?
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: Sun Nov 18, 2007 11:06 pm    Post subject: Reply with quote

ItachiReigns wrote:
so like Flash.LoadMovie(1, vbNullString) then it says = expected?


Remove the parenthesis:

Code:
Flash.LoadMovie 1, vbNullString

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
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