SWF inside Edge

Seems like there's nothing similar to this subject on the forum, so here's the thing:
I've created a streetview like animation in Flash, but I want to import that to my Egde website. It's possible to embed the .swf file via HTML, but how can I place the .swf within Edge on a certain place on the timeline?

stage_url_loader.load(new URLRequest("yourswfwhichcontainsbtn1,btn2etc.swf"));
stage_url_loader.contentLoaderInfo.addEventListener(Event.COMPLETE,loadcompleteF);
function loadcompleteF(e:Event){
MovieClip(stage_url_loader.content).btn1.addEventListener(MouseEvent.CLICK,stage_zoom);
 function stage_zoom(e:Event){
// do whatever

Similar Messages

  • Having stopped audio with a swf inside a sidelet can someone create a swf that will resume the audio

    Ok, rick is going to post the fla of this file and I will
    post the swf. Basically this is all about having a slide that has
    audio running all the way through and enabling the user to roll
    over a sidelet and have the video and audio stop playback.
    At present, the max you can achieve is, to stop video. The
    audio keeps going and of course everything gets out of
    sync. Rick has create a swf that you input into a sidelet (
    after having imported your image or video ) which stops the audio.
    Fantasitc. Unfortunatly he was not successful in creating a swf
    that will resume the audio.
    So there is the mission. To create something that will resume
    the audio, be it a swf inside the sidelet or something else.

    Hi there paul. Am I right in thinking that your code will
    mute the audio. In my situation this would cause problems becasue
    you would roll over the sidelet - the audio would go silent and
    when you rolled off, or resumed the audio, it would have been
    playing so again the video and audio will be out of sync.
    Rick - rather than another swf which would activate the audio
    and video when you roll off the sidelet ( while that is the perfect
    solution ) what about looking at a button the user can press to
    resume things, maybe Im wrong but that sounds a little easier.
    ( however for all those reading this that is not really the
    solution I am looking for, what Im looking for is the above
    solution where you can just roll off and on and so on )

  • Load and resize a SWF inside a MC

    Hi,
    I'm using AS2 to load an SWF inside an MC. The MC measures
    800x600, while the SWF (which can vary in size) measures in this
    case 14x60, even though, looking at it, it seems to be about half
    the size of the hosting MC. This makes me think that the dimension
    scales are different. I'm loading the SWF using MovieClipLoader and
    I'd like to resize it so that it fits as proportionally snug as
    possible within the MC. How can I do this? If I try to resize the
    SWF to the MC's dimensions, it become way too large and goes off
    screen. If instead I try to rescale the hosting MC to fit around
    the SWF, the SWF itself rescales as well. I'm going nuts! How can
    accomplish this?
    Thank you,
    Tatiana

    To make things simple, I'd like to take an existing SWF (the
    picture) and load it into a FIXED SIZED MC (the frame) and I'd like
    to rescale the SWF so that it fits perfectly into the frame.
    By all means, I know that what you said should work and I
    admit my inexperience with AS2, but somehow the SWF's I'm loading
    in, have scales that are totally different with respect to my
    Stage. I even tried loading the SWF directly onto the stage and
    then I loaded the frame separately onto the stage and tried to
    resize it to the SWF's _width and _height. The frame became a tiny
    dot on the screen, while the SWF filled half of my Stage.
    Thanks again for your help.

  • Loading a SWF inside another SWF question

    Hello friends,
    1. (IMPORTANT) As all we know when putting some Flash SWF
    inside an HTML page, normally it starts playing as soon as its
    first frame is loaded.
    Now in my case I have to load a SWF (let call it Flash A)
    inside another Flash, I used mx.controls.Loader control to do this.
    But this internal loaded SWF (Flash A) doesn't display untill it is
    completely loaded. Although what is interesting is that if it
    contains a sound track I can hear it while it is being loaded.
    I wana know is there any way that we can make this Flash
    display while being still loaded.
    2. Is there anyway to change a Flash playback FPS at runtime?
    Thank you so much for any note and help.
    - M

    damatrixhasu wrote:
    > i want to know how i can load a flash inside another
    flash container
    go to help - search for 'loadmovie'
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • AS3 SWF inside Director 11.5.9 quirk

    I've previously used AS2 SWFs inside Director 11.5.9, and the SWFs work fine, actionscript works as it should.
    I'm working on a project where I need to use some AS3 SWFs inside Director, and I've come across a limit on the pixel width and height of the SWF. It seems that if either the pixel width or height of the published SWF are greater than 1638, then any actionscript inside the SWF is ignored when the SWF is loaded into director. The SWF still works ok outside of Director.
    For example, any actionscript stop(); commands are ignored and the playback continuously loops through the swf timeline.
    Has anyone come across this before?
    I am almost 100% certain this issue is related to the pixel width / height, as I've made a simple button navigation swf, and published it with different stage sizes. 1638 or less work inside Director, 1639 or more don't work inside Director!

    Made me laugh until I cried...
    Or did I just cry? :(
    Cruel but funny!
    Richard

  • Give commands to MUSE widgets inside EDGE is possible?

    Hi. I love designing with Muse and Edge. Wouldn'it be just great if I could controll Muse widgets inside my Edge elements? I tried tracking the Muse document and calling the functions inside Edge using jquery but it didn't work. Is there a way for this?
    Any help would be appreciated.

    While multiadressing may get you "synchronous" enough it's by no means a guarantee that both instruments will really react equally fast when receiving the trigger command over the GPIB bus. For true hardware synchronized operation you will have to use the trigger bus on the back of the device to connect them together, select one of the 4 trigger lines to use and set them up correctly on both instruments, one as input and one as output and then send the trigger command to the device that drives the trigger line. That will give you synchronisation to microseconds accurate. GPIB multi addressing will be in the range of several milliseconds and sequential GPIB in the range of maybe 100 milliseconds. 
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Cropping inside edge in Book

    I've been doing books for a long time, but for some reason on this last one, the photo layouts seem to be cropping a lot more on the inside edge of the photo (by the spine). This is especially a problem for portrait shots when there are only two on a page. I have tried everything from ensuring a 4:3 aspect ratio crop prior to placing the photo, custom cropping. Double clicking and then trying to move the photo with the hand (this only seems to work vertically on portrait photos). I've also tried fit to page, which reduces the photo to create space on the other side, leaving the crop.
    Is there any way of shifting/moving the photo around in the frame so I can decide where the crop is occuring (like the move feature, but one that works)? Like that I can just make the effective crop on the other less important side?
    Thanks

    What theme are you using? In those themes that run the photo right to the left of the page, I'm not sure if changing the bleed on the page would help. The bleed is the amount of the page is sized greater than the final size so when cut the picture will extend all the way to the edge. A minus bleed may make the page size less than the paper size and move the photos away from the edges. That might help the side at the binding but would move everything else in also. This is just conjecture. That preference can be changed using Pref Setter. You might give it a try and go thru the ordering process, stoping after the book has been assembled. Then find the pdf file that iPhoto creates and copy to the desktop. Then abort the ordering process. That pdf file often will contain the crop marks for the pages and you may see if the bleed change worked.
    Otherwise you could use a 3rd party editor like Photoshop or Photoshop Elements to create a 11 x 8.5 canvas and copy and past your photos on it, placing them where you think they will avoid the binding. Then use that file on a 1 photo/page layout in the book.
    Hope this has been of some help. Good luck.
    OT

  • Flash SWF inside Masthead

    Hello,
    I am trying to create a masthead with a SWF inside of it.
    So far I try this:
    1.- Put the swf inside dist/images/equipo.swf
    2.- in the HeaderiView.jsp this code:
    <%
    String swfUrl= componentRequest.getWebResourcePath()+"/images/equipo.swf";
    %>
    <TD>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="800" height="200" id="equipo" align="middle">          
         <param name="allowScriptAccess" value="sameDomain" />
         <param name="movie" value="<%=swfUrl%>"/>
         <param name="quality" value="high"/>
         <param name="bgcolor" value="#ffffff"/>
    <embed src="<%=swfUrl%>" quality="high" bgcolor="#ffffff" width="800" height="200" name="equipo" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"/>
    </object>
    </TD>
    When I do preview of this iView, I got the space for my swf but all blank, this means, the swf is not running.
    Any ideas?
    Regards,
    Orlando Covault.

    Hi Orlando,
    could you try the same code for a normal image file? Just to check whether its a problem with the SWF or with location & path of the image. If the path does not work properly for normal image too you can use the following code to access an image or SWF.
    IResource resource = request.getResource("image","images/myImage.gif").getResourceInformation().getURL(request);
    Let us know whether this helps or not.
    Regards,
    Shubho

  • Call Flex swf inside extension object

    Hi,
    I am building a user application using Flex 3.  The application allows user to input information using input components such as text areas, etc.  The application will create an xml file from user info.  The application needs to save xml file in user's local hard drive.  For user convenience, we want to be able to call the application from inside a DW menu.  This requires an extension which implies installing an mxp.  To avoid multiple installs, we want to deliver the application inside the extension.  This involves creating an extension object that has my Flex app embedded in it.  I have been able to create the extension object, have it show up in my insert bar, and deliver my Flex swf inside the extension.  However, when I type inside a text area in my swf, I am not able to.  It acts as if disabled.  I explicitly set my text area as editable=true and enabled=true.  Why?  Here is my extension:
    <html>
    <head>
    <title>WBT Ouline Tool</title>
    <style>
    body { margin: 0px; overflow:hidden }
    </style>
    <script language="javascript" type="text/javascript">
    function createTextFile(textItem) {
      //future code to create xml file will go here.
      //it will use DW FILE I/O APIs
    </script>
    </head>
    <body>
    <form>
       <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
       id="wbtOutline" width="406" height="276"
       codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
       <param name="flashvars" value="bridgeName=wbtOutlinePanel"/>
                <param name="movie" value="wbtOutline.swf" />
       <param name="quality" value="high" />
       <param name="bgcolor" value="#869ca7" />
       <param name="allowScriptAccess" value="always" />
       <embed src="wbtOutline.swf" quality="high" bgcolor="#869ca7"
        width="406" height="276" name="wbtOutline" align="middle"
        flashvars="bridgeName=wbtOutlinePanel"
                    play="true"
        loop="false"
        quality="high"
        allowScriptAccess="always"
        type="application/x-shockwave-flash"
        pluginspage="http://www.adobe.com/go/getflashplayer">
       </embed>
    </object>
    </form>
    </body>
    </html>

    Do you know where I can find examples on how to use dreamweaver.flash.newControl()?
    I am still having no luck.  My control shows up but can not interact with it and external interface not available.

  • Interactive SWF inside DPS

    Hello everyone
    is it possible to add SWF files inside InDesign CS6 so user can view and interact with the SWF.
    thanks in advance

    No.
    SWF files are not supported in DPS or iOS. (I don't think Jelly Bean has the flash player pre-installed now either, correct me if I'm wrong please)
    You should start to look at Edge Animate for your animation etc, or there other HTML animation applications too.
    cheers
    Alistair

  • Print job best setup - inside edge bleed from facing pages?

    I'm putting together a 32pp A4 report with InDesign CS3 that will be printed from PDF in China.  I'm UK-based and I will be passing the file to the printers electronically.  I speak no Chinese, yet my client has an office in China and one of their staff (non-graphics expert) will be the middle man.
    At the moment I'm setting up my document with facing pages and 5mm bleed.  I recall from a recent UK print job using the same document setup that when I output to PDF with Use Document Bleed Settings ticked, the print bureau complained that images which filled one side of A4 and bled off outside/top/bottom of the page did not bleed off the inside.  I asked them how to give them what they needed and they said the facing spreads needed to be 'separated into single pages' before I made the PDF - this would enable bleed on all 4 sides. I didn't know how to do that and maintain facing pages to allow me to design on a spread-by-spread basis, so I asked them.  They couldn't tell me, so I left it as it was.  In the end they had to trim the pages slightly more on the inside to get rid of any white paper.
    I'm very keen to avoid any problems at all with this print job, so I want to get the setup and process right in my head from the start.
    So my question: how can I set this document up to minimise problems for the printer?  I don't mind if that involves another process before exporting, I just don't know what that might be.
    Many thanks.

    The way you have it setup is the correct way for Perfect Binding.
    The image that appears on the right hand page in the picture posted, that area actually goes into the spine area - look at any book that has a spine and see how deep the pages go into the spine.
    You will also notice that the image on the right hand page does not go past the crop mark - so in reality it's actually cropped off the page altogether, so there's no need to worry about it.
    What you have is perfect - for perfect binding (or saddle stitching)
    Don't worry about the script posted earlier - that is for a different type of binding.
    Sidenote
    When you make a PDF for printing make sure you offset your Crop Marks further than your bleed
    Bellow I've used points and pica (but you can use 5mm bleed and offset by 6mm)
    Reason:
    Crop marks
    are needed to trim the page to size when printed. As printers can't
    print right to edge of a sheet, and that it's near impossible to trim a
    sheet of paper right to the edge of a colour - the colour needs to
    extend past the crop line, this is called
    bleed.
    When you bleed the document, i.e., extend any item that is tucked right
    against the foredge (the edges opposite the spine), then you need to
    extend this object off the page into a "bleed" area.
    This allows for human error when trimming the paper, as each sheet is
    not trimmed individually (that would take forever!) they are stacked on
    top of each other and trimmed in stacks. It would be impossible to stack
    all the sheets exactly even, and there is movement on the press, so
    compensating for the movement and the fact they can never be stacked
    exactly even - for this reason you need objects to extend past the edge
    of the page.
    The crop marks
    tell the guillotine operator where to trim the sheet. Once they have
    the measurements in their guillotine machine it's a simple matter of
    rinse and repeat with as many stacks of paper there are.
    And printers can sometimes fold and trim a print job folding machine,
    and since it's a machine and you have to account for mechanical errors
    and human error, you need bleed too.
    Bleed is important - If you don't add bleed then the object stops at the
    foredge of the paper. And if the blade trims/crops close to the object
    but misses by a sliver - then you have a sliver of white on the printed
    piece, which is highly undesirable.
    So you need crop marks
    so the printers know where exactly to cut the paper, and to cut into
    the bleed so that you don't have slivers of white.
    And yes you need crop marks even if you don't have bleed, if you
    don't have any bleed it's likely that the edges of the paper are just
    white, so there are no markings where to cut to give the correct size
    that you want. So crop marks need to be included no matter what.
    And the placement of crop marks is important. As I said earlier, crop marks are
    for letting the guillotine operator know where to trim the page so that
    it cuts into the bleed area. The bleed area to allow for mechanical,
    physical and human error. And seen as the bleed can sometimes be
    included in a final printed piece it is not desirable to have anything
    other than bleed objects in the bleed area.
    For this reason you offset your crop marks to be outside the bleed area. As I'm in
    Europe I work mainly in millimeters, so I would set my Bleed Area to be 5
    mm and I would set my crop marks to Offset by 6mm.
    This ensures that the crop marks do not encroach the bleed area. If your crop  marks do
    encroach the bleed area you run the risk of the crop
    marks appearing on a final printed
    piece.
    So in Summary
    Make sure you have bleed where necessary on your document.
    Add the desired amount of bleed - in my case 5mm.
    Offset the crop marks
    so they don't encroach the bleed area - in my case 6mm.

  • Swf inside swf

    Hey.  I am loading an swf from inside an swf like so
    var my_loader:Loader = new Loader();
    var myString:String="clouds.swf";
    my_loader.load(new URLRequest(myString));
    cloudHolder.addChild(my_loader);
    When I display it in flash, it works fine.  However, if I upload this to a server, and view it on the internet, it does not display inside the swf.  Both files are in the same folder, so this shouldnt be the issue.  Is there something special i need to be doing if i am uploading this to a server?
    cheers

    Yes, when you have an swf file in an html page, any files that the swf loads need to be targeted as if that swf is in the same folder as the html file.  So if you have the two swf's in the same different folder, and your html file code uses... "subfolder/flashfile.swf" to target the file it loads, then your flashfile.swf would need to use "subfolder/otherfile.swf" to target the other swf.

  • Swf inside fla stage?

    Hello,
    I've tried searching on the net on how to do this and there are several answers but none worked for me.  I have a swf which I wish to insert inside the flash stage.  This swf is the airtight postcard viewer.  The stage is basically a picture of a table top table with the left side having some objects.  I want to be able to tween the postcard viewer onto the right side of the table so the pictures scatter out on the right 2/3 and not interfere with the objects or "fall off " the table...once the viewer is done looking at the gallery and click on another link, then all the pics move/tween out (onRelease) as a group out of the way and new contents tween in. 
    I've tried creating a new object, movie clip, while inside this instance I import onto stage the swf file and back out to scene 1 and place this object onto the stage but it doesnt work.  I can see the swf on the stage but it wont play!
    I get ghis error which said "statement must appear within on/onClip Event handler..."
    Please help, thank you!

    You will need to use loadMovie() to bring that, or any other, .swf into your current movie. To use loadMovie(), you will need to have a target movieClip on the stage. You will be loading the .swf into this target. Look at the online help for more information on this method.

  • .swf inside HtmlLoader appears on top of other air content

    When there is an HtmlLoader with a .swf wmode window the .swf file appears over top of everything!
    I understand that .swf should appear above everything inside the HtmlLoader, but I don't think it should appear over top of anything outside of the HtmlLoader.
    A simple example of this would be:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx">
    <mx:HTML location="http://youtube.com" width="100%" height="100%" />
    <s:Button width="300" height="300" label="should be over all html content, .swf in html appears over it. click and watch a youtube video to see." />
    </s:WindowedApplication>
    I NEED a fix to this~!
    Even placing a second HtmlLoader with an .swf wmode window over top produces random results with the top .swf sometimes on top and other times below the lower .swf

    As you have discovered, two elements on the surface of a <div> cannot occupy the same space. The solution lies in getting one of the elements to "lie down," either by getting it totally off the surface and making it a background of it or by actually "levitating" one above the other.
    Apply a unique id to each div in which an image now lies.
    Place each image in the background of its div, defining it in your CSS.
    You will not then be able to use the image as a button, and you may want to add something else to click on.
    OR (this second way is probably better)
    Change the .FilmStill definition by adding position: relative;
    Change the .SlantedWritingFilms definition by adding position: absolute; and positioning attributes (left: 0; top: 0; for instance)
    Change each .SlantedWritingFilms <span> into a <div> within <div class="FilmStill">.
    Beth

  • How do I Overlay a Logo on top of a SWF, inside an HGroup ?

    Hi Folks,
    I use an HGroup to within it, horizontally and vertically center a SWF.
    Now, I would like to position a Logo at the HGroup's x,y=0,0 position.
    While the logo need to be positioned in the top left corner, the [re]size and [re]position of SWF is not to be affected by the Logo. In effect, the logo is to have not effect on any of the layouts of whatever it visually overlays.
    How do I do this?
    Thanks for your help,
    VC

    My brain got fried with all of the previous SWFLoader positioning and centering - so much that I had to stop and clear my head and then this became an easy case of putting the HGroup and the Logo inside a BorderContainer.  I had inadvertently placed the Logo inside of HBox.

Maybe you are looking for

  • Doubt on Effective Dated (data pertaining to a specific point in time)

    Dear Members, 1/ I have created a table using the below SQL Command create table XXEMP EMP_NO                  NUMBER(12), EFFECTIVE_START_DATE    DATE, EFFECTIVE_END_DATE      DATE, EFFECTIVE_DATE_SEQUENCE NUMBER(12), EFFECTIVE_DATE_SEQ_FLAG VARCHAR

  • Is there a way to undo MMPV period closing?

    Dear gurus, One of our user's tried to open March period from "mmpv" and he opened April period either by mistake. Now the current period is April and the previous is March. He has to do some reversals for February, naturally he can't. Is there a way

  • Form when running through menu

    Hi I have a form - and when I run it from forms, it runs with the a toolbar up the top with icons for save, delete record etc. However when I run it through a menu (.mmb), it doesn't have this toolbar at the top. How do I make it show this toolbar wh

  • Log Host IP Address

    Hi, Is it possible to log the IP address of the client (not the application server) in a database table along with other session values like last accessed time, last login time and log off time? Once this is logged I need to show this information on

  • EFI problem related to Boot Camp

    Hi I'm new to the forums, I'm having problems booting into my windows partition on my MacBook. Everything was fine until I had a recent power failure while using Windows 7 for office work. My Macbook just turned off with no warning. Upon turning on t