WebGUI
      Click here to register.
      
Sprechen Sie WebGUI? Parlez vous WebGUI? Se habla WebGUI? Spreekt u WebGUI?

Do you speak WebGUI? Please help us translate WebGUI into your language.


Flash Macro

User: rjacobsen@mediak.com
Date: 3/16/2007 10:29 am
Views: 1487
Rating: -4    Rate [
|
]

You simply use this macro as follows:

Simply place the following code into your html:

^Flash("/images/yourFile.swf",200,30,"8,0,0,0","inputTxt=^D("%c %D, %y");");

What this allows you to do is add additional information/variables to the flash code without rewriting it time and time again.

In the code above it breaks up as follows:

^Flash("the file location",width,height,"flash version","additional variable(ie. the variable above passes the date macro into my flash object to a dynamic text box)");

The nice thing about this macro is you can plug in as many additional variables as you need.

PS: I have also included the .js file we use to make this macro work at its full potential. You will have to put the following code right before the closing body tag on any page you use this macro on for it to use the .js file...

Put the following code before the closing body tag:
<script language="JScript" type="text/jscript" src="/images/ClickFix.js"></script>

*Note: You will have to change the src to where you have the ClickFix.js located



Replies

Re: Flash Macro
User: scslowik
Date: 3/23/2007 12:00 pm
Rating: 7    Rate [
|
]
Status: Approved
We am using CoffeeCup WebVideoPlayer / Flash Creator.

It requires that we upload myvideoplayer.swf, myvideoplayer.xml,
myvideoplayer.html and the support files under
/myvideo_files/(background images (jpgs) and .flv files).

I would like to upload the files as WebGUI (7.3.13) assets (and use them with
your Flash.pm.
We added Flash.pm to the Macros directory and added Flash to the config file.
It seems that it may be a file path/access issue, but we can't seem to get it working.

Any suggestions?

Re: Flash Macro
User: dionak
Date: 6/12/2007 1:07 pm
Rating: 7    Rate [
|
]
Status: Approved
Did you restart the server?

PreviousBackNext