WHEN I'M PUBLISHING A FLASH - .SWF FILE IN HTML,
I'M GETTING IN WINDOWS THE NOTE:
"CLICK TO ACTIVATE AND USE THIS CONTROL"
AND MY QUESTION IS, HOW DO I GET A ROUND THAT ???
I SEE MANY WEB SITE THAT USE FLASH, AND DOESN'T NEED TO CLICK TO ACTIVATE THE CONTROL, EVEN WHEN I BROWSE WITH WINDOWS
I'M NOT MUCH OF AN EXPERT SO I HOPE THAT THE PEOPLE HERE THAT ARE KNOWN AND WILLING TO HELP WILL MAKE IT SIMPLE
BY THE WAY I TRIED THE swfobject_source.js THAT WHERE PUBLISH HERE
BUT IT DIDN'T HELP ME..
SOOO PLAESE HELP....
THANKS
OFIR
8 1951
I heard (I've never tried) that you have to create the object by a script (js) loaded in an external file (<script src="..."></script>).
Let me know if it works, please.
That's what i tried to do with the file that i got in this site:
"swfobject_source.js"
you can see in the code, but i dont know if this is the answer, and if so what am I doing wrong...
Thanks for your comment -
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-
<html xmlns="http://www.w3.org/1999/xhtml">
-
-
<head>
-
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-
-
<title>:: PAULINE NG ::</title>
-
-
<script type="text/javascript" src="Htm/js/swfobject_source.js"></script>
-
-
</head>
-
-
-
-
<body >
-
-
-
-
<center>
-
-
-
-
-
-
<div id="flashcontent" align="center">
-
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="750" height="128">
-
<param name="movie" value="../Flash/dack_lightgray.swf" />
-
<param name="quality" value="high" />
-
<embed src="../Flash/dack_lightgray.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="750" height="128"></embed>
-
</object>
-
</div>
-
-
-
<script type="text/javascript">
-
-
var so = new SWFObject("dack_lightgray.swf", "mymovie", "#EADBBF");
-
-
so.write("flashcontent");
-
-
</script>
-
1 - swfobject_source.js, you didn't give me the whole url.
2 - I understand that you're inserting twice the flash object :
- line 28 : embeded in the html main page
- line 38 : I imagine that it uses a class declared in the imported script. But you give no path, only the file name :
var so = new SWFObject("dack_lightgray.swf", "mymovie", "#EADBBF");
so.write("flashcontent");
I don't know, maybe it helps you.
There are six required attributes - you've only provided 3.
thanks..its not that my friend..
vituko i see what you mean when you said i load it 2 times,
and the thing is that this way i don't need the external code cause seeing the swf wasn't the problem at first place so i don't know way they did it in the example in the link that i wrote before, any way without the regaler flash code i cant see the application at all...
ok still looking for the right answer some where over the rainbow....
In the first case you use the full path (../Flash/dack_lightgray.swf), and in the second one (with the script), only the file name (dack_lightgray.swf, I've already said it you).
The six first arguments of the constructor seem needed...
Use the js console, firebug...
I've seen it working by googling... good luck!!
In Spain it's time to go home, I'll look tomorrow
Found your good samaritan ofir. =)
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Yoni Rapoport |
last post by:
Hy everyone, just wanted to share a thought regarding UI.
If you really think about it, events such as "Click", "DoubleClick",
"KeyDown", "KeyUp", etc... (which clutter every winforms control we...
|
by: Al Christoph |
last post by:
I have a program that mixes wizard like behavior with random access to the
various dialogs in the wizard. I do this by having each step map to a
toolstripmenuitem. Users can randomly choose the...
|
by: Quentin Huo |
last post by:
Hi:
In my page, there is a user control and there are some actions in the user
control like "save", "delete",...which are the control <asp:button
onclick="btSave_Click" ......>. And there are...
|
by: JohnR |
last post by:
In it's simplest form, assume that I have created a usercontrol,
WSToolBarButton that contains a button. I would like to eventually create
copies of WSToolBarButton dynamically at run time based...
|
by: Ben |
last post by:
Hello
I have frames set up in an asp.net application and need one frame to refresh
another. Seeing as events need to be registered at the time the page is sent
from the server, I was wondering...
|
by: the_grove_man |
last post by:
How do I invoke a "Right-Click" Programmtically?
John
|
by: fniles |
last post by:
For IE users, we now encountered a "Click to activate and use this control"
when the web page has an ActiveX Control.
There is a compatibility patch that changes the default bahavior back to
what...
|
by: Simon |
last post by:
Dear reader,
How to start the event "Activate" in a report as the report is a sub report.
By opening the main report the event "Activate" in the sub report is not
actived..
Thanks for any...
|
by: ofir |
last post by:
WHEN I'M PUBLISH FLASH .SWF FILE IN HTML,
I'M GETTING IN WINDOWS THE NOTE:
"CLICK TO ACTIVATE AND USE THIS CONTROL"
AND MY QUESTION IS, HOW DO I GET A ROUND THAT ???
I SEE MANY WEB SITE THAT...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
| |