Embedding interactive swf into a Tumblr post?

Hi everyone,
This is my first post/question. I'm trying to figure out if I can embed an interactive swf (with basic AS3 Code Snippets added to movie clips) into a Tumblr post.
I found this post which explains how to use Dropbox as a repository for the file, but I couldn't make it work.
I'm wondering if anyone has successfully posted an interactive swf to Tumblr before? If so, I'd be grateful for instructions.
I'm not that familiar with Blogger, but if anyone has successfully done this there, that would be helpful to know too - I'll perhaps use it instead.
Many thanks!!

THen you can use the Loader class to load the file.  Just get loading it to work first to see if the file works as hoped when it is loaded.
   var ldr:Loader = new Loader();
   ldr.load(new URLRequest("yourswf.swf"));
   addChild(ldr);
(hopefully I didn't miss something basic in that)
After is is loaded and working you can deal with placement and adding dressing for it.  If you want to you can add it into whatever skin movieclip using...
   skinMCName.addChild(ldr);
instead of the last line above.

Similar Messages

  • Rotate entire .swf OR load interactive .swf into .fla?

    Hello, I've searched extensively for solutions to my problem and decided to come here finally.
    I need to rotate an entire .swf flash game from horizontal display to vertical display. Not a change in aspect ratio, but a 90-degree rotation.
    Having found absolutely NO programs to directly do this online, I'm now trying to import the game into flash to rotate and then export as another .swf.
    The loadMovie() command only works well for non-interactive .swf movie files, and simply plays all the frames of the flash game in succession.
    Help, please?

    I'm guessing your start button might use a _root reference, which will not work unless you use _lockroot in the loaded file.  Try placing the following command on the main timeline of the loaded swf...
    this._lockroot = true;

  • Embedding interactive documents into a webpage

    Hi there,
    Does anyone know of a solution, in the catalogue of Apple Technologies, that would help achieve the following interactive « read-only » result of embedding a PDF or iWork document into a webpage? Example: http://dunod.ebrochure.fr/10-plaies-internet/netbook_dunod.php (no need to refer me back to web-based hosting solutions, I need something as DRM-safed as iBooks Author for iBooks Store, but for an author’s website!).
    Thank you

    Hi Jasmine and Fiona,
    We are still have difficulties. See below the info I have been provided by our Web Services Team:
    We’d already looked at the two help topics that they’ve linked to below and I believe we’ve got the correct code snippet:
    <iframe height="580" src="https://tra-opa.custhelp.com/tra_opa/web-determinations/startsession/TRAWizardv3" width="100%"></iframe>
    We’ve even tried putting it in an (extremely) simple HTML page and we still get the same issue.  I’ve attached a copy of the page for your reference.  We’ll need to investigate further.
    We will need to resolve this in order to move our 'wizard' rulebase into a production website.
    Thank you
    Bryce

  • 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 =)
    J

    No. 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.

  • Problems with embedding swfs into Director 11.5

    Hello everyone,
    I am hoping someone can help me and please bear with me - I don't know a lot about director - I can do some Lingo and get around in the program to make things work.
    Right now I am working on an interactive presentation where the user can click a button to view an animation. I am using Director 11.5 for my presentation and have made my animations in After Effects CS3 -- from there I converted my .mov files to .flv files using the Adobe Media Encoder CS4... then I took my .flv file into Flash and published it as a swf file.
    The problem that I am having is that when I play the presentation (within Director and after publishing the .app/projector file) the swf files are playing - but there is all this glitchy-artifact stuff all over them. Does anyone know why this would be happening? When I play the swf files in the flash player they look great. Before, when I was using Flash MX and Director MX, I never had any problems with embedding my swf animation files - and they played great - without any artifact. Any and all help would be much appreciated as this project is due in the next few days and I would prefer to figure out a solution rather than uninstalling Flash CS4 and Director 11.5 - and going back to MX.
    I toyed with the thought that my video card isn't good enough but I tested the .app file on another machine and the glitchy-artifacts were still there. I have attached a jpg showing the artifact that appears.
    I am running Mac OS X 10.5.7
    Dual 2 GHz G5 PowerPC
    ATI Radeon X800 XT
    Thank you!

    Sorry... here is the image again and I think the problem might be my machine -- it is very old (~4+ years) and when I tested my .app on a newer intel mac here it worked fine... but maybe I am missing something -- it seems odd that I can see the swf fine in flash player but it is glitchy when played through director or the .app projector file

  • Embedding Captivate movies (swfs) into Acrobat 8 3D

    I embedded a swf movie (from Captivate 3) into Acrobat 8 3-D,
    but it displays as a black rectangle in Acrobat 8 3D, and a blank
    white area in Adobe Reader 8. The movie does play, but I'm trying
    to figure out why, if I have the poster setting correctly in
    Acrobat, I get the black rectangle and not a graphic of the first
    slide of the movie. (I originally posted this on the Acrobat User
    Community but haven't received a response (
    http://www.acrobatusers.com/forums/aucbb/viewtopic.php?pid=3093).
    I purchased the Adobe Technical Communications Suite, if that makes
    any difference.
    Thanks

    Hi GinaL
    You probably need to edit the settings of your Captivate.
    Select a loading screen that indicates your user should click. You
    can create your own. All you need is a bitmap image. Once you do
    this and republish and reinsert, the loading screen should appear
    and indicate you can click.
    Cheers... Rick

  • Embedding swf into Flex Desktop Application size/scale problem.

    Hello,
    I am embedding an swf animation into my desktop Flex desktop application. I am using SDK 4.6.0. I use the SWFLoader to embed the animation:
    <s:SWFLoader source="img/mch_anim_1.swf"/>
    When I run the application, the animation is loaded and is working, but when I try to maximize the window there is a size/scale bug that happens. The screen  stays half-side maximized (maximized to the top, bottom and stays until the middle of the screen by side).
    I've published the SWF for Flash Player 8 and Actionscript 2 just to test and there was no problem with the size/scale, but I need to use Actionscript 3.
    Any suggestions?
    Thanks in advance,
    Stefan

    I found the problem!
    There was a line of code that was auto-generated from using a template out of Flash CS6. The line of code that caused it is:
    stage.scaleMode = StageScaleMode.SHOW_ALL;
    After deleting it, everything is now working properly.
    Greetings!

  • 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/jztpnlb3a

    No. 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 an interactive flash into Authorware

    I want to embed a flash interactive into Authorware (see:
    http://www.cellsalive.com/meiosis.htm
    In the past I embedded a basic Flash animation into
    Authorware and it seem to work ok. I'm not sure of more complex
    ones i.e. that have interactive controls etc. I assume its not so
    simple as to embed into authorware. Is it the case that it is
    doable, but requires some configuration/programming? Or does it
    work be simply embedding the complex interactive flash into
    authorware?
    thanks in advance
    Jon

    webacity wrote:
    > I want to embed a flash interactive into Authorware
    (see:
    >
    http://www.cellsalive.com/meiosis.htm
    > In the past I embedded a basic Flash animation into
    Authorware and it seem to
    > work ok. I'm not sure of more complex ones i.e. that
    have interactive controls
    > etc. I assume its not so simple as to embed into
    authorware. Is it the case
    > that it is doable, but requires some
    configuration/programming? Or does it work
    > be simply embedding the complex interactive flash into
    authorware?
    >
    > thanks in advance
    > Jon
    >
    If the flash file id published for player version 6 (or
    earlier) then
    you can embed it using the Flash Asset Xtra, probably in the
    same way as
    you have before. If it is a later version you will need to
    use the
    Flash player ActiveX control.
    Mark

  • What is the use of embedding Xcelsius Swf file in to Crysatl report?

    Hi all,
    I read some documents related to this integration, but still am in a confusion about the final purpose.
    Can any of you answer my question patiently?
    1.Is the embedded SWF acts just like a static object (just like a SWF)?
    2.If, I embed a swf file in CR 2008, Will both have any interactivity between those two?
    I mean, if I change the source data for CR , will the data SWF be changed? (If I have same columns like Country, Sales)
    3.How the interactivity will work..? From SWF to Crystal data OR Crystal data to SWF (as I asked above).
    4.I read BO doc with an example, but its not clear up to my doubts.
    It would be thank full if any of you spend your time for a clear description.
    Thank you,
    Krishna Pingali
    Dell India.

    Hi Mathew,
        The Convert to Formula in Excel Allows you to Convert you Embedded Bex Query into API Calls. This enables you to Better Format the Excel Output by allowing you to move your Cells Around.
    This helps because when you refresh you Query all the Changes you make will be maintained.
    [More Info on Working with Formula|http://help.sap.com/saphelp_nw70/helpdata/EN/d3/015369f54f4a0ca19b28c1b45acf00/content.htm]
    Hope this Helps
    Datta.

  • Interactive swf-Import fails....

    Hi!
    This might be a silly question.....But I am confused.
    I created a little interactive game in flash and imported the game into my captivate projekt (Captivate 4). But after publishing the game will not start (it should start with a mouse-click on it).
    I double checked everthing, playerversion (8), AS-Version (AS2), fps (15).....
    Is it posible that it will just not work? Is there a work-around? Create a widget??? Where do I insert my code?
    I am sorry to ask..
    Greetings from Berlin,
    Lilly

    Hi Lilly,
    I am reall sorry to hear that you have encountered issues importing your interactive swf files into Adobe Captivate. Unfortunately the only suggestion I can make it to post this question to the Advanced Adobe Captivate Users forum,
    http://forums.adobe.com/community/adobe_captivate/adobe_captivate_advanced
    I am sure some one there can help you out.
    Best regards,
    Mark

  • Embedding a .swf published in Catalyst in another Catalyst project

    Ok,
    i've been trying different things but now i can't figure it out.
    It's actually a school assignement where we have to create an interface similar to a smartphone.
    Me and my partner decided to create a Catalyst project for each page and publish each of them in swf. Then, we wanted to create a main Catalyst project that was embedding each swf in different states.
    BUT
    It just doesn't work! The embedding doesn't work.
    Is the swf published in Catalyst actually  compatible to embed in Catalyst?
    Thanks!

    A custom component is like other components like buttons, scrollbars, etc.  except you get to define all the behaviors and states.
    Try this
    1. draw a sqaure
    2. right click and choose Convert Artwork to Component > Custom Component
    3. Now double-click the custom component to edit it
    4. Create a few states and modify the square in each state
    5. to exit editing the custom component double-click the white area of the artboard
    6. Now add a button to the app
    7. With the button selected go to the Interactions panel and choose "On Click, Play Transition to State" and pick a state of your custom component.
    Notice that in this example the application only has one state, but a custom component with multiple states was able to capture different appearances of the app.
    You can think of designing your app by breaking down the functional parts into custom components. For example: navigation bar, content area, ad area, etc.
    Regarding "export library":
    After creating a custom component or customizing a built-in component like button you will notice that the library will contain an item representing the definition of that component. When you export as an fxpl file, all components in your library are exported.
    Ty

  • Swf into pdf

    Hi there
    This is my first post, so please be kind
    I I am trying to create a pdf with page curl as it is easier for clients to view a design than in a conventional pdf.
    I have been following the steps in this rather helpful video http://tv.adobe.com/watch/csinsider-design/indesign-creating-interactive-pdfs-with-page-tu rn-and-flash-animations/ and can create a working swf file.  I then place it in the document and export it as a pdf as per the instructions and the pdf it creates is blank  
    Has anyone had any success with this?  Any pointers/common errors/stupid user issues to be aware of.  I am new to In Design too, so maybe I am doing something wrong?
    If all else fails how do I contact the guy who made the video?
    Thanks

    You will need to use Acrobat to insert a Flash file (pagecurl swf) into a pdf and have it function properly. There are some alternatives, send the standalone swf, but this requires recipient to have Flash Player to view. Upload swf and html to a site, if you have access, then send a link.

  • 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!

  • Unable to apply embedded font swf to text in text layout framework

    Hello,
    We have created a swf for a given font (for e.g., Calibri.swf) which contains all the styles (Regular, Italic, Bold, BoldItalic).
    We have created a xml which lists the name of the font and the corresponding swf file path. The names from the xml are loaded into a combo box in the application.
    When we try to apply the selected font to a text in the text layout framework, it does not apply the same. It sets the font to default "Times" font.
    Following is a snippet of code to apply the font to the text:
    private function selectFont(fontXML:XML):void {               
                    var path:String = fontXML.@source;
                    var myEvent:IEventDispatcher = styleManager.loadStyleDeclarations(FlexGlobals.topLevelApplication.url.substring(0,FlexGl obals.topLevelApplication.url.lastIndexOf("/"))+"/"+path);
                    myEvent.addEventListener(StyleEvent.COMPLETE, function(event:StyleEvent):void{
                        var editManager:EditManager = textFlow.interactionManager as EditManager;
                        var itextLayout:TextLayoutFormat = new TextLayoutFormat();
                        itextLayout.fontSize = 20;
                        var fontName:String = fontXML.@name;
                        Alert.show(fontName);
                        itextLayout.fontFamily = fontName;   
                        Alert.show( "itext = " + itextLayout.fontFamily);
                        editManager.applyFormat(itextLayout,itextLayout,itextLayout);
                        var flowLeafElement:FlowElement = textFlow.findLeaf(editManager.anchorPosition) as FlowElement;
                        editManager.changeStyleName(fontName,flowLeafElement);
    Can anyone please let us know what is missing in the implementation?
    Thanks in advance.
    Vikram

    My recommendation: unless you really care about ISWFContext implementations and the application domain issues, ignore Alex's post about embedded fonts.
    It is a nice discussion about the inner workings of the domain and security of how this works but it is imho broken and is an insane concept to require an ISWFContext to just use an embedded font. It also breaks runtime CSS loading that has fonts embedded in it because the Flex compiler (last I checked) was also busted – it doesn't include the function necessary to create within context the font embed so that it may be applied. You can't create an ISWFContext with a compiled CSS file.
    These issues were introduced in the last Flex SDK beta before FB4 was released in final form. There are multiple bugs logged against the issue of applying loaded font files to TLF text (in short, SWFContext is broken and you have to override GlobalSettings.resolveFontLookupFunction to return embedded or null, all the time).
    Here's some more details to get you started - with links to at least one of the SDK bugs that were filed:
    http://forums.adobe.com/message/2656152
    For example:
    import flashx.textLayout.elements.GlobalSettings;
    import flash.text.engine.FontLookup;
    GlobalSettings.resolveFontLookupFunction = function makeValid():String { return FontLookup.EMBEDDED_CFF };
    And you may need to do this after your font is loaded:
    yourTextBlock.textFlow.invalidateAllFormats();
    Disclaimer: I haven't seen the latest Flex SDK release to see if this was fixed. I have an AIR application with native process that builds embedded font SWF files for use and stub code for FB4 usage but haven't updated to the latest SDK yet to see if it's working properly.
    Anyhow, your best bet is to look at the Flash Builder forums. I think this is/was a Flex team issue, not TLF.

Maybe you are looking for