I am opening a pop up windows with javascript from my Flash movie that works fine. Each opening window has a video in it. Now what I'd like to do is add text under/above the quick time movie inside the pop up windows. I'm not very savvy with programming and I've tried to look all over but can't find a simple direct answer, so any help would be greatly appreciated.
Thanks!
Here's the code I have inside the Flash movie:
btn_rebecca.onRelease = function() {
getURL("java script:openNewWindow('Videos/rebecca.mov','thewin','width=500,height=400,toolbar=no,scrollbars=no')");
}
And here's the code I have in the html:
<script language="Javascript">
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>
adding text to javascript pop up window from Flashneed help in adding text to javascript pop up windows that are being o
Page 1 of 1
1 Replies - 1537 Views - Last Post: 26 March 2009 - 11:19 AM
Replies To: adding text to javascript pop up window from Flash
#2
Re: adding text to javascript pop up window from Flash
Posted 26 March 2009 - 11:19 AM
If you want to have text with your movie you will have to change it so you have the .mov embeded in an HTML file and have text above/ below the embeded movie.
Your final actionscript will look something like so:
Where rebeccaMovie.html is the file I outlined above.
Hope that helps.
Your final actionscript will look something like so:
getURL("java script:openNewWindow('Videos/rebeccaMovie.html','thewin','width=500,height=400,toolbar=no,scrollbars=no')");
Where rebeccaMovie.html is the file I outlined above.
Hope that helps.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|