| View previous topic :: View next topic |
| Author |
Message |
Jestem Newbie
Joined: 15 Aug 2003 Posts: 7
|
Posted: Fri Aug 15, 2003 10:40 pm Post subject: BROWSER with swf flash |
|
|
Is there a way to communicate between a flash movie within BROWSER element and vds program? Perhaps with FS command?
And if not, how about javaScript? I am basically looking for a way to call a label within VDS script with BROWSER element, with a script within the browser.
Thanks,
-j |
|
| Back to top |
|
 |
marty Professional Member


Joined: 10 May 2001 Posts: 789
|
Posted: Sat Aug 16, 2003 12:20 am Post subject: |
|
|
Well you could use the VDSSWFLA Extension, which is a Macromedia Flash DLL for VDS.. I still havent updated it to support for VDS 5 but will during september. VDSSWFLA will be re-release then. It will let you add a Flash Objecdt to your VDS Dialog and control it via VDS.
Stay tuned...
Will post it when its ready... |
|
| Back to top |
|
 |
Jestem Newbie
Joined: 15 Aug 2003 Posts: 7
|
Posted: Sat Aug 16, 2003 8:16 am Post subject: |
|
|
| marty wrote: | Well you could use the VDSSWFLA Extension, which is a Macromedia Flash DLL for VDS.. I still havent updated it to support for VDS 5 but will during september. VDSSWFLA will be re-release then. It will let you add a Flash Objecdt to your VDS Dialog and control it via VDS.
Stay tuned...
Will post it when its ready... |
Hehe yea, I got pretty excited to see the flash control, but then noticed it was pulled out. Looking forward to the re-release! |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
Jestem Newbie
Joined: 15 Aug 2003 Posts: 7
|
Posted: Tue Aug 19, 2003 6:35 pm Post subject: |
|
|
| Skit3000 wrote: | | It can also be done by using Javascript calls. Just make some 'functions' in the SWF file, and then 'browse' to them by sending this as a URL to the browser command: |
Yea, this works well for one-way communication (vds -> swf), but there still isn't a way to communicate from swf/javascript back to vds.
Vdsfla extension is the perfect solution though, it supports sending and retrieving variables from within swf movie. |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Tue Aug 19, 2003 7:25 pm Post subject: |
|
|
I made a solution for that, just make a Javascript function which will copies the variable to the clipboard, and load it with VDS.
| Code: | %%clipboard = @clipboard()
browser set,javascript:setdatatoclipboard()
%%flashvalue = @clipboard()
clipboard set,%%clipboard |
You should search for some code to set the clipboard content in VDS, I don't have it available right now...  _________________ [ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial! |
|
| Back to top |
|
 |
Jestem Newbie
Joined: 15 Aug 2003 Posts: 7
|
Posted: Tue Aug 19, 2003 7:35 pm Post subject: |
|
|
| Skit3000 wrote: | I made a solution for that, just make a Javascript function which will copies the variable to the clipboard, and load it with VDS.
You should search for some code to set the clipboard content in VDS, I don't have it available right now...  |
Ha! Nice. I didn't think about the clipboard. It's a hack, but I guess it would do the job  |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
Jestem Newbie
Joined: 15 Aug 2003 Posts: 7
|
Posted: Tue Aug 19, 2003 7:52 pm Post subject: |
|
|
Actually, your clipboard idea inspired me to yet another way of doing it. With your HTA support script (nice, btw), use the FileSystemObject ActiveX object inside JScript to read/write to a text file, and use that as a gateway between vds/jscript. Also a hack, but doesn't have any limitations.
Though I think I'll stick with vdsfla; seems like much cleaner way of doing things.
-j |
|
| Back to top |
|
 |
marty Professional Member


Joined: 10 May 2001 Posts: 789
|
Posted: Tue Aug 19, 2003 7:55 pm Post subject: |
|
|
| Just to let you know that HTA scripts are blocked sometimes when the users has Norton or something else, as well as Activex controls by IE. |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Tue Aug 19, 2003 10:20 pm Post subject: |
|
|
| Skit3000 wrote: | You should search for some code to set the clipboard content in VDS, I don't have it available right now...  |
Do you mean like this?
| Code: | | clipboard set,mytext |
_________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
|