Embed SWF into blog
Hope this is the right place to ask. I am having trouble embedding a SWF file that I created into my blog page. I tried to upload it to sites.google.com but the direct link to the SWF file is hidden behind an https:// that I can't get rid of and other people can't see it. How can I embed a SWF into blogger? Are there other free sites where you can simply upload files and link directly to them?
I have also had this issue since www.megaswf.com started charging for hosting services. The solution I found was to host the file on Google Sites as you mentioned, however I created a FileCabinet page, using a blank google template (you can google how to do this) and this enabled me to host the file.
Once the file was hosted, I simple looked up an appropriate html code to embed into Blogger, such as the one here: http://www.free-video-hosting.net/embed-flash.php
When you paste in the url from the google site, it creates a ton of numbers at the end of the URL. You need to delete everything after the .swf of your filename. You need to replace the words "video-filename.swf" with your url both times that it appears.
I hope you have solved the problem by now and hope this is able to help some others...
Similar Messages
-
Help a Newbie - Need to Embed swfs into main swf
I have made a MAIN SWF in which if you click one button, it
loads one SWF, if you click another button, it loads another SWF.
The file works perfectly when I test the MAIN SWF...until I
relocate that MAIN SWF to another file, then it doesn't load the
internal SWFS. How do I publish the MAIN SWF with the other two
SWFS embedded? So that my client only has to upload one single SWF
file and not host the internal ones somewhere?
Hope this makes sense...Flash is completely foreign to me, so
be gentle. Thanks!Treat Flash as any other content and place it within its own
containing div. Position the div in the normal flow of the document
allowing the div to 'stack' with the other divs above and below it.
If you want to place the Flash such that it 'covers' existing
content you can use CSS positioning techniques. Options include
absolute positioning the containing div with the Flash swf within
it (this removes the div from the normal flow of the document) and
placing it over the existing content. Us position: absolute; and
top and left, with px values to place the div where you need it.
You can find tutorials on absolute positioning in the developer
center or www.communitymx.com
You can use the float property and negative margins to pull
containing divs (or other elements) around the document, too.
Experimenting with floats can be fun but you need to read up on
their specific behavior as you can end up pulling your hair out.
Again, there are plenty of CSS tutorials on positioning and a
Google search should throw-up some options.
Outside of CSS you can use DOM Scripting and JavaScript to
also position and hide various content depending on your
requirements. If you get stuck come back on this forum and ask for
more help but provide specific code to help us. -
InDesign layout embedding into blog/website as a magazine layout to flip pages
Does anybody know if it's possible to use a layout made in InDesign and embed it into blog/html as an online magazine that flips pages? something similar to what ISSUU uses. an example of this is below:
www.intandemmagazine.com
let me know asap thanks!That job didn't come right out of ID. There's a lot of flash in the
magazine and the export to SWF doesn't support that.
It could have been export to XFL and finished in Flash Pro but that's a
good deal more work than just exporting to SWF.
If "Ansel" is willing to live with static pages, then yes, ID CS4 is
quite capable of doing this.
Bob -
Embedding Swf into to forum signature
Hi, i have been trying to find this everywhere but no good.
How can i embed swf into forum Posts and signatures ? Its my site s
o i change settings etc.....is there some mod that should be
installed on the forum ? Any help at all would be really
appreciated =)
JNo. I mean that the Flex framework makes certain assumptions about the environment it is running in -- like having a stage to work with. The Alert function, for example, works by creating a sprite and adding it to the Flash display list. Since your embedded SWF is not on a stage, there's no way for it to work.
You can can possibly use certain non-visual parts of the framework, such as the rpc package, but I can't guarantee it. -
Embedding swf into HTML+JS AIR app
Hi
I'm trying to embed swf into HTML+JS AIR app with no luck.
First, I created flash library with this class in default package.
package
import mx.controls.Alert;
public class Utilities
public function Utilities()
//asdfasdf
Alert.show("asdasd","");
Then I compiled the project with Flash Builder and got library.swc as result. Then I extracted swf file.
After this is added required code into my html:
<html>
<head>
<script type="text/javascript" src="AIRAliases.js"></script>
<script type="text/javascript" src="AIRIntrospector.js"></script>
<script type="text/javascript" src="jquery-1.6.2.js"></script>
<script src="library.swf" type="application/x-shockwave-flash"></script>
<script type="text/javascript">
$(document).ready(function () {
alert('loaded');
air.Introspector.logError("aaa");
var v = new runtime.Utilities();
</script>
</head>
<body>
</body>
</html>
Then after I run application, I get error that result of expression is not constructor, function etc.
Could you help me please? Thanks in advance.
Here is sample code:
http://depositfiles.com/files/jztpnlb3aNo. I mean that the Flex framework makes certain assumptions about the environment it is running in -- like having a stage to work with. The Alert function, for example, works by creating a sprite and adding it to the Flash display list. Since your embedded SWF is not on a stage, there's no way for it to work.
You can can possibly use certain non-visual parts of the framework, such as the rpc package, but I can't guarantee it. -
Embed AS3 swf into a AS2 FLA?
HI, I have a flash site designed in AS2 and want to embed a
AS3 video player in it. If I republish the AS2 site to AS3 the
website doesnt function, and if I load the AS3 swf into the
website, the Player doesnt function.
I need the AS2 functionality on the website and I need the
advanced AS3 functionality on the video Player.
Is there any way to get these two guys to talk to each
other?Creating a 3rd fla, to load the AS2 Fla and the AS3 FLA just
aint gonna fly. This website is updated daily and its just too much
of a maintenance nightmare.
However, I do want to use Wabbits suggestion but I dont know
how to create a web object.
The GetURL function opens the swf on its own, which I dont
want to do. I want it to open the AS3 SWF in a small window within
the page.
Can someone help please? Thanks in advance, -
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"); -
Can't embed a Captivate video (swf) into Power Point 2007
I am trying to embed an Adobe Captivate video (swf) into power Point 2007. I very carefully followed all the steps outlined from a search I did on the web and it is not working.
These are the steps I followed:
1. Create a simulation using Adobe Captivate and publish it as a SWF file.
2. Open the PowerPoint presentation and insert a blank slide for adding simulation.
3. We need to work with the Developer tab now. If you can't see it in the ribbon, follow these steps to make it visible.
(steps to get developer)
4.On the developer tab, in the Controls group, click More Controls
5. In the list of controls, click Shockwave Flash Object and click OK.
6. Drag diagonally to create a box in which the simulation would appear. Don't worry about sizing it accurately; you can adjust it later as well.
7. Right click the Shockwave Flash Object, and then click Properties.
8. On the Alphbetic tab, click the Movie property. In the value columnm type the full drive path, including the file name.
9. Set the Playing property to true, Loop to false and Embed Movie to true.
10. Close the Properties dialog and test the movie.
The simulation will now play in your PowerPoint presentation.
Note: If during the slideshow,t he simulation doesn't play automatically, right-click and select Play.
I followed these steps, and it is just not working. I go to play my power point presentation and set it to play from the beginning, and when it gets to the slide with the swf file, I just get a faded out still picture of the video, and it will not play. If someone has had luck with embedding swf files from Captivate into Power Point, please let me know how you did it. Thanks.Thanks, I really appreciate the information. The only problem is that I have to keep it as a power point presentation. I convert from ppt to a video, so I need to keep it as power point.
I found these steps on the internet and followed them exactly, and went through the steps 3 times, to make sure I wasn't leaving anything out, and it just didn't work. I have a tech guy who's supposed to call me today regarding this issue, and hopefully he'll be able to go through it with me step by step to try and work it out.
Ultimately, these are going to be training videos that are going to be set up on a website, so they ultimately have to be saved as videos.
I'm keep trying to figure it out though.
Thanks.
Ariane -
How do I embed fonts into Captivate projects?
This question came up in May 2006 but was never really
answered. I'd like to know how to embed fonts into my Captivate
projects so that the output looks the same on all computers. While
the text animations are fine, the Text Caption fields are the ones
that seem to have fonts that go walkies on other computers. I know
you can embed fonts in PDFs. Why not in Captivate (unless I'm
missing something in 2.0).First, a tip for the forums: If you use the URL tags, your
post won't require horizontal scrolling - sorry, but I use Firefox
and entering a long URL totally blows my ability to smoothly read
the post ... you can manually add a text link by using the "L" tag
as shown below (I've put spaces in to avoid this being turned into
another text link)
[ L = Your Text]
http://www.yourdomain.com [ /
L ]
Back to your issue, Charinos. I'm glad you did find the URL,
but that thread and your problem are not even in the same world.
That thread deals with fonts in text-entry boxes (boxes for
end-user text-entry), and you are talking about text-captions, an
entirely different object.
In fact, if you make changes and save those changes to a
text-caption, then publish the project, the fonts in your text
captions will remain stable and are not dependent on the fonts
installed on the end-viewer's machine. The reason is that when the
SWF is compiled, the text captions are converted to images and so
long as the file is viewed as intended in the HTML document - at
the proper size - the stretching you describe cannot take place.
I'm not saying you are seeing things, but if my understandings of
the Captivate machine are correct, what you are saying is happening
cannot
be happening. Something else is going on, like a failure to
save changes, use of non-conforming text-caption boxes with a
resultant loss of margins, or something.
Sorry I'm not more help. I can't duplicate what you are
seeing but I hope someone else can help you out - I may still be
misunderstanding your issue. -
hallo,
I am trying to embed an SWF into an FLA (My website)
I want to embed an SWF movie on page 4 of my website along with other content.
There are a lot of tutorials on the web, but to be honest, I get so confused, a lof of them have errors so I figured i'd ask here if anyone knows of a good, simple tutorial on how to embed SWF in FLA.
thanks so much.The mask would be a separate layer that sits above the layer your animation is in. So if you right clicked the layer the animation is in and selected mask, then that's not masking it, it turning it into a mask. What you want to do is create another layer above it and draw a rectangle that would be the same size as the stage of the swf. Then if you right click that layer it and select mask, the rectangle will be the mask for the anoimation--allowing only what is beneath it to be viewed.
-
Post SWF to blog as a FLV?
Hi,
I've got a .swf I made that I want to embed on my blog. I
want to have a nice player embedded with the swf playing, kind of
like a YouTube video - but without all the data loss. Really what I
want is the nice interface around the piece - kind of like Vimeo.
Is there a way to do this? Do I need to grab some open source
FLV player or what would be the best way to go about this? It seems
a FLV player is a separate piece altogether. The main thing I want
is a nice clean version of my SWF posted to the blog with the
interface to play it.
ThanksIf you want to make it play automatically when you open preview panel, I don´t think it´s possible. InDesign has to export SWF as a background task before it can be previewed in the panel.
Preview Mode (Selection, Page or Document) is AFAIK a "sticky feature" so InDesign should remeber your previous choise when you open preview panel... -
Can I load a swf into my Flex app that loads other swf's?
The code below loads an AS2 swf into my Flex mobile for IOS app and it works. If that AS2 swf has like a circle in it that runs across the stage, it loads and displays properly when run in FlashBuilder.
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
initialize="init()">
<fx:Script>
<![CDATA[
import mx.core.UIComponent;
private var request:URLRequest = new URLRequest("http://PATH_TO_AS2_SWF");
private var loader:Loader = new Loader();
private var myComponent:UIComponent = new UIComponent;
private function init():void{
myComponent.percentHeight = 100;
myComponent.percentWidth = 100;
loader.load(request);
myComponent.addChild(loader);
player.addElement(myComponent);
]]>
</fx:Script>
<s:Group id="player"
height="100%" width="100%"/>
</s:Application>
But if that AS2 swf loads other swf's, they don't load or display. My FlashBuilder debugger reports no errors or security sand box violations. I'm using the most elemental code in my AS2 swf so as to not cause problems. This is it in its entirety:
this.onLoad = function(){
_root.loadMovie("http://[PATH_TO_REMOTE_SWF]");
The paths to the remote content are fine because swf's load and display fine from AS2 swf when run on it's own - not embedded in Flex app. They also load and run fine if I cut out the AS2 swf and access directly from my Flex code. So I know there isn't a path issue. More likely not accessing the right layer in the AS2 swf from Flex or something. Or maybe security sandbox violation but I don't see anything reported in the FlashBuilder debug console. When run console just reports:
[SWF] SwfMobile.swf - 2,639,761 bytes after decompression
[SWF] assets/swf/AS2.swf - 1,470 bytes after decompression
Is there something inherently wrong with loading swf's that load other things? Even if I have the AS2 swf load jpgs they don't load so the format of the target content at the end of the chain doesn't seem to be the issue. Just the act of embedding a swf that loads other things seems to be the problem.Ah, yes. Using an AVM1 SWF could prove difficult...
I'm going on about 3 hours of sleep at the moment, but let me toss out a few thoughts I have and hopefully something will stick...
Ok, so my first thought what to try and cast the loaded content as a MovieClip and call methods on that, but the fact they are AVM1 throws that out the window.
That leaves LocalConnection, as you mentioned. But this would require you to have code on the receiving end to handle the connection... no good either.
But what if you created a "bridge" in AS2 that holds all the code for the receiving end of LocalConnection (or has the control logic itself, perhaps even eliminating the need for LocalConnection all together!). I think maybe this is what you were trying to do already by loading a SWF into a SWF? Well instead of loading your bridge at runtime, what if you statically linked it into your project as a class?
*a few moments later*
Well it looks like you can in fact link in a a symbol created for AVM1, but it will only come in as a SpriteAsset, and will not include any custom code (which makes sense, since they use entirely different class constructs).
To do the test, I created a symbol exported for actionscript (AS2/Flash8), then linked it in with a CSS style embed. I then instantiated the class and called describeType on it.
So in summery, it looks like calling custom code on the bridge is out (I did not test this extensively, that was just my first impression with this simple test). However, if you may be able to perform the actions you need by attempting to cast the loaded content into something AVM2 can recognize. Apparently it does this automatically when linked in statically, so maybe there is something there worth looking into... mainly, can you do what you need using only the base class and no custom code?
Keep me posted! -
Want to get Captivate 2 .swf into ebook
I am trying to move a course from CD to ebook. All I have are the autorun CD files, including the .swf file; the .cp file cannot be found and the person who created it is longer with the company. The .swf contains screen snaps and voice over, as well as some cursor animation. My problem is that the .swf file starts playing as soon as the student goes to the ebook page that contains the .swf file.
To the best of my knowledge I can't use the player skin that comes with Captivate without the .cp file, so my proposed solution is to import the .swf into Adobe Flash CS3 Professional, add controls and code that has the movie stopped when opened, and save it as a more user-friendly .swf for the ebook. I am a technical writer, not a programmer, and even though I have spent many hours searching the internet and even reading a book or two about Flash programming, I cannot get a working .swf file. I'm wondering if anyone can point me to example code that will do what I need. I found out about rdcmnd functions and the advantage of the MovieClipLoader class over the loadMovie method, but I seem to be unable to put it all together in a working .swf.
I agree with Captiv8r that a decompiler for Captivate .swf files would be good.Thanks Captiv8r.
I tried that with no change in behaviour as a result. The video still begins playing as soon as the page it is on opens. This is now my html with the added line:
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="801" height="601">
<param name="movie" value="excercise1.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#FFFFFF">
<param name="loop" value="False">
<param name="play" value="False">
<EMBED src="excercise1.swf" quality="high" bgcolor="#FFFFFF" width="801" height="601" loop="0" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT>
According to the forum administrator at Help and Manual (http://helpman.it-authoring.com/viewtopic.php?f=19&t=7681&hilit=flash+swf)
"How Flash files are played is controlled entirely by the Flash file itself. You will need to consult the Captivate documentation or Adobe on this. I think the settings are somewhere in the skins but I don't remember offhand." -
Insert SWF into PowerPoint 2010?
When I wanted to insert a SWF into a PowerPoint 2007 presentation, I would use the More Controls dialog in PowerPoint's Developer tab to insert a Shockwave/Flash object. But in PowerPoint 2010, that control is missing from the dialog. Where did it go? When I click the Register Custom DLL, there's no obvious file to choose, either.
Has anyone else run into this? I'm not looking for a way to convert a SWF into a video that can be embedded or using a 3rd-party plug-in or anything like that. I know how to do those things. I'm specifically looking to insert a SWF using only what's built into PowerPoint and Flash, so if anyone has info on it, please let me know!I have installed PowerPoint 2010 beta release on my machine. I was able to attach a SWF file to the presentation successfully. All options to insert a video are located on the Insert tab, in the Media group. Please refer to the link below on how to insert a flash movie to the presentation.
http://office.microsoft.com/en-us/powerpoint-help/embed-a-video-in-your-presentation-HA010 374729.aspx?CTT=5&origin=HA010338310
Also Microsoft have provided support for Flash in PowerPoint 2010. To find the list of supported formats please visit the following link:
http://office.microsoft.com/en-us/powerpoint-help/compatible-audio-and-video-file-formats- in-powerpoint-2010-HA010336709.aspx?CTT=1 -
Hey everyone- I have a presentation coming up and I want to embed youtube into powerpoint. I cannot figure this out for the life of me. Any help would be greatly appreciated.
Thanksyoutube delivers in flash video format, .flv, which is not supported by ppt.
in the Help files of ppt, I do read swf is supported, but unfortunately, the swf I've created with VisualHub does NOT work in my version of PPT..
for Windows Systems, you get some flash-player-add-ons for PPT (first google hit..........)
so, I guess, you have to ask the experts at the PPT forum at microsoft.com ..
imho, PPT only supports .avi containers with Cinepac codec..
be nice to copyrights
Maybe you are looking for
-
DW CS3 no longer working on a new computer
After migrating to a new macbook Air DW CS3 is not longer working I had the "install Java SE" message I installed Java SE 6 All the rest of the cs3 suite is working (allmost) fine DW just shows an empty allert message I' m using mac osX 10.9 The comp
-
Can I dismount Drive E safely to free up space to continue reinstalling software
I have reinstalled all software back to factory settings. While reinstallation occurred, computer game me "Warning Low Disk Space". Can I condense programs so they don't take up so much space? or Can I dismount Drive E safely to free up 4 to 6 GB
-
Lumia local search results does not sort by distan...
Since the Amber update, if I try to search for anything the results are no longer sorted by distance. For example - while trying to find my nearest hardware store the first result was not even in the same country! I had to scroll down several screen
-
SAP Inbound email related query (from Outlook to SAP)
Hi, I am in a situation where I have to send email from MS Outlook to SAP with a PDF file as an attachment. The PDF file will be stripped into an XML file and processed further and a reply is sent to the user sending the email. The Outlook admins hav
-
I have a problem. MMBE runs fast on all materials except for one. Based on the sql trace comparison, I found, for that material, the table "EKBE" is also included in the select stmts unlike for other materials, and the fetch / open commands takes a l