| View previous topic :: View next topic |
| Author |
Message |
Never Again I post too much
Reputation: 0
Joined: 13 Jan 2007 Posts: 2000 Location: New Mexico
|
Posted: Wed Oct 03, 2007 10:17 pm Post subject: How to Open .SWF File from a Folder onto Project? (Delphi) |
|
|
I want to know how to load a .SWF File or anyfile from a different directory from my CP onto a Delphi Project (Specifically a trainer) like most DF Trainers so can anybody show me an example how I would do it in code?
Thanks.
|
|
| Back to top |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
Posted: Thu Oct 04, 2007 6:36 am Post subject: |
|
|
here:
| Code: | procedure TForm1.FormCreate(Sender: TObject);
begin
ShockwaveFlash1.LoadMovie(0,'C:\Documents and Settings\Yuval\Desktop\mammyblue2.swf');
end; |
|
|
| Back to top |
|
 |
Never Again I post too much
Reputation: 0
Joined: 13 Jan 2007 Posts: 2000 Location: New Mexico
|
Posted: Thu Oct 04, 2007 6:40 am Post subject: |
|
|
| What if another person has the swf in another location other than the desktop?
|
|
| Back to top |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
Posted: Thu Oct 04, 2007 6:43 am Post subject: |
|
|
| Never Again wrote: | | What if another person has the swf in another location other than the desktop? |
| Code: | procedure TForm1.Button1Click(Sender: TObject);
begin
ShockwaveFlash1.LoadMovie(0,'Edit1.text');
end; |
the user need to put the full path of the fill in edit1
|
|
| Back to top |
|
 |
Never Again I post too much
Reputation: 0
Joined: 13 Jan 2007 Posts: 2000 Location: New Mexico
|
Posted: Thu Oct 04, 2007 6:45 am Post subject: |
|
|
| Oh alright thx.
|
|
| Back to top |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
Posted: Thu Oct 04, 2007 6:45 am Post subject: |
|
|
anytime
|
|
| Back to top |
|
 |
Never Again I post too much
Reputation: 0
Joined: 13 Jan 2007 Posts: 2000 Location: New Mexico
|
Posted: Thu Oct 04, 2007 6:47 am Post subject: |
|
|
| Wait, 1 more thing do they have to do that for EVERY Swf they use or can they just do the 1 specific location that goes to the same folder with the swf's?
|
|
| Back to top |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
|
| Back to top |
|
 |
Never Again I post too much
Reputation: 0
Joined: 13 Jan 2007 Posts: 2000 Location: New Mexico
|
Posted: Thu Oct 04, 2007 7:08 am Post subject: |
|
|
Ok but I want the swf to load ON the movie and the code your gave me loads the whole swf. Watch see how this trainer loads the swf from 1 file ONTO the movie and you can move the whole folder anywhere and not have to change the swf location.
http://forum.cheatengine.org/viewtopic.php?t=137614
|
|
| Back to top |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
|
| Back to top |
|
 |
Never Again I post too much
Reputation: 0
Joined: 13 Jan 2007 Posts: 2000 Location: New Mexico
|
Posted: Thu Oct 04, 2007 12:53 pm Post subject: |
|
|
| Oh alright thx, how would I be able to move the folder anywhere and the trainer will still load from where it's at without changing directory?
|
|
| Back to top |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
|
| Back to top |
|
 |
Never Again I post too much
Reputation: 0
Joined: 13 Jan 2007 Posts: 2000 Location: New Mexico
|
Posted: Sat Oct 06, 2007 9:55 am Post subject: |
|
|
| Since I can't do it in Delphi then what about VB6?
|
|
| Back to top |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
Posted: Sat Oct 06, 2007 10:16 am Post subject: |
|
|
| You can do it with delphi.
|
|
| Back to top |
|
 |
|