Help Needed!! embeding a swf widget into a flash site

Hi all.
I am currently making a flash site for a band, and need to
embed an external SWF widget into it.
Its easy enough to embed it into HTML page, but idealy this
site will endup a single SWF file, to make distribution onto the
bands various pages (MYspace etc) easier.
The code to embed in html is:
<embed src="
http://www.soundclick.com/player/V2/mp3player200.swf"
width="200" height="140"
flashvars="bandid=850463&playType=band&ext=1&testMode=0&autoplay=1"
name="MP3PlayerBasic" type="application/x-shockwave-flash"
wmode="transparent" pluginspage="
http://www.macromedia.com/go/getflashplayer"
/>
Some one told me it should be no probs to embed a swf with
some sort of LoadMovie command, but he didnt have a qule about
assigning flashvars to it.
Any help here would ge greatly apreciated.
Cheers.
Sion

I am listening to you and was letting you know that the code that I am trying to use is probably from an old forum. The code that Flash CS4 cranks out is about 10 pages long which seems a little much just to import an .swf with a transparent background. I don't imagine CS6 would be much shorter.
From what I gathered, the html file checks to see what version of Flash you're using as well as what browser. The code for that is insane in my opinion and I am trying to keep my html file for my homepage rather small. I had no problem importing this in DW with a transparent background (when I was using DW) but am using Komodo Edit as my HTML editor now as it didn't come with Production Premium that I just got.
If you know the correct (newer) code, that would import an .swf with a transparency, that would be most be useful. If not I guess I'll just wait for someone to reply that does.
I will try to extract the code from the CS4 HTML file and use that, but did already try it once and it didn't work. If all else fails, I'll just download a trial version of DW and/or Flash CS6 and see if I can figure out how I did it on a website I developed a couple years ago (that I lost the files from in a HD crash).

