Play swf file then go to URL
I have an animated logo in a swf file that I want to play
when the page loads and then I want the browser to be redirected to
another page. I have no idea how to do this, but I know it has
something to do with scripts. Any help would be greatly
appreciated. Thank you!
use simply getURL("pagetogo") inside your swf.
Bouyakhsass Achraf
Freelancer, Web designer / Web developper
=========================================
http://www.mutationevent.com
=========================================
Similar Messages
-
OSX 10.5.2 and AR8.1.2 playing swf files
After applying the latest Apple updates to OSX 10.5.2 I find that I can no longer play
swf files from within a PDF file. I'm using AR8.1.2 with FP9,0,115,0 . Consider
the example:
http://www.amrita-cfd.org/4adobe/swf/swf.pdf
It contains an /Annot "Click to activate SWF!" that is supposed
to play the swf, but when I click it: a progress bar "buffering" appears
in the bottom right corner of the screen and then hangs. The swf file
is included as an attachment, shock-tube.swf, which can be
opened in an external viewer and so I don't think the swf file
is the problem.
I have the same problem with the PDF available at:
http://acrobat.timhuff.net/?p=92
where the swf is embedded using Acrobat,
rather than my homebrew approach.
I would very grateful if anyone could shed light
on this problem.
Thanks,
James QuirkJames,
I am seeing what you are seeing even on pdfs with swfs that I created
that previously worked. I guess we will need to file a bug report.
Mike -
Flash CS6 can't open play SWF files without importing and destroying them, how can I get around this?
I'm just trying to preview an swf file in flash like I have with all previous versions.What if my SWF loads external content from an online server?
Not only does the current flash player prohibit such activity, it doesn't even pop open an error anymore saying there was an error connecting to an online source.
Normally, I would simply drag the SWF into Flash and all connections would go through. I could see traces, errors, and experience no issues.
Now I can't even do that. So what then? You have crippled a fundamental use of the program, but THANK GOD we have that deco brush that nobody asked for.
And for the record, the nature of my work benefits from not necessarily allowing the Flash Player to connect to online content. The error it pops up? That's simply another method of error checking that I require. Updating the Flash Player options is not an option.
Why would you even remove this key feature from Flash anyways? It's been there for years ... has the ratio of people importing SWFs (a rather useless gesture in an increasing OOP world) really outweighed the people using Flash as a testing environment that much? -
Downloaded latest Safari update that informed me that older versions of Adobe Flash Player were being disabled and then advised me to go to Adobe and down load latest version of Flash Player. Did that, but Flash Player won't play swf files, which it did before. (Instead of opening, it comes up as a page of code).
Hi..
Quit Safari.
Open System Preferences > Flash Player then select the Advanced tab.
Click: Delete All
Now select the Storage tab.
Click Delete All
Relaunch Safari to test.
edited by: cs -
Problem in playing swf files in IE 6.0
I am facing a big problem in playing swf files in IE 6.0 with
the tags object and embed.
In my current project their is option to upload the swf files
to oracle db and when ever wants to view that swf file, reading
that swf from db and displaying in browser, In win 2000 swf file is
displaying very fine, but not in win 2003 and win xp. and that swf
file, entire application is using asp.net, C#
Can anyone tell the problem behind this situation.
I feel great for any solution.
Thanks in advance> Yes, I put it in the (2) posts above...
No.. there is no URL in the two posts above .. if there was I
would not have
asked for it again
But now you have, I can have a look (no promises though :))
BTW: These are your posts in their entirety:
>>
Hi,
I'm brand new to programing, so my knowledge is limited. But
I'm having a
similar problem where my swf appears but sits on frame 1. I
have a
preloader
set up on fr2. But it just gets stuck there (fr1). I know the
plugin is
installed but not sure why it won't display my movie. I know
it's
happeneing
only with IE and XP and XPpro. Any ideas?
>>
>>
Sorry, I since realized that it's not getting stuck on fr1.
It's just
displaying the bg color in the html page while it's waiting
for the swf to
load. But the swf never loads. It just sits there. I've tried
using
different embed tags, etc. But no-go.
Here's the first example-
<body>
<table width="100%" height="100%" border="0"
cellpadding="0"
cellspacing="0">
<tr>
<td><div align="center">
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=6,0,29,0" width="800" height="600">
<param name="movie" value="NINA.swf">
<param name="quality" value="high">
<embed src="NINA.swf" quality="high"
pluginspage="
http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="800"
height="600"></embed>
</object>
</div></td>
</tr>
</table>
</body>
>>
>>
Here's another example which is part of the most current
detection scripts
from
Adobe....
<script language="JavaScript" type="text/javascript">
<!--
var hasRightVersion = DetectFlashVer(requiredMajorVersion,
requiredMinorVersion, requiredRevision);
if(hasRightVersion) { // if we've detected an acceptable
version
var oeTags = '<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
+ 'width="100%" height="100%"'
+
'codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">
+ '<param name="movie" value="NINA.swf" /><param
name="loop"
value="false"
/><param name="menu" value="false" /><param
name="quality" value="high"
/><param name="scale" value="noscale" /><param
name="bgcolor"
value="#46442c"
/>'
+ '<embed src="NINA.swf" loop="false" menu="false"
quality="high"
scale="noscale" bgcolor="#46442c" '
+ 'width="100%" height="100%" name="NINA" align="middle"'
+ 'play="true"'
+ 'loop="false"'
+ 'quality="high"'
+ 'allowScriptAccess="sameDomain"'
+ 'type="application/x-shockwave-flash"'
+ 'pluginspage="
http://www.macromedia.com/go/getflashplayer">'
+ '<\/embed>'
+ '<\/object>';
document.write(oeTags); // embed the flash movie
} else { // flash is too old or we can't detect the plugin
var alternateContent = 'Alternate HTML content should be
placed here.'
+ 'This content requires the Macromedia Flash Player.'
+ '<a href=http://www.macromedia.com/go/getflash/>Get
Flash</a>';
document.write(alternateContent); // insert non-flash
content
// -->
</script>
>>
> One is
http://eliasencpa.com
> The other is...
http://www.eliasencpa.com/TEST_091606.html
>
> thanks a lot. -
Can CDHtmlDialog play swf file with audio component?
Hello, I'm using CDHtmlDialog in our application to play swf that shows user how to do a workflow. It works fine if swf does NOT have audio; if the swf has audio component, then it does not play.
Can CDHtmlDialog play swf with audio?
If not, any suggestion on how to implement playing swf file with audio?
Many thanks in davance.Hi PingHu,
How do you play the swf file in a html. I tried play a swf file with audio in my CDHtmlDialog class. I just use this:
Html code Play the SWF file.
<!DOCTYPE html>
<html>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="200" height="100">
<param name="movie" value="filename.swf">
<param name="wmode" value="transparent">
<embed src="D:\html directory\swf filename.swf" width="400" height="500" type="application/x-shockwave-flash" />
</object>
</body>
</html>
Then my sample is able to play a SWF file with audio. Hope this helps some.
Best regards,
Shu Hu
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Play swf file from sound clips
Can someone help me please.
I have 20 sound clips that I have embeded in Dreamweaver CS3
using the Insert Plugin option.
I also have 20 swf files.
I would like to play swf file #1 when the user starts sound
clip #1.
When a new sound clip is activated, I want the current swf
file to stop and the correscponding swf file # to load.
Thank you
PeteHi,
I understand this is quite old topic but the question is actual for a lot of developers.
The problem is that Flash ActiveX doesn't contain a method that plays movie from any source except file path or URL.
So there are two approaches are possible:
1. Emulate file by creating a fake file that provides data from your array. You may BoxedApp SDK for that, look here: BoxedApp SDK Features
2. Use special .net component that provides this feature: http://f-in-box.com/dotnet/
Hope this helps. -
API / Sdk to play swf files inside a Mac / Windows application
Hi
We have set of .swf movie files in our application.
These .swf movie files has to be played inside the content
area of
the window.
We want to know how to play .swf movie files through program
inside
our application.
Is there any api / SDK to play .swf files in Mac and Windows
Thanks
RamHi
we want to give some clarifications
As per our requirement we need to play same swf file ( about
5 in number) always.
These swf files are kept in some folder and during run time
we need to play these swf files inside our Mac / windows
application using flash player.
we don't need to play any swf file, but the same swf files
we need a api / sdk to implement this
Any help will be very well appreciated
Sudesh -
How to play swf files in quicktime
I have recently upgraded from Leopard to Snow Leopard on my MBP. Before I could play swf files (with no associated html files) in Quicktime okay, but in Snow Leopard you cannot select the swf to play. Is there a plug in that I now need to play this?
Perian is definitely not the route. Frrom http://perian.org :
File formats: AVI, DIVX, FLV, MKV, GVI, VP6, and VFW
SWF is a special container made by Adobe Director and can be played back with streaming software, such as a Web page that has the Adobe Shockwave plugin. Open an SWF file in Safari or other browser after installing the latest Shockwave Player, free from Adobe. Some other software that is designed for streaming playback can play SWF media, but not a typical video player like QuickTime Player.
The contents of an SWF container might include an FLV video file or bitmap images either alone or with other data. Shockwave Player has 3D graphics and interaction options (can capture video, sound, mouse movements etc. from your system by default and send them to a remote server if you don't turn off these permissions).
http://www.actionscript.org/resources/articles/728/1/Anatomy-of-a-SWF-File/Page1 .html
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_man ager02.html#118539 -
Is there a player for pc to play swf files
Is there a official macromedia player for pc to play swf
files ?The most simple thing to do is just run the .swf through your
browser IE, Firefox etc.
but if you have large amounts of files to manage, you may
like
Text -
Making xml playlist to play swf files inside one swf
Hi,
I have made an swf file and xml playlist.
I want to include swf filepaths in xml playlist so i would be able to choose from my the list, which file i want to play.
My list-component reads data from the xml, but i cannot get the swf files open there.
I will attach my .fla file so you understand what i'm talking about.
the .fla:
http://www.mediafire.com/file/m24dz0gmzwz/Untitled-1.fla
xml file:
http://www.mediafire.com/file/gdyzzymy5mn/swfList.xml
would you guys look at my files? i know i can play .flv files but i want to know how to play swf files inside another swf. The swf files should be loaded to by the xml list.Hi
we want to give some clarifications
As per our requirement we need to play same swf file ( about
5 in number) always.
These swf files are kept in some folder and during run time
we need to play these swf files inside our Mac / windows
application using flash player.
we don't need to play any swf file, but the same swf files
we need a api / sdk to implement this
Any help will be very well appreciated
Sudesh -
Don't play SWF files in Advanced Account. In administrator account OK.
Hi from Spain!
I have a serious problem... xDDD
I have a PC with 3 accounts in Windows XP: administrator, advanced user and guest user. I have too, two internet browsers (internet explorer and Mozilla Firefox). In administrator account, flash player and shockwave runs perfectly in both browsers, BUT in the other two accounts, I can't play SWF files in Internet Explorer. In mozilla it runs perfectly too.
I have reviewed the internet settings of Security (custom level -- ActiveX settings) and they're exactly as administrator.
I have installed flash and shockwave again. I have unistalled and installed later. I have installed from advanced account AS administrator and the problem persists...
I don't know what to try next...
some many ideas?? thanks a lot!!!!Maybe you need to allow 3rd-party content at http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager03.htm l
Also try to disable Hardware Acceleration under Flash Player Settings. -
Android kitkat issue in loading swf file from device. URL found but not working
Hi,
I am facing one issue from a very long time regarding file access in Android Kitkat version 4.4.*. I have developed Adobe Air player application for android and it is working as expected below kitkat version but not on kitkat.
I am following this methods -
NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, onInvoke);
public function onInvoke(event:InvokeEvent):void
var newFile:String = String(event.arguments[0]);
trace("Received new file from Android: "+newFile)
Received URL form device in Android Kitkat -
/storage/emulated/0/.iProfData/swf/playListFiles/ContentCreation/Ma_V2_522/en/Animation/27 031_1_Welcome screen.swf
file:////storage/emulated/0/.iProfData/swf/playListFiles/ContentCreation/Ma_V2_522/en/Anim ation/27031_1_Welcome screen.swf
- Loading this URL using loader class in AS3 AIR but not working.
file%3A///storage/emulated/0/.iProfData/swf/playListFiles/ContentCreation/Ma_V2_522/en/Ani mation/27031_1_Welcome%20screen.swf
- Have used also by doing escape character but still it is not working showing file not found both SWF and mp4 case. (Mp4 case NetStream.Play.FileNotFound)
By using the above methods I can have swf or mp4 video url but when I am loading it, It is not working giving error message "File not found/ IO Error". I have read that if use escape character then it will work but I have used escape character also but it is not working.
Humble request you to please advise how can I solve this issue.
Best regards,
Sunil KumarStarting in KitKat, Google requires that applications have permission to access files on the system. You must specifically add either the READ_EXTERNAL_STORAGE or WRITE_EXTERNAL_STORAGE permissions in order to access files. Adding either one of those permissions should let you read/access files on the device. Prior to KitKat, you didnt have to have these permissions listed in the manifest to access files.
-
Playing SWF files in FLV Player
Hi,
I would like to know whether swf files can play in an FLV Player or not. If not possible, is there any option for developing an independent swf player. If so, please tell me the technique that can be used to develop swf player.
Regards,
Sreelash.Thank for your reply friend. I understood what u said. Actually the requirement for the client is to stream swf file as streaming flv file. So I think, in the server side we have to use converter. I meant, if the client put the swf files in the server, the server side program calls the converter before streaming to the client side.
The functionality what I meant is following:
1) The client request for an swf file.
2) In the server side, it is placed as swf files.
3) Then, programmatically the server side code invokes the converter and convert the swf file to flv file before streaming.
4) This is what I meant the use of converter.
I hope you understood what I meant. Can I have your mail id please. Because in forum not everyone reply for the doubts. Also I am the only action script programmer in my company and I have only 5 months experience. My mail id is [email protected]
Thanks and Regards,
Sreelash.S. -
How to play Swf files on the iPad??
Just as the title sated, how to play sef files on the iPad, since the iPad lack of flash support, and I don't find any program to handle with the swf files to playing on my iPad
Depending on what sites you are trying to access, you might find that some of them (probably more so if they are news sites) have their own apps in the App Store which might let you get some of the content that you want (and there is the built-in YouTube app). Also there are browsers such as Skyfire which 'work' on some sites - but judging by the reviews not all sites. If you want to play flash games then you are out of luck if you want to play on-line (unless something like the iSwiffter app work with it), but again some of them have app versions in the store.
Maybe you are looking for
-
Reminders not showing in ical 7.0
My reminders are not showing up in iCal 7.0 on my new Macbook Air, and in the View header nav, Reminders are not in the list as an option to display. I can't access my reminders. Please help. Thanks.
-
HT6312 So if I have Mavericks, I can no longer access my files in iCloud?
So if I have Mavericks, I can no longer access my Pages documents in iCloud? They are not accessible if I don't upgrade, and If I do upgrade they are also not accessible with Mavericks?
-
Differences between legend in png and pdf output
Hello, i noticed that there is a difference in the legend output of a transparent color style between a png and a pdf output in MapViewer version Ver11_B071001. Lets say i have a sytle with 50% opacity like this: <?xml version="1.0" standalone="yes"?
-
Just got my hpe 530f computer and came with basically no info, does the computer have speakers ? Im guessing not.
-
Number of Bluetooth connections?
How many simultaneous bluetooth connections can you have with an iPhone 4? I've got bluetooth in my car, which I use for hands free. But in order to stream my music through the cars speakers, I need to use another bluetooth device. So, can I use thes