Hi all,
I know this isnt a vb question sorry! :(
How can you put Flash in the background of an html page?
It's always on top and stuffs the menu's up!
thanks for any help!
b :(
Printable View
Hi all,
I know this isnt a vb question sorry! :(
How can you put Flash in the background of an html page?
It's always on top and stuffs the menu's up!
thanks for any help!
b :(
I think you need to lookup either the ZOrder or Z-Index / ZIndex methods - try msdn for this.
you have to use Layersto accomplish this... or an iframe.. .try the iframe first... i havent tried it out myself yet tho
How can I let Flash open a VBscript? Flash Also should pass a parameter to the script? Is This possible?
I accomplished it by:
<param name="wmode" value="transparent">
But apparently netscape doesnt like this! :(
So alex or Colnel Klink could you explain a bit more please?
thanks guys
b :)
Flash is always on topmost, you can only use layers to get around this in html.
Any good html editor can help you there.
Macromedia dreamweaver does the job perfectly.
make flash open a vb script? almost sounds sinister, hehe.
get flash to send an FSCommand to execute your script.
There are several Ways to accomplish ordering with HTML.
First off, the Layer tag or Div tag which was mentioned. IE supports the Div tag, Netscape supports the Layer tag, but they are basically the same thing. Imagine a separate browser document which is transparent & overlayed ontop of your current one, this other document or window is what this tag is.
Next up, the indexing, like with vb, every webpage element has a zorder number which positions it on the page, I think if element1 has a zorder of 0, and element2 has a zorder of 1, the element with the highest zorder number will be shown topmost on the webpage document (I think that's the right way round)! :DCode:<div id="divName" style="WIDTH:100%; POSITION:relative; HEIGHT:400px">
<ElementHere>
</DIV>
The ZOrder and ZIndex are virtually the same thing, I haven't got the app with me where I used this, but I think it's something like:
Code:img id="imgSample1" Src="images\WhiteCastle.gif" Style="ZIndex:0">
My brother is making a site in flash And he want me to write a script to print textfiles with lyrics, so nothing illegal.
I try the FSCommand thanks
robbedaya, with vbs, you can create procedures as you would in normal vb:
So yes it's pssible to pass parameters in & use them, I can't tell you how to call this from flash though as I've never dealt with that. :)Code:Sub ShowMessage(strTextValueToShow as string)
Msgbox strTextValueToShow
End Sub