Embed player in SWF
I am having trouble getting thru step 2.
1. Choose the Player you’d like to host in your PDF and select ActionScript from the ‘Get Code’ options in the Publishing Module.
2. Using Flash, Flex, or a comparable program - embed your player within a SWF.
Excuse me for misrepresenting myself, i'm not trying to be difficult.
Absolutely honestly, this is THE part i can't get thru. I am certain it is very simple, but i am unfamiliar with coding so i'm totally STUMPED!
embed actionscript into an SWF is the ONLY instructions that i received and i can't do. The problem is that the originator of the instructions is not there to help me learn Flash but to embed his player into a PDF. (that is the part we CAN do - it's creating the SWF we need that we CAN'T do)
SO that is it in a nutshell - can't get past those last 5 words of step 2. Which i assumed was simple for an expert, but maybe it's the instructions that are lacking?
Similar Messages
-
Player for .swf files?
Yes, I know that flash has its own .swf player the code of which can be got with the Publish function. However I wanted to ask if anyone knows of a player with controls (think Window media player or Youtube) which reads .swf files? The ones I have found so far really only read .flv file, to which I can't convert mine since my version (Flash 8) does not export to .flv, and any conversion attempt resulted in terrible loss of quality.
So does anyone know if there's such a thing that can be embeded in HTML pages (not CMS)?The Flash Player is made for playing swf files. What you said about publishing applies to html web page code, which embed Flash content and play it using the Flash Player that is made for the browser. If you can view Flash in your browser, you can open an swf file in it as well, just as if you have the Flash player, you can play Flash files in it.
The player itself is in your browser already (if you can view Flash content in web pages, your browser has the player). The code you put in the web page simply tells the browser to play the file using the Flash player--and that is what Flash publishes... the code, not the player. The web page does not have the Flash player published in it. -
ActionScript 2.0 to be able to embed URL into SWF file?
Hello,
It seems that the web based newspaper who is going to publish my ad banner doesn't have flash player 10 (or 9). My ad banner was made in Flash CS4 / ActionScript 3.0. Instead I now have to change the code in my invisible button to ActionScript 2.0 to be able to publish it in flash player 8. What is the ActionScript 2.0 code so I can make the same embed URL into my SWF file as I did with the following ActionScript 3.0:
function linkToSite(evt:MouseEvent):void {
var url:String = "http://www.IMAGESofFISHERMEN.com/?p=50#more-50"; // replace with your url
var req:URLRequest = new URLRequest(url);
navigateToURL(req, "_self");
urlBtn.addEventListener(MouseEvent.CLICK, linkToSite);
Regards
MariaAs far as I know, the Flash player version should not be of any significance to the host service. It is the Flash player in the site visitor's web browser that decides matters.
In any case, that code would become...
urlBtn.onRelease = function(){
getURL("http://www.IMAGESofFISHERMEN.com/?p=50#more-50", "_self"); -
i use Flash CS3 to create a picture slideshow (somwtimes i
add music) but i also want to add a player to this. is there any
way to do this without using behaviors/actions (i am a beginner).
so i usually just "publish" it as a swf and i have slideshow but
there is no way to pause or rewind it. i could export it as a movie
like in a quicktime file but then the size is a lot bigger than the
swf. so is there an easy way to add a player (that includes
play/stop/pause and has a seek). here is an example of what i have:
the first is just the published swf file. below it is an example of
the media playback player that i want to attack to it.
http://thepoliticalstandard.com/test.html
any help would be greatly appreciatedYes, you can embed the video into the main timeline, and then create regular timeline controls to control the playback.
But that solution is loaded with problems... starting with audio/video syncing issues. Most of that can be overcome by setting the Flash document frame rate to exactly match that of the original video.
So for example, Mini DV is shot at 29.97 frames per second. So that means to embed a Mini DV video file directly into the main timeline, the Flash doc framerate needs to be set at 29.97 fps.
Then work on controls...
Best wishes,
Adninjastrator -
Flash player shows swf file but no control bar
I have a product by IMTOO.com that converts AVI files to SWF files. I used it, and I also specified that I wanted the final file to be small. The final file plays OK in flashplayer 10, but the control bar is all black. You don't see any controls on it such as 'play', 'pause' and 'maximize'.
Now there is a menu you can get by right-clicking on the movie. That gives you 'play' and 'pause', but not maximize.
My question is, why is this happening. Why can't I see controls on the control bar, and why can't I maximize at all, even with the right-click menu?
The code looks like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<div>
<object width="550" height="400">
<param name="movie" value="/videos/fourteen.swf">
<embed src="/videos/fourteen.swf" width="550" height="400">
</embed>
</object>
</div>
</body>
</html>
And you can see the problem at http://shmuelkatz.com/expt15.htmHi, Use this Adobe test site to see if you can see the animation and what version of Flash Player is shown.
Test with each browser.
http://www.adobe.com/software/flash/about/
You should also check in Tools, manage add ons with IE and under "Show"(light text), click on All Add ons or Run without Permission to make sure Shockwave Flash Object is listed and Enabled.
Then with FF, check in Plugins for the Shockwave Flash vs 10.1.82.76(the latest Flash Player vs) and make sure it is Enabled.
Let me know the results of the test and the add on info.
Thanks,
eidnolb -
Embed Flash 7 SWF in Flash 10 SWF - possible?
Hi all,
I've just been given some files by a client that are coded in AS2/Flash 7.
I need to embed them in an AS3/Flash 10 application for a new site.
Does anyone know if this is possible? I've asked around the office and people are shaking their heads but no-one is quite sure...
Any help would be much appreciated!If by embedding you mean you want to import the file into the library of another file, then that is not a viable solution... regardless that AS2 and AS3 cannot be mixed in the same file, when you import an swf you lose all the actionscript in it. As kGlad mentions, you can load an AS2 file during run-time... use the Loader class for that.
-
Hello,
Thanks in advance for any and all assistance on this.
In Captivate 1.0, the playbar for a SWF file was
automatically embedded in the final SWF file. I'm now using
Captivate 3, and while I generally enjoy having the separate skin
SWF generated, I'm in a situation where it would be much easier to
embed the playbar into the SWF file and have 1 standalone file that
contains the play controls.
Is there a way to do this in Captivate 3? I realize that I
could create my own navigation buttons and apply them to every
slide, but I'm hoping that there's a quick "click here to embed
playbar in final SWF" button that I'm missing.
Thanks again!
MarkHi Mark
Piece of cake. Click Project > Skin... > Borders tab
and DE-select the "Show Borders" check box. Then re-publish your
output.
voilà! No more _skin.SWF in the mix!
Cheers... Rick -
Is it possible to dynamically load an image/resources embed in a SWF?
Hi all,
i have created a flex library project, just containing images (.GIF)...etc.
And i create another flex application project that merge the .GIF files into the final SWF application.
based on the current time, i want to display different pictures (e.g. sun.GIF, moon.GIF, star.GIF...etc..there are many images) in the application right-top corner.
as, i know, <mx:image/> just work with static image reference for embedded resource.
(<mx:image source="@Embed('sun.GIF'))"/>).
i search by google, it seems that, for embedded image or resource, you can't load it dynamically.
the following code don't work.
e.g. var mmm:Image = new Image();
mmm.source = fileName;
mmm.load();
anybody find the solution???
thank you.
ppk lukHi,
i have tried this method before, but, again, it don't work for embedded resource. IO error will be thrown, with error message.
IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2036: Load Never Completed. URL: file:///E:/Flex/TmpAssetApp/bin-debug/@Embed(source='images/sun.GIF')"]
(the GIF is in a folder called images)
SWFLoader/Loader can only load file dynamically from URL, but not embedded resource?? (by syntax @Embed(source='xxx'))??
my sample code:
=======================================
<mx:Script>
<![CDATA[
import mx.controls.Alert;
[Bindable]
private var fileName:String = "@Embed(source='images/last.GIF')";
* Show the image
private function showImage(event:flash.events.MouseEvent):void{
fileName = fileTxt.text;
dynaLoader.source = "@Embed(source='" + fileName + "')";
//dynaLoader.addEventListener(flash.events.Event.COMPLETE, ss);
//dynaLoader.addEventListener(flash.events.IOErrorEvent.IO_ERROR, ff);
dynaLoader.load();
private function ss(event:flash.events.Event):void{
mx.controls.Alert.show("result1\n" + event);
private function ff(event:flash.events.IOErrorEvent):void{
mx.controls.Alert.show("result2\n" + event);
]]>
</mx:Script>
<mx:SWFLoader height="305" left="10" right="10" bottom="10" id="dynaLoader" autoLoad="true" source="{fileName}" ioError="ff(event)" complete="ss(event)"/>
=======================================
Do you know any other solution?
thank you.
ppk luk -
How to use Adobe Flash Player with .swf files?
Hey,
I have a .swf file that I'am trying to open but it seems that I can't. Is there any way that I can use Flash Player to do so?
The .swf I'm trying to open is a game, when i right-click on it and i click on Open With, I don't see Flash Player as one of the options.
Can you help me please? Thanks alot!!!There IS a standalone Flash Player but is's part of Flash Professional. You'd need to purchase it (or download a 30 day trial, but I don't know if the Flash Player would keep working after the trial expires).
-
I am a new upcoming Web Designer. I created two web pages for
my web site, in Adobe Flash Pro CS3, and I published it for HTML
view. I upload it to the server the page would play but when I'd go
to click on the buttons that would link to the other pages of my
website, it would not go in. So at first my first thought that
there might have been some actionscript issue going on with the
flash buttons. But when I went to the original .FLA file on the
buttons it worked fine for the folder that it was in, so I figured
let me re-route these buttons to the actual website using the
website and its directory for the buttons to link. Still did not
work, as a matter of fact when I re-checked it again using the
browser this message box open up with this error message:"Adobe
Flash Player has stopped a potentially unsafe operations the
following local application on your computer or network:
C:\AD%20Creative%20Media%20&%20Designs\index.swf is trying to
communicate with this Internet-enabled location:
www.andersondominique.com To let this application communicate with
the Internet, Click Settings. You must restart the application
after changing your settings." So I did clicked on the settings
button, which lead me to the this website but on a different page.
I changed the security settings like it asked me to for at least
100 times today, and I am not getting a different result. Can
somebody please help me! I really need to get this website up and
running properly its for me to get a job. Im desperate! If anyone
out there is familiar with this problem please answer me or better
yet email me at: [email protected] THANK YOU!We've recently made a number of security-related changes to how UNC paths are handled in Flash Player, and in addition, have restricted some network requests from being made for locally-executed SWFs running with local-with-filesystem permissions. These changes were necessary, as we found ourselves on the wrong side of a confluence of both old and emerging standards and conventions, and a very forgiving approaches to incorrectly constructed URLs in most major browsers.
Where we could, we added good debugging messages, so installing a an ActionScript debugger version of Flash and running the application might provide you with some useful clues; however, as complexity increases, I'm not convinced that using Flash Player to execute SWFs locally in the browser is going to be smooth sailing, and I anticipate that we'll see additional churn as we evaluate and align with the expectations of the modern web in this regard.
The good news is that we have Adobe AIR, which is designed to make it really easy to port your Flash Content, and it's specifically designed to build desktop applications, free from the complexity of browser plug-ins. As a least-cost, long-term strategy, I'd strongly encourage you to evaluate porting your SWF over to AIR. It may be as easy as just changing the publishing target in a current version of Flash Professional and distributing your application as an AIR payload instead.
Alternatively, you could stand up a local webserver and host both the content and the SWF. The really hairy edge-cases stem from the fact that we're trying to support HTTP and UNC paths simultaneously. If you're using HTTP, things are much, much more straightforward.
If you can narrow it down to the failing ActionScript call, I might be able to give you a more specific suggestion for a workaround. -
Can I get Flash Pro CC to publish flash player 7 swf??
I'm using Flash Pro CC but need to export SWF's in flash player 7 to import correctly into another program. Is there a way to make this happen?
http://www.kglad.com/Files/forums/cs3/playerglobal.swc
-
Captivate player - Multiple SWFs per topic
So, I am working with our (very patient) developer to deploy
a 10 part Captivate movie using Captivate player.
The problem is that each part (for example- Introduction) has
more than one SWF file. I really don't want intro 1, intro 2, etc.
Does this make sense?
How do you deploy Captivate player if each sub-movie has
multiple SWFs?
Thanks.It's looks like the SWFLoader is crashing the browser. I
update the source of the SWFLoader if a user clicks a datagrid
row...like:
mySWF.source = myDG.selectedItem.src
//where mySWF is the id of SWFLoader
Can I not update the source of SWFLoader like this? or do I
have to handle this some other way? -
I have made tutorials using Captivate 2 and exported them as
an .swf file. When played in Flash Player 8, when previewed in
Captivate 2, and when loaded in an internet explorer, it doesn't
pause at each slide like I have programmed it to do in Captivate 2.
I have put buttons in each slide and make them pause the slide
until the viewer clicks on it an tells it to move on. It randomly
doesn't pause and continues on to the next slide. It sometimes
works and sometimes doesn't work. It's not consistently one slide
and not another. It is random. Does anyone have a clue what is
wrong?Thank you for pointing out that I need to download the projector. How do I ensure that every time I double click on a swf file, it does not launch Adobe Flash Professional, but instead, it launches Flash Player ver 14. Do I have to place the Flash Player Projector in the library or applications, where exactly should it be placed.
Next, when I launched Flash Player ver 14, to open the swf file, I clicked on a button that is linked to a website - I get a message:
"Adobe Flash Player has stopped a potentially unsafe operation,... To let this application communicate with the Internet, click on settings" I clicked on settings and get the attached panel, which does not make sense to me. And I cannot launch a website by clicking on the button contained in the swf file. Please advise.
I am using a Mac Book Pro, OSX 10.9.3 -
Getting MX 2004 to create a flash player 8 swf
I am trying to get my Flash MX 2004 to show Flash Player 8 in
the publish settings so that I can publish a .swf file to 8.
Can you help?
AviYes you can with our tools and Flash.
Please download the example file to see it working
http://flashjester.com/index.php?section=faq_search&search=flv#385
Regards
FlashJester Support Team
e. - [email protected]
w. -
http://www.flashjester.com
There is a very fine line between "hobby" and
"mental illness." -
Macromedia Flash Player for .swf
Can anyone tell me that is Macromedia Flash Player necessory
to open any .swf file on our machine? Or can we open any .swf file
without installing any version of Macromedia Flash Player?
Thanks in advance :)Then you already have the flash player control .. so you can
view swf files
in the web browser. That is the only free and distributable
player.
There is no free distributable stand-alone player. one comes
with Flash
itself (the authoring program), but you cannot redistribute
it.
You can, however, convert a SWF file into a standalone player
that includes
the player .. this is called a "projector".
Jeckyl
Maybe you are looking for
-
How to trace the flow of plsql procedures/functions in oracle 10g
Hi All, Recently I came to know that there is dbms_hprof PL/SQL built-in package in Oracle 11g which can be used to trace PL/SQL calls in a Hierarchical way. (acts as a PL/SQL Hierarchical Profiler). Steps are given in - http://www.oracle-base.com/ar
-
Dreamweaver CC crashes upon startup
Hi, I'm on a Mac, OS X Mountain Lion, and CC. I've been merrily working away on a site and have not had any problems with Dreamweaver at all until this evening. Upon opening DW, I got a messages that read "The cache will now be re-created because the
-
Why doesnt this query work on CF when it works fine on MYSQL?
Topic says it all. I can run this through mysql console and get the result i need but when i place it inside a cfquery it wont process. SET @saldo=20000; SELECT IF(co.transtipo=0,@saldo:[email protected],@saldo:=@saldo+t.transmonto), @saldo:=@sald
-
Restricting a production order from releasing
Hi, How can i restrict a production order from releasing if material is not available? Regards, samir Edited by: wadajkar on Jun 2, 2010 2:51 PM Edited by: wadajkar on Jun 2, 2010 2:51 PM
-
Hi Experts, i am configuring SAP POWL in my EHP 6 System and i am able to get work-items from same system but i am not able to get from multiple system which version is 4.6c.below steps are already done. 1.Create RFC Destination ( destination working