Similar Messages

  • Getting a dotted line around .swf files in my flash site now. this is new as of Firefox 3. Using 4 on a MacBookPro. tried "style outline none" fix. doesn't work. any help?

    Question
    getting a dotted line around .swf files in my flash site now. this is new as of Firefox 3. Using 4 on a MacBookPro. tried "style outline none" fix. doesn't work. any help?

    /* stops annoying focus-selection boxes in FF3 */
    *:active, object:focus, embed:focus
    outline: none;
    }

  • I need a a music player for my flash site

    Hello all,
    I have a flash website, multi grooves as well as an rss 2.0
    feed with mp3 files.
    I want to embed a music player that can display all the music
    entries in my rss feed and play them quickly (as opposed to that
    quick time window that opens and waits for the whole mp3 file to
    download before anything is heard).
    I found a flash player that I wanted to use but strangely it
    can not be embedded into a flash site!? (code below)
    Does something like this exist for flash? If not, what
    suggestions could you make?
    One feature that I really want is to be able to "detach" the
    player from the page in which it appears so the user can go to
    other pages in the site (or even to another site) without loosing
    the sound and stay in full control of the music playing
    The code for the player that I wanted to use:
    <object type="application/x-shockwave-flash" width="220"
    height="160" data="
    http://bigcontact.com/feed-player/7478_8437/r:1;t:1001">
    <param name="quality" value="best" /> <param
    name="wmode" value="window" /><param name="allowScriptAccess"
    value="always" /> <param name="allowFullScreen" value="true"
    /><param name="movie" value="
    http://bigcontact.com/feed-player/7478_8437/r:1;t:1001"
    /></object>

    I've wrote a tutorial a while ago, not exactly with an RSS
    feed, but that could be easily converted to an RSS feed reader with
    the mp3 capability. Regarding the detachable window, I don't see
    any obstructions.

  • Inserting external swf "Widgets" into a Flex app

    Hi.
    I need to insert several external widgets into my Flex application. For example the Twitter flash widget and flickr slideshows widget.
    Those widgets normally give you HTML code to insert in your HTML page, like:
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,124,0" width="290" height="350" id="TwitterWidget" align="middle">
        <param name="allowScriptAccess" value="always" />
        <param name="allowFullScreen" value="false" />
        <param name="movie" value="http://static.twitter.com/flash/widgets/profile/TwitterWidget.swf" />
        <param name="quality" value="high" />
        <param name="bgcolor" value="#000000" />
        <param name="FlashVars" value="userID=xxxxxx&styleURL=http://static.twitter.com/flash/widgets/profile/smooth.xml">
        <embed src="http://static.twitter.com/flash/widgets/profile/TwitterWidget.swf" quality="high" bgcolor="#000000" width="290" height="350" name="TwitterWidget" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" FlashVars="userID=xxxxxx&styleURL=http://static.twitter.com/flash/widgets/profile/smooth.xml"/>
    </object>
    I'm trying to achieve the same goal in my Flex application using the SWFLoader control, but I've got a lot of troubles starting with security issues, and although I just learned to pass the FlashVars values, I don't know how to pass the "<param" values.
    public var twitterWidgetSrc:String = "http://static.twitter.com/flash/widgets/profile/TwitterWidget.swf?userID=xxxxxx&styleURL=h ttp://static.twitter.com/flash/widgets/profile/smooth.xml";
                <mx:SWFLoader
                    id="twitterWidget"
                    source="{twitterWidgetSrc}"
                    height="290" width="350"
                    init="setSecurity();">
                </mx:SWFLoader>
    Is there an easier way to insert these widgets into my Flex application? or how can I complete the SWFLoader to achieve the same results?

    I don't mean to disappoint you, but your Idea is impossible due to security violation
    if you'll look inside this file http://static.twitter.com/crossdomain.xml
    you'll probably find out that your host isn't listed there, so you will be not able to load any twitter stuff
    Detailed info you could catch in here:
    http://www.adobe.com/devnet/flashplayer/articles/flash_player_9_security.pdf
    The only way to get the widget embed and working is through HTML

  • Help needed regarding insertion of data into oracle

    Hi,
    I am student currently trying to do a project to up a semantic database using oracle. Have set up the semantic technologies for oracle 11gr2 and used the jena adapter to load an owl into oracle.
    But i am not sure how do i insert sample data that could reference the owl.
    Tried searching but unable to find any simple tutorial and have also looked through the developer's guide and also jenaadaptor guide.
    Is there any tutorials available that could help? thank you

    Hi,
    Please go to the OTN site for more information:
    http://www.oracle.com/technology/tech/semantic_technologies/index.html
    There you can find some training info (try the NCI Oracle By Example, it's a good tutorial):
    http://www.oracle.com/technology/tech/semantic_technologies/htdocs/semtech_training.html
    Regards,
    Vladimir

  • Insert an swf file into another Flash file

    Hi,
    I'm a newbie to flash trying to insert an SWF flash file (a game) into another Flash file. However, when I import the swf file into the library and drag it onto the frame (and insert the stop(); command onto the frame action to stop it playing the whole movie), the SWF file plays constantly, ignoring all the actionscript and button commands in the game SWF file.
    When I try inserting it using the Window component, the game SWF refuses to play at all - it just stops (clicking buttons in the game work, but it goes-to-and-stops instead of go-to-and-play like it's supposed to do). The only other component I could find was called "Loader". Using this doesn't work either, it won't play any of the animation, just like using the "Window" component
    When the game SWF is played by itself (by just double-clicking to open it from Windows Explorer or embedding it in a web page), it works fine.
    Any help how to do this would be appreciated.
    Thanks.

    Hi,
    I'm posting in this thread because my problem seems similar but may be not...
    In my first swf, I'm loading a second swf via loadClip().
    My second swf works well alone but when I try to integrate itself in my first swf I'm losing my events. My events only works on my first swf.
    I'v tried your trick with _lockroot but he doesn't work for me too.
    Is someone have an idea to help me ?
    Thx
    My code is really basic
    First swf:
            var mcloader:MovieClipLoader = new MovieClipLoader();
            var listener:Object = new Object();
            listener.onLoadInit = function (mc:MovieClip){
                main_obj.__preloader.die();
                obj[funct](target_mc, param);
            mcloader.addListener(listener);
            mcloader.loadClip(file_name, __loader);
    Second swf:
        var box:MovieClip = this.createEmptyMovieClip("box"+depth, this.getNextHighestDepth());
        //Draw box
        drawBox(...);
        // Event on Box, Change Alpha and show arrow or not
        box.onRollOver = function() {
            drawBox(...);

  • Importing another swf file into the flash-homepage (swf is a gallery)

    hi there!
    have a problem that i cant resolve myself ..
    i downloaded a free of use gallery from juliuswebdesign.com (this gallery) and i'm trying to load it in my flash site ..
    now, the gallery works if i open it directly (i open the swf file)
    BUT
    when i try to load the external swf file into my site
    loadMovie("image_gallery.swf", box);
    then the movie loads .. the gallery is displayed the message "loading xml file" displays and then when the xml is loaded the message "loading image 1/7" displays and only the first image loads.
    once the first image is loaded it will not be displayed (it remains outside of my swf file .. i can see it when i resize the window) and no other images will be loaded.
    if i open the gallery.sfw file again everything works fine .. the problem is only if i try to load the gallery.swf in another swf ..
    something must be wrong ..
    i tryed to opern the gallery.fla file and copt everything directly in my site and the problem remains the same .. only 1 image loaded and not displayed in the gallery ..
    i'ts like something in my site "blocks" the gallery beeing loaded..
    any suggestions?

    to the gallery's fla add the following and retest:
    this._lockroot = true;

  • Please help, need to import .swf/flash media

    Hi all, have a little issue here. I have some SWF flash media and I want to bring it into imovie so I can edit it more effectivley then with qt. However, I have been haveing alot of trouble, most time I only get the audio part of it and no image. Most of the media is widescreen, I was able to export the media in qt to dv stream and then import it, however, it lost its widescreen look and was kinda squished from the sides if that makes sense, if anybody has expeirence with this type of media, please help.
    Nathan

    Hi Nathan,
    I've never "dared" to convert .swf, but I read a lot about problems doing so... probably the Quicktime section of this forum is better to ask...
    maybe a much easier workaround is using tools as SnapzPro from Ambrosia; this tool claims to "record" any screen content (and audio) and convert it directly into any wanted format (as dv)...
    just a thought.......

  • Help needed embedding flash over HTML

    hi all
    could anyone please help me with telling me how to embedd a
    flash file in an HTML file so that the menu swf comes above the
    HTML areas in the file. if you check the links you would know what
    i mean. i require to replace the current top menu swf file with the
    new flash2.swf file. flash2.swf file has a drop down menu which i
    want to appear above the HTML below. please let me know if anyone
    could help me out. I had done it long time back and forgot the code
    that places the flash above the HTML.
    thanks in advance
    B
    HTML
    file
    Flash
    menu file

    Using a Flash element for your navigation links is a very
    very big mistake.
    Do you know why?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Digital Prophets" <[email protected]> wrote in
    message
    news:efra9u$4ja$[email protected]..
    > hi all
    >
    > could anyone please help me with telling me how to
    embedd a flash file in
    > an
    > HTML file so that the menu swf comes above the HTML
    areas in the file. if
    > you
    > check the links you would know what i mean. i require to
    replace the
    > current
    > top menu swf file with the new flash2.swf file.
    flash2.swf file has a
    > drop
    > down menu which i want to appear above the HTML below.
    please let me know
    > if
    > anyone could help me out. I had done it long time back
    and forgot the code
    > that
    > places the flash above the HTML.
    >
    > thanks in advance
    >
    >
    > B
    http://www.talkingpebbles.com/development/trivium/index.htmlhttp://www.talkingp
    > ebbles.com/development/trivium/flash2.swf
    >

  • How integrate swf files into my flash

    Hi, I´m new to flash programming, and I have to take an
    existing swf and make some small changes to it. I decompiled it
    into an fla file but there are quite a few sprites which are
    themselves swf files which did not get into the decompiled fla.
    How do I put them back into the project so that when I make
    it into an swf again it will be just like the original?
    thanks, Diana

    I already have that , it didnt decompile completely, the
    sprites that are
    swfs did not decompile. they also have this in them, what
    does that mean?
    class mx.core.UIComponent extends mx.core.UIObject
    static var symbolName: String = "UIComponent";
    static var symbolOwner = mx.core.UIComponent;
    static var version: String = "2.0.1.78";
    static var kStretch: Number = 5000;
    var focusEnabled: Boolean = true;
    var tabEnabled: Boolean = true;
    var origBorderStyles = {themeColor: 16711680};
    var clipParameters = {};
    static var mergedClipParameters =
    mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters,
    mx.core.UIObject.prototype.clipParameters);
    var __height;
    var __width;
    var _focusrect;
    var _parent;
    var _xscale;
    var _yscale;
    var addEventListener;
    var dispatchEvent;
    var drawFocus;
    var enabled;
    var focusManager;
    var invalidate;
    var removeEventListener;
    var stylecache;
    var watch;
    function UIComponent()
    super();
    function get width()
    return this.__width;
    function get height()
    return this.__height;
    function setVisible(x, noEvent)
    super.setVisible(x, noEvent);
    function enabledChanged(id, oldValue, newValue)
    this.setEnabled(newValue);
    this.invalidate();
    delete this.stylecache.tf;
    return newValue;
    function setEnabled(enabled)
    this.invalidate();
    function getFocus()
    var selFocus = Selection.getFocus();
    return selFocus === null ? null : eval(selFocus);
    function setFocus()
    Selection.setFocus(this);
    function getFocusManager()
    this;
    while (this != undefined)
    if (this.focusManager != undefined)
    return this.focusManager;
    __reg2 = this._parent;
    return undefined;
    function onKillFocus(newFocus)
    this.removeEventListener("keyDown", this);
    this.removeEventListener("keyUp", this);
    this.dispatchEvent({type: "focusOut"});
    this.drawFocus(false);
    function onSetFocus(oldFocus)
    this.addEventListener("keyDown", this);
    this.addEventListener("keyUp", this);
    this.dispatchEvent({type: "focusIn"});
    if (this.getFocusManager().bDrawFocus != false)
    this.drawFocus(true);
    function findFocusInChildren(o)
    if (o.focusTextField != undefined)
    return o.focusTextField;
    if (o.tabEnabled == true)
    return o;
    return undefined;
    function findFocusFromObject(o)
    if (o.tabEnabled != true)
    if (o._parent == undefined)
    return undefined;
    if (o._parent.tabEnabled == true)
    o = o._parent;
    else
    if (o._parent.tabChildren)
    o = this.findFocusInChildren(o._parent);
    else
    o = this.findFocusFromObject(o._parent);
    return o;
    function pressFocus()
    var __reg3 = this.findFocusFromObject(this);
    var __reg2 = this.getFocus();
    if (__reg3 != __reg2)
    __reg2.drawFocus(false);
    if (this.getFocusManager().bDrawFocus != false)
    __reg3.drawFocus(true);
    function releaseFocus()
    var __reg2 = this.findFocusFromObject(this);
    if (__reg2 != this.getFocus())
    __reg2.setFocus();
    function isParent(o)
    while (o != undefined)
    if (o == this)
    return true;
    o = o._parent;
    return false;
    function size()
    function init()
    super.init();
    this._xscale = 100;
    this._yscale = 100;
    this._focusrect = _global.useFocusRect == false;
    this.watch("enabled", this.enabledChanged);
    if (this.enabled == false)
    this.setEnabled(false);
    function dispatchValueChangedEvent(value)
    this.dispatchEvent({type: "valueChanged", value: value});
    "fojool-br" <[email protected]> escribió en el
    mensaje
    news:[email protected]...
    > Hi diana
    >
    > Of a look in this software, the fact can be that it
    helps you
    >
    > Flash Decompiler Trillix page:
    http://www.flash-decompiler.com/

  • Embedding a Blogger Blog into my Muse Site

    Hi is it possible to embed a Blogger blog into my website? Or does Muse have a RSS Feed?

    Thank you for posting.
    Muse being a designing software, doesn't have RSS feed option. However, if you publish your site to BC, you will have the RSS feed and blog features as well. But if you want to host the site externally, you can embed blogger blog into muse site using iframe as mentioned in this doc https://groups.google.com/forum/?fromgroups=#!topic/blogger-help-howdoi/Jy1sjSCTslE. You need to get the iframe code and insert it as html in your muse site.
    Hope this helps.
    Regards,
    Aishvarya Raj Rastogi

  • Help needed in resolving warnings while migrating to flash 4.6

    Getting the below error in FlashBuilder 4.6:
    1067: Implicit coersion of a value of type mx.controls:Tree to an unrelated type mx.controls:Tree
    The line of code is below which is there in QueryTreeAs.as:
    ModelLocator.getInstance().queryTree=queryTree;
    where queryTree is a component in a different mxml file - QueryTree.mxml. Like the below one:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
        width="100%"
        height="100%"
        name="query"
        creationComplete="init()">
      <!--<mx:Style source="/assets/styles.css" />-->
      <mx:Script>
      <![CDATA[
      include "QueryTreeAs.as"
      ]]>
      </mx:Script>
      <mx:Tree y="0"
      id="queryTree"
      width="100%"
      height="100%"
      showDataTips="true"
      dataTipFunction="getDataTipLabel"
      labelFunction="tree_labelFunc"
      showRoot="true"/>
    </mx:Canvas>
    Any pointers to resolve this issue would be helpful!

    hey folks
    I have found out that every time the PDF file is downloaded, in the firefox download manager, that opens up to show the status of the downloaded PDF, when I click on the "Remove" button once I open the much needed PDF, the PDF is not carried onto the next upload for some reason... but I still need to investigate in Netscape and see how it works..
    thanks guys
    I will come back to update you once I test it in netscape navigator
    hepzi

  • Embedding a WIMPY jukebox into a flash page?

    Hi, I would like to insert a WIMPY jukebox (or a section of
    html if we're talking technically here) into a .swf file. I have a
    flash template, and inserting the player into the HTML page is
    useless and messy and troublesome.
    Is there a way of inserting HTML code into a .swf file? The
    WIMPY code is a brief paragraph of HTML, can I see the results of
    the HTML code through flash anyway?
    Cheers, Tom.

    There is a great extension that will do it all for you and
    it's free...it's here:
    http://www.adobe.com/cfusion/exchange/index.cfm#view=sn106&viewName=Exchange%20Search%20De tails&loc=en_us&authorid=32895559&page=0&scrollPos=0&subcatid=0&snid=sn106&itemnumber=0&ex tid=1007547&catid=0

  • Help needed on designing the structure of a flash game

    Hi,
    I am studying the codes from http://www.emanueleferonato.com/2009/01/16/designing-the-structure-of-a-flash-game-as3-ver sion-part-3/. What I don't get is at level_selection.as. Where does main_menu_button come from? I can't find where it has been created. I only see main_menu, not main_menu_button.
    Please help.

    The codes in level_selection.as looks like this, but the problem is I cannot find main_menu_button anywhere, except for main_menu.
    package {
        import flash.display.Sprite;
        import flash.events.MouseEvent;
        import flash.display.SimpleButton;
        public class level_selection extends Sprite {
            public var main_class:the_game;
            private var level_thumb:level_thumbnail;
            public function level_selection(passed_class:the_game) {
                main_class = passed_class;
                for (var i:int = 1; i<=5; i++) {
                    level_thumb = new level_thumbnail(i,main_class);
                    addChild(level_thumb);
                main_menu_button.addEventListener(MouseEvent.CLICK, on_main_menu_button_clicked);
            public function on_main_menu_button_clicked(event:MouseEvent) {
                main_class.show_splash();

  • Help needed to see photos on my USB Flash Drive

    How do I view the contents of my USB Flash Drive, on my MacBook Pro, please? Also, can I add more photos to the ones already there?

    Your USB Flash Drive should function like any other volume once it's connected to your computer and mounted by the file system. Just drag whatever picture you want to see on top of whatever application you want to use to view it (Preview works well for this). If you want to copy a photo from your Mac, just drag it from its current location in the Finder right on top of the USB Flash Drive's icon on your Desktop.

Maybe you are looking for