Right click on flash movie / SWF file
Why we get flash default menu when i right click on a flash
movie?.
When i enable video bookmark (videomark). user is suppose to
right click on flash movie and select videomark.
is the flash default menu is customizable?. Please let me
know.
Here is a sample script to customize the right-click menu.
Put it in frame 1 of your movie.
var myContextMenu = new ContextMenu();
myContextMenu.hideBuiltInItems();
var thisTitle:ContextMenuItem = new ContextMenuItem("My
prison movie", bla);
var thisCredit:ContextMenuItem = new ContextMenuItem("created
by Paris Hilton", bla, separatorBefore=true);
var thisCopyright:ContextMenuItem = new
ContextMenuItem("© My Intelligence Is Ltd.", bla);
myContextMenu.customItems.push(thisTitle);
myContextMenu.customItems.push(thisCredit);
myContextMenu.customItems.push(thisCopyright);
function bla() {
//insert your function here
this.menu = myContextMenu;
The function can be anything: getURL, load a movie clip, turn
sound on/off, etc. You can add as many ContextMenuItems as you
want. Each one can have a separate function assigned. It seems that
some sort of function is required by the class, so I use an empty
function like in this example if I want nothing to happen when the
user clicks the menu item.
Similar Messages
-
Playing Flash Movie .swf files in iWeb
This is my second post. The first was about generally not being able to publish my website in iWeb in Argentina. Discovered it was due to the 12 kilobytes a second upload speed!
This query is about trying to get a flash movie with .swf extension to play on my homepage in iWeb
www.edgold.co.uk
Ive made a flash movie on my girlfriends PC. Why? Because she has Flash installed.
Ive transferred it to my Mac and it plays with a programme I downloaded called SWF & FLV Player - no problem there. For the love of trying I cant get it to play.
Ive gone to 'Insert' in iWeb, clicked on Choose and selected the swf file. Ive put it in position on my homepage and published it. Then Ive opened the HTML page thats found in iDisk using TextEdit so that I can change the html to get the flash plug in to play it.
I found all the details on website by 'Vertical Moon'
http://www.verticalmoon.com/tutorials/general/iweb/iweb.htm
Ive followed every step to the letter but where they seem to slip up is that the swf file isnt played by QuickTime. QuickTime on my Mac doesnt want to know! If it was played by QT then I'd have a chance to change the html from 'writeMovie1()' to writeflash1() but there is no sign of that code in the html file let alone having to change it in JavaScript.
At the end of the day Ive got an swf file (Flash) that I want to stiuck on the front page of my website to play over and over. Ive spent over 18 hours on this non-stop and its time I called it a day.
Please can someone tell me how to get iWeb to make friends with it!
Ive looked at lost of other sites about free Video code generating but none of them work!
Cheers
Ed
(Im in Patagonia - documentary photographer...sorting a good site helps me secure sponsorship and future exhibition venues. Your help is appreciated!Alancito
Thanks for replying and the great info on getting a QuickTime to play automatically.
Please can you continue to help as Im having no luck.
I will write below briefly whats happening.
I made a QuickTime in iPhoto as was suggested. I dropped it into iWebs 'Media' button under the 'Movies' tab, in a folder. I then dropped the QT file onto my web home page. It shows with a control bar at the bottom of its window for playing it.
I published it OK. The live website shows the QuickTime movie BUT you have to click play to start it. So I then I opened the html file in iDisk in TextEdit.
I tried and tried to find the html code for the QT Movie. I read and re-read the whole html file from top to bottom and found no sign of the QT Movie. Then I went to 'Edit' and 'Find' in TextEdit and typed Movie. It came up with a bit of code which says writeMovie1();
I guess that this means it is talking about THE movie in question but there is no more code to
do with 'true' or 'false'. If it said false Id change to true but writeMovie1(); just looks like this:
<script type="text/javascript"><!--
writeMovie1();
--></script>
stuck almost at the bottom of the html file page.
Please help...remember Im using iWeb 06
Thanks...I hope Im close to solving this now. All I want is to play the QT automatically.
Ed -
How to detect end of flash movie (SWF file) in Javascript
I have used Dreamweaver CS4 to integrate my SWF file as shown
below. So far so good. See GoToNext()
my website
What I wouldd like to do is have the SWF movie trigger a
javascript function in my html page when the video is stopped
playing (i.e. when it is finished) There are no controlls in that
SWF file - it is basically am add banner. I would think this would
be easiest done by rasinng an event in SWF that is communicated to
javascript, where I can add an event listener, and thus trigger my
function.
How can this be done in the simplest way?
<div id="bodyFlash"
class="clearfloat"><p> </p>
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="760"
height="150" id="FlashID" title="Chillifire Banner">
<param name="movie" value="flash/chillifire.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="6.0.65.0" />
<!-- This param tag prompts users with Flash Player 6.0
r65 and higher to download the latest version of Flash Player.
Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall"
value="Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it
from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash"
data="flash/chillifire.swf" width="760" height="150">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="6.0.65.0" />
<param name="expressinstall"
value="Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative
content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of
Adobe Flash Player.</h4>
<p><a href="
http://www.adobe.com/go/getflashplayer"><img
src="
http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"
alt="Get Adobe Flash player" width="112" height="33"
/></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
...on the last frame in the banner file you can use the
ExternalInterface class to call a specific JS method, and even pass
data if needed. -
Title for Flash movie (Swf file)
Hi
I want to add any title for my flash movie, As we can add any
title in HTML page with "title tag".
Usually the file name of flash file show as title like
"abc.swf"
but i want here another title like " Welcome to my xyz"
anything else....
Can anybody help me getting its solution....
AlokWishing to do the same thing, I've explored this with Macromedia. It appears to be a licensing problem for the Flash 5 engine. Macromedia wants a commitment of several thousand dollars (like close to 6 figures) to license the engine for an application. That's for a single applicaiton, and not a generic toolkit like JMF. I assume Sun found the same thing and balked, understandably.
-
Embed Animated Flash Objects (*.swf file) in Oracle Forms.
Hello All,
To Embed Animated Flash Object (Shockwave *.swf File) in Oracle Forms, Please Follow the Steps Below.
1. Draw "ActiveX Control" Item on Canvas with the Name "OCXITM".
2. Select "ActiveX Control" Item & Go to its Properties (By Pressing F4).
3. Select "ShockwaveFlash.ShockwaveFlash" in "OLE Class" Property of "ActiveX Control" Item.
4. Come again to the Canvas.
5. Right Click on "ActiveX Control" Item, Select "Insert Object...".
6. In Control Type List, Select "Sockwave Flash Object" and Press "OK".
7. On Canvas, Select "ActiveX Control" Item, Go to "Program" Menu, Select "Import OLE Library Interfaces...".
8. Select All "Method Package(s)" & "Event Package(s)" for "ShockwaveFlash.ShockwaveFlash.X" & Press "OK".
9. Go to "Object Nevigator" (By Pressing F3) & Expand "Program Unit" to verify that the Packages are Successfully Imported.
10. Compile All the Objects (By Pressing "Ctrl+Shift+K").
11. In "WHEN-NEW-FORM-INSTANCE" Trigger Write the Below Code.
** Author : Muhammad Waseem Haroon *
** Dated : 07-Apr-2005 *
** Purpose : To Call Macromedia Flash Object (*.swf File) *
** Module : Logo *
DECLARE
oleitm OLEOBJ;
BEGIN
oleitm := :item('OCXITM').INTERFACE;
ShockwaveFlash_IShockwa_0.Movie(oleitm,'d:\movie.swf');--it can be dynamic.
END;12. Compile, Save & Run Your Form.... and... See the Beauty.
Thanks & Regards
Muhammad Waseem Haroon
[email protected]
[email protected]
[email protected]Mark Striekwold did an effort to put flash into forms
http://mark-oradev.blogspot.com/2010/02/flash-inside-oracle-forms.html
http://mark-oradev.blogspot.com/2010/02/flash-test-inside-oracle-forms-part-2.html
http://mark-oradev.blogspot.com/2010/04/flash-test-inside-oracle-forms.html -
How can I save a Flash or .swf file in AVI format without losing quality?
How can I save a Flash or .swf file in AVI (or another video) format without losing quality?
As long as you don't have code in your animation then just hit File->Export->Export Movie, then configure the options.
Here's an article on exporting sound, images and video. Just skip on down to exporting AVI and it explains the process. The codec is in the Video Compression section. When you click Settings for Video Compression, the codec is in the drop-down at the top. There's various kinds but to get lossless quality AVI you'll have to choose Uncompressed / None for full quality. Again, the file will be huge and you'll need to use another program (like Adobe Media Encoder) or Microsoft Windows Media Encoder, etc, depending on what format you intend to compress it ultimately.
http://helpx.adobe.com/flash/using/exporting.html#exporting_video_and_sound -
Hello-
If I right click over flash on a web page I get a menu that is in Chinese, while everything else in my system and my usage of the machine is in English. Is there a fix for this? I've heard of this on windows machines and the RavMonE virus, but I cannot find anything about it for the mac.
Many thanks-HI,
To put your mind at ease, there are no Mac viruses in the wild. The RavMonE file is .exe file which cannot be read or opened on a Mac unless you are running a Windows partition.
From the Safari Menu Bar, click Safari / Empty Cache. When you are done with that...
From the Safari Menu Bar, click Safari / Reset Safari. Select the top 5 buttons and click Reset.
And make sure Safari is not running in Rosetta. Right or control click the Safari icon in your Applications folder then click Get Info. In the Get Info window click the black disclosure triangle so it faces down. Where you see Open using Rosetta... make sure that is NOT selected.
Now try to right click Flash content... if you still see the Chinese dialog...
Try clearing your font cache.
Shut down your Mac.
Press the power button.
Immediately after you hear the startup tone, press and hold the Shift key.
Release the Shift key when you see the gray Apple and progress indicator. During startup in Mac OS X v10.4.x or later, you will see "Safe Boot" on the login window, even if normally you log in automatically. Boot time is a minute or two longer than a normal boot.
After your Mac boots to the Desktop restart the computer normally, without holding any keys during startup.
What this process does... It moves to the Trash all font caches normally stored in /Library/Caches/
Restart your Mac and see if that makes a difference.
Carolyn -
My Firefox v6.02 browser always open *.csv (comma delimited) file in another tab rather than downloading a file? I do not have right click option to save this file. My OP is windows XP sp2.
Hi mha007,
Go to this site "http://www.nseindia.com/content/indices/ind_histvalues.htm"
Select any Index type and from dates select just one day or any number of days. Click "Get Details" button. This will open tabular data on loaded page (with link CSV file link at bottom).
When I click this link, it opens CSV file in new tab (in Firefox browser) and does not open download window (just as in case of other file formats like *.zip, *.rar or *.xls).
Right-click of link does not give "save as" or "save file" option.
Firefox is my preferred and default browser.
========
surprisingly, When I do same thing in IE6 browser, data-table page shows 2 options below table, i.e. (1) download file (2) open file. -
Is this possible to package flash 8 swf file with AIR
Hi All,
Is this possible to package flash 8 swf file with AIR
packager or load flash 8 swf file in AIR?
Any info on AIR would be greatful.
Thanks,
ShaileshYes.
-ted -
Flash movie (.swf) getting clipped
Hi,
At the website www.coastlifechurch.com there is a Flash movie
on the front
page (top left of the eight squares). I made the basics of
the Flash movie,
then emailed it to my client to put new pictures in. He
assures me that he
left the movie at 200px x 200px. When it is inserted into the
page (he has
done via DreamWeaver), the bottom right gets clipped by one
or two pixels.
Even when I tested the movie setting the parameters to 150
px, the movie
still gets clipped. When I view the movie directly in
FireFox, it shows the
border all around the movie just as it should. (see
www.coastlifechurch.com/flash/Get-to-know-us.swf)
Can anyone help me work this out?
Thanks,
BruceAlancito
Thanks for replying and the great info on getting a QuickTime to play automatically.
Please can you continue to help as Im having no luck.
I will write below briefly whats happening.
I made a QuickTime in iPhoto as was suggested. I dropped it into iWebs 'Media' button under the 'Movies' tab, in a folder. I then dropped the QT file onto my web home page. It shows with a control bar at the bottom of its window for playing it.
I published it OK. The live website shows the QuickTime movie BUT you have to click play to start it. So I then I opened the html file in iDisk in TextEdit.
I tried and tried to find the html code for the QT Movie. I read and re-read the whole html file from top to bottom and found no sign of the QT Movie. Then I went to 'Edit' and 'Find' in TextEdit and typed Movie. It came up with a bit of code which says writeMovie1();
I guess that this means it is talking about THE movie in question but there is no more code to
do with 'true' or 'false'. If it said false Id change to true but writeMovie1(); just looks like this:
<script type="text/javascript"><!--
writeMovie1();
--></script>
stuck almost at the bottom of the html file page.
Please help...remember Im using iWeb 06
Thanks...I hope Im close to solving this now. All I want is to play the QT automatically.
Ed -
Need to click on flash movie to set focus
Using Flash CS4 Pro v. 10.0.2.
Any time I make a movie that uses onKeyDown, publish the swf + html files to my webserver, and test the movie from my browser, I have to click the movie once or twice before it gets focus and register my keystrokes.
I got a good answer for this a little over a year ago, but unfortunately I have misplaced it.
Could someone help me out?
Thanks in advance,
OleThanks, but not sure I follow you.
Here's a simple example in a single AS file:
package
import flash.display.MovieClip;
import flash.events.KeyboardEvent;
import flash.ui.Keyboard;
import flash.events.Event;
public class Main extends MovieClip
public function Main()
stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyDown);
function onKeyDown(event:KeyboardEvent):void
if (event.keyCode==Keyboard.RIGHT)
player.x += 1; // move the player to the right
When I press the RIGHT arrow key, the player object in my FLA file moves to the right.
When I publish this to a webserver, running the SWF file from an HTML file, I have to click the movie with the mouse before I can move the player with the keyboard.
Thanks,
Ole -
REPOST: Flash movie (.swf) getting clipped
Hi,
At the website www.coastlifechurch.com there is a Flash movie
on the front
page (top left of the eight squares). I made the basics of
the Flash movie,
then emailed it to my client to put new pictures in. He
assures me that he
left the movie at 200px x 200px. When it is inserted into the
page (he has
done via DreamWeaver), the bottom right gets clipped by one
or two pixels.
Even when I tested the movie setting the parameters to 150
px, the movie
still gets clipped. When I view the movie directly in
FireFox, it shows the
border all around the movie just as it should. (see
www.coastlifechurch.com/flash/Get-to-know-us.swf)
Can anyone help me work this out?
Thanks,
BruceYes, in order to do anything with regards to editing the Flash file you will need to have the fla file.
-
Right Click in published movie Captivate 4
When I try to publish a movie with right click capability I lose that capability and the movie freezes. The only time it works is when I run it locally from the default save location. I have turned off accessibility and all other necessary switches
How can I make this movie function properly over an intranet with potentially 10,000 users
thedarfIf you are not running the published movie from a server, then you have to add the location to flash security setting in order for it to work.
Following url is where user will have to add the location from where the swf is being viewed.
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l
Locally it is running fine because your local drive must have already been added to this setting. -
Finding flash movies (swf?) in cache
Dear all,
Is it possible to find flash movies that you have viewed in the cache (or anywhere else for that matter?).
Furthermore, is it possible to move them to a place where one can view them when offline?
Cheers
GeorgeGo to Window > Activity and see if you see the swf file. You can option-double click on it to save it to disk.
-
Double click on 3.1 swf file in 4.0 is not working
Hi,
We recently migrated 3.1 SP2 stuff into 4.0 SP2 and found some problems and I was unable to solve it. Can anyone help me...
1) When I double click on Flash file, its not opening dashboard and its doing nothing. This is when I go into Folders and then double click. If I right click and select view on the 3.1 dashboard in 4.0 then it is working fine. Funny thing is, in BI Launch pad Home, if I double click any migrated dashboards on latest documents section then it is working. Any idea on whats going on?
2) WRE 99998 & LO 26315 errors. Some of the migrated dashboards are giving these errors.. When I try to establish new connection using Live office and select particular Web I document then I am getting WRE 99998 error. If I open migrated dashboard in Dashboard designer and when I modify particular WebI object then it is giving LO26315 error. If I save the WebI report in Launch Pad as Refresh on Open then I can able to open it in LO as a new connection and also I can able to modify and refresh the existing connection... I am not sure whats going on here... Any ideas or help?
Anyt help is really appericiated.....
ThanksHi Jagan,
1) This might be a browser thing, what version are you using? Are you saying that doulbe clicking a new dashboard that has been exported the the repoository from new Xcelsius works? The other swf files, are these just saved to the repository as flash files, or exported from withing Xcelsius?
2) I have no helpful answer, sorry. Only the suggestion to not use LiveOffice. BI Services is the future.
Maybe you are looking for
-
I have two iPhones, one is a 4s and the other is a 3g. I have not used my 3g in some time now. I recently restored it but I cannot use it without a sim card, it says i have to "activate it." I cannot place my iPhone 4s sim card in it (too small), and
-
Creating hyperlink to online pdf to a specific page
Is it possible to create a hyperlink to a pdf that's online to go directly to a specific page?
-
Multiple OS and 2 gaming consoles on a WRT110??
Okay, so I have a WRT110 Linksys Cisco router. Also, I have a Sony Vaio with Windows XP, a Dell Studio 1537 with Windows Vista, and a HP laptop with Windows 7. But thats not all, I also have a Xbox 360 (wired connection) and a Wii (wireless connectio
-
Nokia N80 - iMac G5 BT transfer freezes at 263.9kb
Hi, Each time I try to transfer a large file from my Nokia N80 to my iMac G5 (OS X 10.4.6) using BlueTooth the upload freezes exactly at 263.9kb I have no problem with files which size is under 263.9 kb I've contacted Nokia regarding this issue and t
-
Another new one (amazing what one uncovers under deadline ). See screen shot: Some of these files are from a Leaf Aptus 70 (they were part of the Ap3 Tutorial) and are very large. Large or small, I like to run a clean ship. Can I search in Finder