I want to load external content, which is a dynamic animation containing scripts js and css.

Edge Animate CC 2014 - code (eg. compositionReady). How to enter the code to work.
Edge Animate - compositionReady
sym.$("container01").load("page.html #box01");
This is the file to be loaded - page.htm
<head>
<script src="http://example.com/inc/carousel.js?ver=4.1"></script>
</head>
Body
<body>
<div id="box01">
<style type="text/css" media="screen">
  #box01 { height: 1%; margin: 30px 0 0; overflow:hidden; position: relative; padding: 0 50px 10px;   }
  </style>
<script>
jQuery(document).ready(function(){jQuery('#gallery').carousel({ buttons: true, interval: true, });});
</script>
</div>
</body>
On the page.html and ID = "box01" is dynamic content (gallery)
which loads a by means of an additional js script.
How do I load the page to see it animate edge?
I load through an iframe, but I need only a part of the page. So one div.
Something is missing, as in this writing is not working.
Is loaded into the container only one photo and no animation offset.
I greet.

If you're using Fluid Grid Layouts, none of these methods will work.  I think the very best you can do is determine the min-height required for desktops & tablets.  Mobile devices don't need min-height because those divisions will stack on top of each other.
To illustrate with a working example,
http://alt-web.com/FluidGrid/Fluid2.html
The relevant CSS code:
/* Special Rules for Tablets */
@media only screen and (min-width: 481px) {
.gridContainer >div {min-height: 255px;}
/* Special Rules for Desktops */
@media only screen and (min-width: 1025px) {
.gridContainer >div {min-height: 325px;}
Nancy O.

Similar Messages

  • Load external content

    Hello everyone
    I want to know that with flex mobile development can we load external content like unity3d, .apk or .ipa, video files or html file from sd card or internal memory of device.If possible then some one can please tell me how to do this or possible. Can i use same project for android, ios and blackberry platform.
    Thanking you

    Chris,
    Thank you for the information, that is very helpful and certainly gets me in the right direction.  I have one other question and cannot seem to find the answer on this forum or by search the Internet. One of the features that Air 2 is suppose to have is the ability to print w/o showing the dialog.  Any idea where an example of that is?
    Please forgive me if I overlooked it but I have spent some time looking for this and could not find something or could not see how it was done via the docs.
    Thanks again!
    Jason

  • I want to load external swf in movieclip and next external swf should load Automatically

    I want to load external swf in movieclip and next external swf should load Automatically when current swf is finished in AS3.
    How can we can check total frame and current frame of imported swf in a movie clip.
    any help will be appreciated
    regards,
    Jatin Dembla

    in as3 you use the loader class (not movieclips) to load external swfs.
    you can use an Event.COMPLETE event listener (applied to the loader's contentLoaderInfo property) to check when loading is complete and start the next swf loading.
    you can use the loader's content property (caste as a movieclip) to determine info (including totalFrames) about the loaded swf's main timelnie (once loading is initialized, for the totalFrames, or complete, for some other properties like height and width).
    var loader:Loader=new Loader();
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE,loadcompleteF);
    loader.load(new URLRequest("swf1.swf"));
    var loadedSWF:MovieClip;
    function loadcompleteF(e:Event):void{
    loadedSWF=MovieClip(loader.content);
    trace(loadedSWF.totalFrames);

  • HT1338 not able to access my external hd which i used on my windows pc ntfs3g and mac fuse aren't helping what to do?

    not able to access my external hd which i used on my windows pc ntfs3g and mac fuse aren't helping what to do?

    Bump-I still really need help with this! The connection keeps cutting in and out and I really don't know how to fix it!

  • Flash cs4 mac - Error opening URL '/:Users:someting.swf' - Not a "loading external content" problem

    Hello.
    I am having a weird problem when trying to test a movie or publish preview -> flash on mac with Leopard os.
    The result is a blank movie with the usuall "movie not loaded" if u right click on it and the output returns the "Error opening URL 'the path of the swf here'.
    This has nothing to do with loading external files or something like that. It happens even in blank movies and it gives the same error if I try to open a swf from flash ide.
    I can publish the project or export the movie with no problem at all.
    I can preview the movie in html. I can run all the swf files in my hard disk, network, usb stick, dvd etc., but when I try to open any of these files from flash ide I got that stupid error.
    Its not something that stops me from working in flash ide but its slow to export movie any time I want to test it.
    Things that I've tried so far but nothing worked:
    Update the flash cs4 to the latest version
    Update the flash players
    Restored the release flash player as default player (I am using as default the debug player)
    Cleared the preferences
    Move the flash cs4 folder to another location in hd
    Saved the fla document first before testing the movie (in different places with or without spaces in document name or folder)
    Give read & write permissions for everyone for flash.app, players and for fla files when saved first before test movie
    Unistall and install the application 3-4 times.
    Test every as version just in case.
    Also I've checked the folders when testing movie and I can see that it creates an swf file, which I can run it outside flash ide (the one that the flash ide player cannot load) with no problem.
    The mac os has the default set up as it came. Nothing chnaged in permissions or security settings.
    Thanx in advance.

    In this particular example I am using this code to start the
    xml file load:
    // now load the XML file that contains the content strings
    var sXMLFile:String = "xml/home.xml";
    var xmlContent:XML = new XML();
    xmlContent.ignoreWhite = true;
    xmlContent.onLoad = onXMLLoadComplete;
    xmlContent.load( sXMLFile );
    But I don’t think the code is the problem here . This
    happens on every file I load when I am using a relative path to the
    content, regardless of how I load the content (XML object,
    loadMovie, MovieClipLoader, etc…) and the same code executes
    perfectly on every other machine in the office(Mac and PC).
    I’m more concerned with the semi-colons and .swf filename
    that Flash is putting into my relative path on the error message.
    Is that normal?

  • Unable to load external swf which has runtime sharing with another swf.

    Hi,
    I am getting issues on loading external swf say "importer.swf" file into another swf file say "loader.swf" for second time like
    ReferenceError: Error #1065: Variable testSymbol is not defined. VerifyError: Error #1014: Class testClass could not be found.
    at global$init()
    In the external swf "importer.swf", i am trying to import the symbol "testSymbol" from another swf file say "exporter.swf", which exports through runtime sharing option for the symbols.
    I am having some buttons in loader.swf file and on each button click i am loading different swf files into the loader.swf after unloading the previous one.
    I am able to load and unload different swf files but unable to load the importer.swf file which is sharing symbols from external swf and that too for the second time i.e., when i click the button twice.
    When trying to debug with flash debugger, all the other swf files are being unloaded before loading of another swf but the swf which is sharing symbols/classes with another swf is not getting unloaded.
    Output when i am trying to load two files example and importer files into loader.swf file on two different button clicks. On first button click example.swf is loaded. On second button click , example.swf is unloaded and importer.swf is loaded which is successful. On first button click again importer.swf is unloaded and example.swf is loaded. On second button click again, example.swf is unloaded and importer.swf is loaded, here i am getting issues shown above.
    Attemping to launch and connect to Player using URL D:\runtime issue\loader.swf
    [SWF] D:\runtime issue\ loader.swf - 8181 bytes after decompression
    [SWF] D:\runtime issue\example.swf - 441708 bytes after decompression
    [UnloadSWF] D:\runtime issue\example.swf
    [SWF] D:\runtime issue\importer.swf - 1920 bytes after decompression
    [SWF] D:\runtime issue\importer.swf - 441708 bytes after decompression
    [SWF] D:\runtime issue\ example.swf - 441708 bytes after decompression
    [UnloadSWF] D:\runtime issue\ example.swf
    [SWF] D:\runtime issue\importer.swf - 1920 bytes after decompression
    ReferenceError: Error #1065: Variable xxxxxx is not defined.
    Debug session terminated.
    Code i am using
    b1.addEventListener(MouseEvent.CLICK, b1Clicked);
    b2.addEventListener(MouseEvent.CLICK, b2Clicked);
    var ldr:Loader;
    function b2Clicked(e:MouseEvent)
        if(ldr != null)
            ldr.unloadAndStop(true);
        ldr = new Loader();
        ldr.load(new URLRequest("importer.swf"));
        addChild(ldr);
    function b1Clicked(e:MouseEvent)
        if(ldr != null)
            ldr.unloadAndStop(true);
        ldr = new Loader();
        ldr.load(new URLRequest("example.swf"));
        addChild(ldr);
    If i try to open the swf using IE, i am not getting any issues at all. But i need to open this loader.swf in a air application. Also when i use loaderContext for the loader instance i am able to get rid of this issue but i cant use it in my application.
    So, please help me in resolving this issue.
    Thanks

    I got my answer. I had to append the photo url to the 'movie' value of the javascript embed method. Like this:
    <script language="JavaScript" type="text/javascript">
       AC_FL_RunContent(
          'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
          'width', '550',
          'height', '400',
          'src', 'lesson2',
          'quality', 'high',
          'pluginspage', 'http://www.adobe.com/go/getflashplayer',
          'align', 'middle',
          'play', 'true',
          'loop', 'true',
          'scale', 'showall',
          'wmode', 'window',
          'devicefont', 'false',
          'id', 'lesson2',
          'bgcolor', '#ffffff',
          'name', 'lesson2',
          'menu', 'true',
          'allowFullScreen', 'false',
          'allowScriptAccess','always',
          'movie', 'lesson2?photo=http://www.flash-mx.com/images/image1.jpg',
          'salign', ''
          ); //end AC code
    </script>
    Thanks,
    srb.

  • Flash CD loading external content (in the CD) adress problem

    Hi
    I have a CD and have all my files in it and I want to load them into my flash file, how can I do it?

    Hi
    Thanks for the help, really, but I`ve foudn my solution now...
    I had tryed this once, but it didn`t work, I don`t know why. But all I need  to do is load within a movie clip (not components) with the function:
    MyInstanceName.loadMovie ("Img/MyExternalImage.jpg");
    But thanks anyway
    Chears

  • Net stream glitch when loading external content

    I have a program that plays an FLV using netStream and has cue points embedded which trigger the loading of external graphics.  If the code for loading the external graphics is commented out the video plays normally.  However, if the code to load the external graphics is left in, each time a graphic is loaded the video appears to stop and start.  Has anyone experienced similar issues and/or have any suggestions.
    FYI, I built the program using a FLVplayback instance on stage and there is no glitch when the images load, but I have a lot of other things built using the nestStream class so I'd prefer to do it that way.

    In considering kglad's comment about streaming capacity I starting running a brief test whereby the external graphics would be loaded into the flash file and attached using the attachMovie method rather than loaded using the loadMovie method.  In doing so, I found the offending code. 
    The code was borrowed from a previous program that streamed a number of videos of different sizes.  To make a long story short, for that project I was setting the video player visibility to false each time a new video loaded and this was done where the loader was given the loadMovie command.  Visibility was turned on when the loader issued the onLoadComplete call.  So I got exactly what I was asking for a momentary interruption in the visibility of the video.

  • I want to add header to a file. Header must contain date/time and scan rate (it's a DAQ vi)

    I managed to solve the problem using solution in attachment, but it looks quite primitive...
    Additional problem:
    Suppose the case:
    Acquisition 1 --> header and results are written in "results.lvm"
    Acquisition 2 --> I want new data to be written in the same destination file "results.lvm" (append to the file). But I need the header to know when Acquisition 2 begins. Unfortunately, what happens is that new data are appended immediately after old data; header is updated at the top of the page and information on Acquisition 2 replaces that one on Acquisition 1.
    Here is the reason because I need a more efficient header maker.
    Attachments:
    attachement.vi ‏15 KB
    data5_h.lvm ‏1 KB

    I looked at the VI, and you should not think that it is bad. It works and there is nothing simplier you can do to format the header.
    working simple solution=good solution
    I think that you may want to reapproach writing the data to file. The customization you want in the saved file will require extensive recoding of several VIs. Have you considered just writing your own algorithm for recording data? It is not difficult to learn the basic techniques then you can modify it all you want. Look on the string palette and the shipping examples for writing text to file.

  • How to load a class , which isn't in the classpath environment variable.

    Hi, you folks.
    I have one problem. I want to load a class, which isn't in the classpath
    environment variable and I don't want to put into classpath. which method
    JVM can use to load it?
    Waitting for your sage advice.
    Regareds
    Hunter.Xiao

    You will have to write your own ClassLoader, or use something like URLClassLoader (I've never used this myself, but I've seen it mentioned elsewhere in this forum). Look here.

  • Loading External SWF - Problem

    Hi,
    Using MovieClipLoader I want to load external SWFs - and it
    is working fine
    if external swf doesn't have anything outside it's stage,
    otherwise it shows
    everything - that's the problem.
    For example, external swf's stage dimensions are 100x150, but
    it has some
    timeline animation (some objects scrolling through the stage,
    some bouncing
    text animation that sometimes goes off-stage, etc..).
    So when I load this external movie (banner.swf), I can see
    all these objects
    that were bouncing outside this 100x150 area (the stage of
    banner). Even
    more - the size of loaded movie is larger than 100x150px
    (because of these
    off-stage objects that are now visible). This way I'm getting
    positioning
    problems, too.
    var mcl:MovieClipLoader = new MovieClipLoader();
    mcl.loadClip("banner.swf", holder);
    mcl.addListener(listener);
    holder._x = Stage.width/2 - holder._width/2;
    holder._y = Stage.height/2 - holder._height/2;
    Thanks in advance,
    B.

    Hi kglad,
    Does doing that takes only into account width and height of the stage, or also considers off stage items (as in the initial question)?
    I am also looking at this issue and we can't have all the content providers modify their pre-existing flash applications to be displayed in the appropiate scale. We are looking to any of the following:
    find a way to get adobe air/flash to not consider the off stage elements on the width/height we set to the movie.
    find a way to get the stage size from the external movie and use that to auto calculate the resize needed.
    any other alternative that allows to have the same end result, which is loading up the external content at the size we specify and displaying well. We can actually hide content outside the stage, but we still need to know the appropiate scale / size to apply to the movie so what's visible matches the are where we want to show the content.

  • Unable to unload external swf which is using runtime sharing

    Unable to unload external swf which is using runtime sharing of some symbols and classes.
    Due to this problem i am unable to load another swf or the same for the second time and getting errors at runtime.
    It works fine when the swf is opened in IE.
    Can anyone please help me in solving the issue.

    thank you
    i have tried to use   this.parent.Click_To_Close  but it gives compilation error
    i checked the tutorial about custom events i think its little complex for me now to understand the typeriter app.
    also i cheked the similer thread and tried to test that code myself..i found that the last block of main movie does not works and does not unload the loader2. however  all the trace are showing in the output windows that i added to check the code but last trace from the main movie is not showig...   
    trace("child removed from Main Movie") 
    so if this can work somehow i will use this method of event dispatch in my application that i am working...
    Thank you
    -----main movie ---------
    var loader1:Loader = new Loader();
    var loader2:Loader = new Loader();
    loader1.contentLoaderInfo.addEventListener(Event.COMPLETE, assignMovie1Listener);
    loader1.load(new URLRequest("movie_1.swf"));
    loader2.load(new URLRequest("movie_2.swf"));
    addChild(loader1);
    addChild(loader2);
    function assignMovie1Listener(evt:Event):void {
          MovieClip(evt.currentTarget.content).addEventListener("eventTriggered", removeLoader2);
                trace("listner is listning..")
    function removeLoader2(evt:Event):void {
          loader2.unloadAndStop();
          removeChild(loader2);
             loader2 = null;
                trace("child removed from Main Movie")
    //------------- movie_1.swf code:
    removeMovie2_btn.addEventListener(MouseEvent.CLICK , removeMovie2);
    function removeMovie2(event:MouseEvent):void
          dispatchEvent(new Event("eventTriggered"));
                trace("event triggered form Child Movie-1");
    as u can see when i click close button its triggering the trace from movie-1 but its not unloadign the movie2

  • HELP PLEASE - loading external swf scale problem

    I have a Flex 3 Actionscript Project. Basically all it does it take some flash vars, set the sound volume,  and load an external swf using a loader and add the loader as a child. The problem is I want the loaded external swf to be scaled to fill the entire stage, even if it distorts it, and that doesn't seem to be happening.
    I really need to resolve this. ANY HELP APPRECIATED.
    Marcus

    Thanks for the reply!
    Here's basically what my code looks like (note: I cut some stuff out that wasn't relevant for the sake of clarity).
    private var swfLoader:Loader = null;
    public function MySwfContainer()  
        stage.scaleMode = StageScaleMode.EXACT_FIT;
        stage.align = StageAlign.TOP_LEFT;
        var request:URLRequest = new URLRequest(swfUrl);
        swfLoader = new Loader();
        swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,SWFLoader_Complete);
        swfLoader.load(request);       
    private function SWFLoader_Complete(event:Event):void
        addChild(swfLoader);
    What I am observing is that if a swf larger than the stage area is loaded it clips it rather than scale it down and make it fit.
    Marcus

  • Load external SWF's help

    I am using this thumbnail gallery attached but instead of loading images through the xml I want to load external SWF'S. I also want to be able to control each SWF loaded in individually apparently in order to do that I need to give the container different instance names..however I don't know how to extend the code inorder to achieve this..can anyone help?

    Hello Kglad,
    Thank you for the swift reply, I don't know how to apply this to my code. At the moment it loads in images but it will load in external SWF's I pressume this is the section of code relevant;
    function thumbnailer(k){
    total_thumbs = _global.total;
    var container = thumbnail_mc.createEmptyMovieClip("th"+k,thumbnail_mc.getNextHighestDepth());
    container._visible=false;
    container._alpha=0;
    var image = container.createEmptyMovieClip("img", container.getNextHighestDepth());
    tlistener = new Object();
    tlistener.onLoadInit = function(target_mc) {
      target_mc.pictureValue = k;
      target_mc.onRollOver = function() {
       this._alpha = 50;
      target_mc.onRollOut = function() {
       this._alpha = 100;
    image_mcl = new MovieClipLoader();
    image_mcl.addListener(tlistener);
    image_mcl.loadClip(thumbnails[k], "thumbnail_mc.th"+k+".img");

  • Access issue relating to external content types

    Hi,
    I was recently given permissions in the Central Administration to edit external content types. However, when I open Sharepoint Designer and click on External Content types, I am unable to view the existing external content types that was created by another
    site collection admin. The message I see is "There are no items to show in this view." I have the same permission level as this admin.
    Any suggestion in regards to resolving this?
    Thanks in advance!
    Vidya

    Hi  Vidya,
    For your issue, please confirm below check list:
    Do you have permission to access the Business Data Connectivity Service? You can verify this by trying to open Business Data Connectivity Service management page of Central Administration  in the Browser.
    If you cannot open, please ask permission for yourself from the farm administrator. Reference:
    Business Connectivity Services security overview.
    Do you have Edit , Execute and Selectable In Clients   permissions for the external content type you want to view? If not, please ask permissions for yourself. Reference:
    Set Permissions to External Content Type using PowerShell.
    If the issue persists, please go to Central Administration->Application Management ->Manage services on server,  restart the Business Data Connectivity Service.
    Reference:
    External content types: There are no items to show in this view
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

Maybe you are looking for