| View previous topic :: View next topic |
| Author |
Message |
dr_franitc Newbie cheater
Reputation: 0
Joined: 15 Nov 2007 Posts: 21
|
Posted: Sat Nov 24, 2007 7:13 am Post subject: Making a custom SWF Loader??? ~VB6 |
|
|
Alright, thanks blader for showing me how!
I know that this probably isn't for VB6 but. Is there a way I can change what loads on a page? Like say www.website.com/website/animation.swf usually loads. Can I switch it to www.webiste.com/website/stick.swf
or something like that?
thanks,
Dr.F
Last edited by dr_franitc on Sat Nov 24, 2007 11:55 am; edited 1 time in total |
|
| Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Sat Nov 24, 2007 7:22 am Post subject: |
|
|
shockwaveflash1.loadmovie 1, swf.swf
Try that
And to remove, I think you just make it blank
shockwaveflash1.loadmovie 1, ""
_________________
|
|
| Back to top |
|
 |
NothingToShow Grandmaster Cheater Supreme
Reputation: 0
Joined: 11 Jul 2007 Posts: 1579
|
Posted: Sat Nov 24, 2007 8:00 am Post subject: |
|
|
| Code: | | Call ShockwaveFlash1.LoadMovie(1, App.Path & "\SWF_NAME.swf") |
This loads a SWF file from the applications path.
|
|
| Back to top |
|
 |
dr_franitc Newbie cheater
Reputation: 0
Joined: 15 Nov 2007 Posts: 21
|
Posted: Sat Nov 24, 2007 11:39 am Post subject: |
|
|
Thanks.. But how do I make it so I can browse from the EXE file. Like, a search thing comes up so I can select the file I want.
so it's like:
Browse _____________________________
And then u can choose the file.
Thanks again,
Dr.F
|
|
| Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Sat Nov 24, 2007 11:40 am Post subject: |
|
|
You mean common dialog?
_________________
|
|
| Back to top |
|
 |
dr_franitc Newbie cheater
Reputation: 0
Joined: 15 Nov 2007 Posts: 21
|
Posted: Sat Nov 24, 2007 11:40 am Post subject: |
|
|
| Pretty much
|
|
| Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Sat Nov 24, 2007 11:44 am Post subject: |
|
|
Here
| Code: | CommonDialog1.ShowOpen
Form1.flash1.LoadMovie 1, CommonDialog1.FileName |
It should work
Also, you need to use the component "Microsoft Common Dialog Controls" I think
_________________
|
|
| Back to top |
|
 |
dr_franitc Newbie cheater
Reputation: 0
Joined: 15 Nov 2007 Posts: 21
|
Posted: Sat Nov 24, 2007 11:47 am Post subject: |
|
|
| Alas! It works! THANKS!
|
|
| Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Sat Nov 24, 2007 11:49 am Post subject: |
|
|
No problem
(Lol you need to learn something on your own, you've asked like 3 questions and I answered all of em )
_________________
|
|
| Back to top |
|
 |
dr_franitc Newbie cheater
Reputation: 0
Joined: 15 Nov 2007 Posts: 21
|
Posted: Sat Nov 24, 2007 1:31 pm Post subject: |
|
|
How can I change what loads? Does Firefox do that? Tamper Data..
Thanks,
Dr.F
|
|
| Back to top |
|
 |
Pseudo Xero I post too much
Reputation: 0
Joined: 16 Feb 2007 Posts: 2607
|
Posted: Sat Nov 24, 2007 1:41 pm Post subject: |
|
|
| Blader wrote: | Here
| Code: | CommonDialog1.ShowOpen
Form1.flash1.LoadMovie 1, CommonDialog1.FileName |
It should work
Also, you need to use the component "Microsoft Common Dialog Controls" I think |
He should try to learn this on his own.
_________________
| 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 |
|
 |
dr_franitc Newbie cheater
Reputation: 0
Joined: 15 Nov 2007 Posts: 21
|
Posted: Sat Nov 24, 2007 1:42 pm Post subject: |
|
|
I already figured the last part of it out lol. I'm just new with VB6.
All I wanna know now is how to change what loads.
|
|
| Back to top |
|
 |
Pseudo Xero I post too much
Reputation: 0
Joined: 16 Feb 2007 Posts: 2607
|
Posted: Sat Nov 24, 2007 1:45 pm Post subject: |
|
|
| dr_franitc wrote: | I already figured the last part of it out lol. I'm just new with VB6.
All I wanna know now is how to change what loads. |
Yes, but you could of found that out with searching, or looking at the properties for controls in VB.
_________________
| 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 |
|
 |
dr_franitc Newbie cheater
Reputation: 0
Joined: 15 Nov 2007 Posts: 21
|
Posted: Sat Nov 24, 2007 1:46 pm Post subject: |
|
|
I actually can't use VB6 Help topics or anything. It's missing the dll or something... That's why I post here. the VB forums are no good, they don't reply. Here is a great place, and some smart people!
-Dr.F
|
|
| Back to top |
|
 |
|