Flash 8 Actionscript Tutorial problem

I have followed the following instructions to the letter
(several times) but the button script won't activate a URL and I
get an error message from Flash 8 which I'll show after this:
1.Select the invisible button on the Stage.
Open the Property inspector (Window > Properties), and
find the Instance Name text box in the Property inspector.
Type inv_btn into the Instance Name text box.
Select Insert > Timeline > Layer to insert a new layer,
and then rename the new layer to actions.
Open the Actions panel (Window > Actions), and then select
Frame 1 of the actions layer.
Type the following ActionScript into the script pane (the
editable text field) in the Actions panel:
inv_btn.onRelease = function(){
getURL("
http://gnome.deseloper.com",
"_blank");
This does not work. Here is the error message:
**Error** Scene=Scene 1, layer=button, frame=1:Line 1:
Statement must appear within on handler
inv_btn.onRelease = function(){
As this script was copied directly from the tutorial text,
and I have never scripted anything before, I am at a loss to
explain this or how to make it work. Can anyone help me?

I'll approach this from the opposite end... replace the code
you have with:
on(release){
getURL("
http://gnome.deseloper.com",
"_blank");
If that works, then the problem is that you didn't put the
code where the instructions you show indicated you should. For what
you did, the code I just showed is appropriate (though not a good
practice because it is hidden from easy review). It's better to
keep your code in the timeline where it can be easily found.
You will have selected the button and then typed the code in
the actionscript editor. Instead, you need to
click on the frame in the (separate) actions layer in the
main timeline that you should have made already, not the button
layer, and then place that code from the tutorial in the
actionscript editor window.

Similar Messages

  • Flash 8 - actionscript button problem

    Hi all,
    I created a button "place holder" (until I had time to design
    my own) on an object using the standard button component, this
    worked great. When I replaced it with my own user defined button it
    stopped working. The object has the same name and is referenced
    identically.
    Can anyone explain this weird behaviour?
    Here is my code (worked for standard button but not for user
    defined)
    var invMenuState:Number = 0;
    // function for the Next button
    function inventorySlider(eventObj:Object) {
    switch(invMenuState) {
    case 0:
    inventory_mc.gotoAndPlay("slideUp");
    invMenuState = 1;
    break;
    case 1:
    inventory_mc.gotoAndPlay("slideDown");
    invMenuState = 0;
    // add the event listener for the button
    inventory_mc["inventory_bx"]["inventory_btn"].addEventListener("click",
    inventorySlider);
    thanks,
    Paul.

    i think you're confused between the button component and the
    button class - not that hard to do really, thinking about it.
    as kglad mentioned, button symbols require handlers from the
    button class such as onPress which is the equivalent to the line of
    code you were using with your button component.

  • Using Dreamweaver MX to edit pages with Flash 9 Actionscript 3

    I designed a site using CS3 and used Actionscript 3 and Flash
    9 for a banner on the site.
    The site pages will now be edited and updated by the owners
    who have Dreamweaver MX 2004.
    Is there going to be any problems or errors that can be
    expected regarding the Flash banner/Actionscript? The owner will
    not be editing the banner just updating some page content.
    Thanks for your help

    zuy377 wrote:
    > I designed a site using CS3 and used Actionscript 3 and
    Flash 9 for a banner on
    > the site.
    >
    > The site pages will now be edited and updated by the
    owners who have
    > Dreamweaver MX 2004.
    >
    > Is there going to be any problems or errors that can be
    expected regarding the
    > Flash banner/Actionscript? The owner will not be editing
    the banner just
    > updating some page content.
    No problem.
    If they aren't updating that part of the page then nothing
    will be
    altered in terms of the code so it will continue to work.
    A page is only html and can be edited in any html editor or
    text editor.
    I don't know how the owners are going to update the pages but
    of course
    by giving them access to all of the code they can ruin
    everything if
    they don't know what their doing........theres nothing you
    can do about
    that unless you create some sort of Content Management
    System, which
    only allows them to alter specific parts of the code.

  • Convert flash mx actionscript to cs4

    Hi i am new t flash and am not good with actionscript at all.
    Basically this code is what i need to make a menu act how i want
    when scrolling. Does anyone know how to convert the following
    flash mx actionscript to actionscript 3.0(Flash cs4
    compatible).
    If you do i would be really greatful if you ccould post it in
    a reply. the tutorial i am using is at the bottom if it is of any
    help.
    [CODE]
    mouseX = _xmouse;
    menuX = menu._x;
    if (mouseX > 280) {
    diff = (mouseX-280)/15;
    if (mouseX < 220) {
    diff = (220-mouseX)/15;
    if (mouseX <= 250 && menuX <= 56) {
    setProperty("menu", _x, menuX+diff);
    if (mouseX >= 250 && menuX >= -204) {
    setProperty("menu", _x, menuX-diff);
    if (menu._x >= 56) {
    menu._x = 56;
    } else if (menu._x <= -204) {
    menu._x = -204;
    gotoAndPlay(2);
    [/CODE]
    Page
    1
    Page
    2

    "vookster" <[email protected]> wrote in
    message
    news:go7cec$obn$[email protected]..
    >
    > I was wondering are files produced from Flash MX
    compatible with
    > Dreamweaver
    > cs4? I have Flash MX and don't want to buy Flash cs4 if
    I don't need
    > to.
    Flash MX creates .swf files. Dreamweaver CS4 creates HTML
    files, and
    has the capability of inserting .swf files in a web page. It
    doesn't
    matter which version of Flash you use to create your .swf
    files; they
    can be inserted into a web page in any version of
    Dreamweaver.
    David Powers
    Adobe Community Expert, Dreamweaver
    http://foundationphp.com

  • Loading text file with flash lite 3.0 problem

    Hello,
    I recently ran into a problem with loading a plain text file with Flash Lite 3.0.
    I know there is a way to load name/value pairs using LoadVars class or XML file using XML class. Both methods work great, but these classes parse the data loaded and I need to load just a plain text - no pairs or xml structure. (its because Im loading specific file format, so I can't make any changes to it)
    There is a simple way how to achieve this in Flash using Actionscript 2 by extending the LoadVars class and overriding the onData() method. I used it plenty of times and it works fine.
    There is an example of implementation:
    // the PlainData.as file
    class PlainData extends LoadVars {
        function onData(str) {
            trace(str)
            this.onLoad(true);
    // now in the main file
    var my_data:PlainData = new PlainData();
    my_data.load("my3dmodel.obj");
    This code traces unchanged content of my3dmodel.obj file.
    The problem comes when I try to run this code using Flash Lite 3.0. The code stops working just by changing player version in publish settings to Flash Lite 3.0. It doesnt display any error, but also doesnt trace any content.
    Is there a reason why you cant override onData method in LoadVars class in lite version of flash or am I doing something wrong?
    (also overriding onLoad() method works fine in Flash Lite)
    Ondrej

    Thanks Man
    But i m very unhappy !!! :-(
    1M data to transfer my mp3 files is very small !!! hehehe
    Thanks a lot
    See ya
    Carlos Eduardo Burko - Curitiba - Brazil - Macromedia
    Certified Professional
    "biskero" <[email protected]> escreveu na
    mensagem
    news:e98nrb$a6e$[email protected]..
    > Ciao Carlos,
    >
    > yes you can load mp3. The only issue is that the FL2
    will need to load the
    > entire mp3 in memory which mean you are limited to the
    avalable memory and
    > also
    > there is a limitation of 1M data transfer.
    > Try to create a sample application to test it. You need
    to use the
    > loadSound
    > API.
    >
    > Alessandro
    >

  • Stop and Play All Child MovieClips in Flash with Actionscript 3.0

    I am stuck with the ActionScript here. I have a very complex animated flash movie for eLearning. These contain around 10 to 15 frames. In each frame I am having multiple movie clip symbols. The animation has been created using a blend of scripting and also normal flash animation.
    Now I want to create pause and play functionality for the entire movie. I was able to create the pause function but when i try to play the movie it behaves very strange.
    I was able to develop the pause functionality by refering to the below mentioned links:
    http://www.unfocus.com/2009/12/07/stop-all-child-movieclips-in-flash-with-actionscript-3-0 /
    http://www.curiousfind.com/blog/174
    Any help in this regard is highly appreciated as i am approaching a deadline.
    I am pasting the code below:
    import flash.display.MovieClip;
    import flash.display.DisplayObjectContainer;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import fl.transitions.*;
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    import fl.transitions.TweenEvent;
    import flash.events.Event;
    import flash.events.MouseEvent;
    stop();
    // function to stop all movieclips
    function stopAll(content:DisplayObjectContainer):void
        if (content is MovieClip)
            (content as MovieClip).stop();
        if (content.numChildren)
            var child:DisplayObjectContainer;
            for (var i:int, n:int = content.numChildren; i < n; ++i)
                if (content.getChildAt(i) is DisplayObjectContainer)
                    child = content.getChildAt(i) as DisplayObjectContainer;
                    if (child.numChildren)
                        stopAll(child);
                    else if (child is MovieClip)
                        (child as MovieClip).stop();
    // function to play all movieclips
    function playAll(content:DisplayObjectContainer):void
        if (content is MovieClip)
            var movieClip:MovieClip = content as MovieClip;
            if (movieClip.currentFrame < movieClip.totalFrames) // if the main timeline has reached the end, don't play it
       movieClip.gotoAndPlay(currentFrame);
        if (content.numChildren)
            var child:DisplayObjectContainer;
            var n:int = content.numChildren;
            for (var i:int = 0; i < n; i++)
                if (content.getChildAt(i) is DisplayObjectContainer)
                    child = content.getChildAt(i) as DisplayObjectContainer;
                    if (child.numChildren)
                        playAll(child);
                    else if (child is MovieClip)
                        var childMovieClip:MovieClip = child as MovieClip;
                        if (childMovieClip.currentFrame < childMovieClip.totalFrames)
          //childMovieClip.play();
          childMovieClip.play();
    function resetMovieClip(movieClip:MovieClip):MovieClip
        var sourceClass:Class = movieClip.constructor;
        var resetMovieClip:MovieClip = new sourceClass();
        return resetMovieClip;
    pauseBtn.addEventListener(MouseEvent.CLICK, onClickStop_1);
    function onClickStop_1(evt:MouseEvent):void
    MovieClip(root).stopAll(this);
    myTimer.stop();
    playBtn.addEventListener(MouseEvent.CLICK, onClickPlay_1);
    function onClickPlay_1(evt:MouseEvent):void
    MovieClip(root).playAll(this);
    myTimer.start();
    Other code which helps in animating the movie and other functionalities are as pasted below:
    stage.addEventListener(Event.RESIZE, mascot);
    function mascot():void {
    // Defining variables
    var mc1:MovieClip = this.mascotAni;
    var sw:Number = stage.stageWidth;
    var sh:Number = stage.stageHeight;
    // resizing movieclip
    mc1.width = sw/3;
    mc1.height = sh/3;
    // positioning mc
    mc1.x = (stage.stageWidth/2)-(mc1.width/2);
    mc1.y = (stage.stageHeight/2)-(mc1.height/2);
    // keeps the mc1 proportional
    mc1.scaleX <= mc1.scaleY ? (mc1.scaleX = mc1.scaleY) : (mc1.scaleY = mc1.scaleX);
    stage.removeEventListener(Event.RESIZE, mascot);
    mascot();
    this.mascotAni.y = 100;
    function mascotReset():void
    // Defining variables
    var mc1:MovieClip = this.mascotAni;
    stage.removeEventListener(Event.RESIZE, mascot);
    mc1.width = 113.45;
    mc1.height = 153.85;
    mc1.x = (stage.stageWidth/2)-(mc1.width/2);
    mc1.y = (stage.stageHeight/2)-(mc1.height/2);
    // keeps the mc1 proportional
    mc1.scaleX <= mc1.scaleY ? (mc1.scaleX = mc1.scaleY) : (mc1.scaleY = mc1.scaleX);
    var interval:int;
    var myTimer:Timer;
    // function to pause timeline
    function pauseClips(secs:int, myClip:MovieClip):void
    interval = secs;
    myTimer = new Timer(interval*1000,0);
    myTimer.addEventListener(TimerEvent.TIMER, goNextFrm);
    myTimer.start();
    function goNextFrm(evt:TimerEvent):void
      myTimer.reset();
      myClip.nextFrame();
      myTimer.removeEventListener(TimerEvent.TIMER, goNextFrm);
    // function to pause timeline on a particular label
    function pauseClipsLabel(secs:int, myClip:MovieClip, myLabel:String):void
    interval = secs;
    myTimer = new Timer(interval*1000,0);
    myTimer.addEventListener(TimerEvent.TIMER, goNextFrm);
    myTimer.start();
    function goNextFrm(evt:TimerEvent):void
      myClip.gotoAndStop(myLabel);
      myTimer.removeEventListener(TimerEvent.TIMER, goNextFrm);
    MovieClip(root).pauseClips(4.5, this);
    // function to fade clips
    function fadeClips(target_mc:MovieClip, next_mc:MovieClip, from:Number, to:Number):void
    var fadeTW:Tween = new Tween(target_mc, "alpha", Strong.easeInOut, from, to, 0.5, true);
    fadeTW.addEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
    function fadeFinish(evt:TweenEvent):void
      next_mc.nextFrame();
      fadeTW.removeEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
    // function to fade clips with speed
    function fadeClipsSpeed(target_mc:MovieClip, next_mc:MovieClip, from:Number, to:Number, speed:int):void
    var fadeTW:Tween = new Tween(target_mc, "alpha", Strong.easeInOut, from, to, speed, true);
    fadeTW.addEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
    function fadeFinish(evt:TweenEvent):void
      next_mc.nextFrame();
      fadeTW.removeEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
    // function to show screen transitions
    function screenFx(target_mc:MovieClip, next_mc:MovieClip):void
    //var tweenTW:Tween = new Tween(target_mc,"alpha",Strong.easeInOut,0,1,1.2,true);
    var tranFx:TransitionManager = new TransitionManager(target_mc);
    tranFx.startTransition({type:Iris, direction:Transition.OUT, duration:1.2, easing:Strong.easeOut, startPoint:5, shape:Iris.CIRCLE});
    tranFx.addEventListener("allTransitionsOutDone",doneTrans);
    function doneTrans(evt:Event):void
      next_mc.nextFrame();
      tranFx.removeEventListener("allTransitionsOutDone",doneTrans);
    // function to show screen transitions inverse
    function screenFxInv(target_mc:MovieClip, next_mc:MovieClip):void
    var tweenTW:Tween = new Tween(target_mc,"alpha",Strong.easeInOut,0,1,1.2,true);
    var tranFx:TransitionManager = new TransitionManager(target_mc);
    tranFx.startTransition({type:Iris, direction:Transition.IN, duration:2, easing:Strong.easeOut, startPoint:5, shape:Iris.SQUARE});
    tranFx.addEventListener("allTransitionsInDone",doneTrans);
    function doneTrans(evt:Event):void
      next_mc.nextFrame();
      tranFx.removeEventListener("allTransitionsInDone",doneTrans);
    // function to zoom in
    function zoomFx(target_mc:MovieClip):void
    //var tweenTW:Tween = new Tween(target_mc,"alpha",Strong.easeInOut,0,1,1.2,true);
    var tranFx:TransitionManager = new TransitionManager(target_mc);
    tranFx.startTransition({type:Zoom, direction:Transition.IN, duration:3, easing:Strong.easeOut});
    //tranFx.addEventListener("allTransitionsInDone",doneTrans);
    /*function doneTrans(evt:Event):void
      next_mc.nextFrame();
    // Blinds Fx
    function wipeFx(target_mc:MovieClip):void
    var tranFx:TransitionManager = new TransitionManager(target_mc);
    tranFx.startTransition({type:Wipe, direction:Transition.IN, duration:3, easing:Strong.easeOut, startPoint:9});
    // Blinds Fx Center
    function fadePixelFx(target_mc:MovieClip):void
    var tranFx:TransitionManager = new TransitionManager(target_mc);
    tranFx.startTransition({type:Fade, direction:Transition.IN, duration:1, easing:Strong.easeOut});
    tranFx.startTransition({type:PixelDissolve, direction:Transition.IN, duration:1, easing:Strong.easeOut, xSections:100, ySections:100});

    This movie is an animated movie from the start to end. I mean to say that though it stops at certain keyframes in the timeline it stops for only a certain time and then moves on to the next animation sequence.
    Its not an application where the user can interact.
    On clicking the play button i want the movie to play normally as it was playing before. If the user has not clicked on the pause button it would anyhow play from start to finish.
    Is there anyway where i could send in the fla file?

  • On 12/23/11 I update the adobe flash player and have had problems since- unexpected closing and freezing. Remove the adobe flash player and those problems resolved. How do I go back to the earlier version of adobe?

    I was prompted by Firefox to update my adobe flash player on 12/23/11, which I did. Ever since then the web site has frozen and/or crashed. I run a internet business and can't have this continue. I uninstalled the flash player and the problems have stopped. I would like to reinstall the earlier version of adobe, since that didn't seem to impact the web site.
    This is the flash player I installed on the 23rd - Flash Player 10.3 for Mac OS X 10.4-10.5 (Intel)

    Your above posted list of installed plugins doesn't show the Flash plugin for Firefox.<br />
    See [[Managing the Flash plugin]] and [[Installing the Flash plugin]]
    You can check the Adobe welcome and test page: http://www.adobe.com/software/flash/about/
    You can use this manual download link:
    *http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller

  • Flash Builder 4 trace problem.....

    Flash Builder 4 trace problem.....
    Hi,
    I got the trace-classical problem:
    267 AVMINF: MTHD global$init ()
    267 AVMINF: MTHD flash.display::Sprite$cinit ()
    267 AVMINF: MTHD global$init ()
    267 AVMINF: MTHD flash.display::MovieClip$cinit ()
    267 AVMINF: MTHD PreloaderDisplay$cinit ()
    267 AVMINF: MTHD global$init ()
    267 AVMINF: MTHD global$init ()
    267 AVMINF: MTHD mx.managers::SystemManager$cinit ()
    267 AVMINF: MTHD global$init ()
    267 AVMINF: MTHD flash.utils::Dictionary$cinit ()
    267 AVMINF: MTHD flash.utils::Dictionary ()
    267 AVMINF: MTHD flash.utils::Dictionary/init ()
    79 AVMINF: MTHD flash.display::Loader/get contentLoaderInfo ()
    379 AVMINF: MTHD flash.events::EventDispatcher/addEventListener ()
    379 AVMINF: MTHD flash.display::Loader/loadBytes ()
    380 AVMINF: MTHD flash.display::Loader/_buildLoaderContext ()
    380 AVMINF: MTHD flash.display::Loader/_getJPEGLoaderContextdeblockingfilter ()
    380 AVMINF: MTHD flash.display::Loader/_loadBytes ()
    More information:
    *I did read many answer already about the mm.cfg file, but I don't have that file, i don't even got firefox...
    *That is happens only when i am using flash player 10.2 + (IT DOES NOT HAPPENS WITH FLASH PLAYER 10.1 - )
    Please help,
    Thanks for advance.
    Esteban

    No.
    Working only with Flash Builder 4 to compile, but you can switch the flash player versions anyway.
    And when my flash version is up to 10.1 the trace console commes crazy, and brokes the debbug session.
    But never mind, i did kill the OS already in order to keep working.

  • How to Setup Flash Builder ActionScript only project for iPad?

    Hello!
    Can someone give a short guide on how to setup an ActionScript only prject in flash builder such that it can be compiled using adt and deployed to the iPad?
    i created successfully iphone games using FlashIDE and PFI.
    now I'd like to create an iPad app using Flash Builder (ActionScript only). but I fail to load the compiled IPA to the ipad, keep getting different errormessages thus i think something with my projectsetup is wrong

    Yes, in Terminal you type a single line which is made from the path to the adt application, some parameters, and paths to other documents. Here's the full list of things:
    /Location/to/AdobeAIRSDK_2.6/bin/adt
    -package
    -target ipa-test
    -provisioning-profile /Location/to/Provision.mobileprovision
    -storetype pkcs12
    -keystore /Location/to/Certificates.p12
    -storepass password
    NameOfApp.ipa ApplicationDescriptor-app.xml
    -C /Location/to/swf  NameOfApp.swf
    splashscreens
    icons
    That "-C" line is clever, it does a directory change to the folder you give it, so after the -C /location/to/swf part it will then look in that same folder for other documents, and for where to build the IPA file.

  • Write to and read from TCP/IP address using Flash and Actionscript

    Hi,
    I'm a bit of a newbie with flash and Actionscript. I have been programming for a number of years now, but I have only been messing around with flash since CS4. I have CS5 now, and need a bit of help. I have a wireless device that I have made, I wish to make a flash program (potentially adapted to iPhone or Android) that sends and receives data (in the form of Word or Byte sized variables) from an IP address assigned to the device. Is this achievable?
    Please help. Thank you

    bump
    Please! anyone! HELP

  • The Flex Actionscript is exactly the same as FLASH PROFESSIONAL Actionscript

    To learn Flex you start with scripting relative languages mxml, etc , or with learning the menus in Flash Builder? how you proceed after you startup? Learning Flex you must choose a server side scripting language from the ones you know very well, and use it by a way in Flex works? like Java if I am familiar with?
    Only Actionscript/MXML (+client side) or/and one server side lang REQUIRED, like java/jsp? Can you recommend any textbook in Actionscript/MXML? the Actionscript is exactly the same as FLASH PROFESSIONAL Actionscript? how many months study in Actionscript/MXML, to move to learning menues in BUILDER? IF REQUIRED one server side lang, what level of JAVA I must have, SE & EE & ME to proceed in learning Flex/Actionscript/MXML and thereafter BUILDER-MENUES?

    You are asking a ton of questions here, but in general ActionScript in Flex and Flash is the same, but in some cases it is used differently, but most of the time the same.
    Great book on ActionScript:
    http://www.amazon.com/Essential-ActionScript-3-0-Colin-Moock/dp/0596526946
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com

  • Blogger / Flash audio widget spacing problem

    This is a multi-part message in MIME format.
    ------=_NextPart_000_0157_01C8E5D5.30A1E450
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    Please excuse me re-posting this question, but I have new
    info and =
    needed a new subject line. :-)
    I'm trying to use a very nice little Flash audio player
    script on a =
    Blogger page. Here's what it looks like on a simple HTML
    page:
    http://ayersvirtual.com/deleteme.htm
    On that page above, in all my browsers, the spacing above and
    below the =
    audio player is fine. That's what I want.
    But when I put the same code in a Blogger post, there are
    massive =
    top-bottom margins in Firefox 3, and none at all in IE 7.=20
    Here is a sample Blogger post showing this:=20
    http://pattyayers.blogspot.com/2008/07/blogger-flash-audio-player-problem=
    .html
    I dug through Blogger's CSS, and don't see anything that
    should cause =
    this. I added a line of CSS targeted at the <object>
    tag, zeroing its =
    margins, but that didn't do it.=20
    Any help with figuring this out would be MUCH appreciated!
    --=20
    Patty Ayers | www.WebDevBiz.com
    Free Articles on the Business of Web Development
    Web Design Contract, Estimate Request Form, Estimate
    Worksheet
    ------=_NextPart_000_0157_01C8E5D5.30A1E450
    Content-Type: text/html;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
    Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=3DContent-Type content=3D"text/html; =
    charset=3Diso-8859-1">
    <META content=3D"MSHTML 6.00.6001.18063"
    name=3DGENERATOR>
    <STYLE></STYLE>
    </HEAD>
    <BODY>
    <DIV><FONT face=3DArial size=3D2>Please excuse me
    re-posting this =
    question, but I=20
    have new info and needed a new subject line. 
    :-)</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>I'm trying to
    use a very nice little =
    Flash audio=20
    player script on a Blogger page. Here's what it looks like on
    a simple =
    HTML=20
    page:</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><A href=3D"
    http://ayersvirtual.com/deleteme.htm"><FONT
    face=3DArial =
    size=3D2>
    http://ayersvirtual.com/deleteme.htm</FONT></A></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>On that page
    above, in all my browsers, =
    <STRONG>the=20
    spacing above and below the audio
    player</STRONG> is =
    fine. That's=20
    what I want.</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>But when I put
    the same code in a =
    Blogger post,=20
    there are <STRONG>massive top-bottom margins in Firefox
    3</STRONG>, and=20
    <STRONG>none at all in IE 7</STRONG>.
    </FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>Here is a sample
    Blogger post showing =
    this:=20
    </FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial=20
    size=3D2>
    http://pattyayers.blogspot.com/2008/07/blogger-flash-audio-playe=
    r-problem.html</FONT><A=20
    href=3D"
    http://pattyayers.blogspot.com/"></A></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>I dug through
    Blogger's CSS, and don't =
    see anything=20
    that should cause this. I added a line of CSS targeted at the
    =
    &lt;object&gt;=20
    tag, zeroing its margins, but that didn't do it.
    </FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>Any help with
    figuring this =
    out would be MUCH=20
    appreciated!  :-)</FONT></DIV>
    <DIV><BR><FONT face=3DArial size=3D2>--
    <BR>Patty Ayers | </FONT><A=20
    href=3D"
    http://www.WebDevBiz.com"><FONT
    face=3DArial=20
    size=3D2>www.WebDevBiz.com</FONT></A><BR><FONT
    face=3DArial =
    size=3D2>Free Articles on=20
    the Business of Web Development<BR>Web Design Contract,
    Estimate Request =
    Form,=20
    Estimate
    Worksheet<BR>--</FONT></DIV></BODY></HTML>
    ------=_NextPart_000_0157_01C8E5D5.30A1E450--

    Yeah, it does make me appreciate Wordpress. I would have
    stuck with it, but
    when I found out that you have to pay to edit your CSS (on
    their hosted
    plan), I switched back to Blogger!
    I'll keep my eye on that beta ("draft") version of Blogger. I
    have to be
    cautious with my client's account, but maybe I'll try it for
    my own blogs.
    Thanks again...!
    Patty Ayers | www.WebDevBiz.com
    Free Articles on the Business of Web Development
    Web Design Contract, Estimate Request Form, Estimate
    Worksheet
    "Mad Dog" <[email protected]> wrote in
    message
    news:[email protected]...
    > I'm glad it worked. Yes, it's weird how Blogger adds
    <br>s, but remember,
    > it's for the masses who still act like they're on
    typewriters, so it does
    > make sense for most people. As I mentioned, the new
    version (in Draft mode
    > now) supposedly will get rid of that. Funny....the first
    thing I was going
    > to tell you want to remove anything more than a single
    space from the
    > <object>.....
    >
    > I'm surprised the setting affects everything. I would
    have expected it
    > would only affect a new post, not everything!
    >
    > Makes ya appreciate Wordpress, doesn't it? (Though I do
    like the interface
    > in Blogger)
    >
    > Anyway, glad I could help point you in a direction.
    >
    > MD
    >
    > P@tty Ayers ~ACE wrote:
    >> I think I found a way! I can't leave that setting
    turned off, because
    >> my client needs it turned on. (What a bizarre and
    silly way Blogger
    >> handles something as simple as paragraphs of text!)
    >>
    >> But, if I remove every ounce of white space from the
    <object> tag
    >> before I paste it in, Blogger doesn't add any
    <br> tags into it.
    >>
    >> I believe this is going to work. Mad Dog, thank you
    VERY much for
    >> giving me the clues I needed. I truly appreciate
    it!! This was really
    >> about to drive me crazy.
    >>
    >> --
    >> Patty Ayers | www.WebDevBiz.com
    >> Free Articles on the Business of Web Development
    >> Web Design Contract, Estimate Request Form, Estimate
    Worksheet
    >>
    >> "P@tty Ayers ~ACE"
    <[email protected]> wrote in
    >> message news:[email protected]...
    >>>
    >>> "Mad Dog"
    <[email protected]> wrote in message
    >>> news:[email protected]...
    >>>
    >>>> First...try going into the SETTINGS >
    FORMATTING and change
    >>>> "Convert line breaks" to "No." That might
    help, but might not.
    >>>> Blogger loves adding <br> and has been
    known to add them in
    >>>> embedded objects.
    >>>
    >>> That stops Blogger from adding <br /> tags
    into my <object> code!
    >>> Yay!! But unfortunately it left all of my blog
    posts completely without
    >>> any
    >>> paragraphs at all. If this was just for *my*
    blog, I could just add
    >>> the <p> tags in (which I tried, and it
    works). But it's for my
    >>> client's blog, and she's not going to do that.
    >>>
    >>> Does Blogger seriously not have a setting where
    hard returns are
    >>> turned into normal paragraph tags?? It's either
    <br> tags everywhere
    >>> and anywhere, or nothing??
    >>>
    >>>
    >>> --
    >>> Patty Ayers | www.WebDevBiz.com
    >>> Free Articles on the Business of Web Development
    >>> Web Design Contract, Estimate Request Form,
    Estimate Worksheet
    >>> --
    >>>
    >>>
    >>>
    >>>>
    >>>> If that doesn't do it, try using the new
    Draft version of Blogger
    >>>> (
    http://draft.blogger.com/).
    It's still a work in progress (it won't
    >>>> Autosave!) but it doesn't add the automatic
    <br> linebreak. Check
    >>>> out more info about it at
    >>>>
    http://bloggerindraft.blogspot.com/2008/06/new-feature-new-post-editor.html,
    >>>> especially about halfway down. It's
    certainly worth a try!
    >>>>
    >>>> (I used Draft Blogger when I was away a
    couple of weeks ago since
    >>>> if you advance date a post, it won't show up
    until then, unlike the
    >>>> current version which posts it immediately
    but with an advance
    >>>> date. Doh!) MD
    >>>>
    >>>>
    >>>> P@tty Ayers ~ACE wrote:
    >>>>> The "Edit HTML" window in Blogger is a
    strange thing. I never see
    >>>>> much HTML in there. There are no
    <p> or <br> tags, just my text.
    >>>>> The code that I paste into the "Edit
    HTML" window has no extra <br
    >>>>> /> tags. Blogger apparently adds them
    before publishing the page.
    >>>>>
    >>>>> In other words, no, I can't manually
    remove them, because they're
    >>>>> not shown to me. :-(
    >>>>>
    >>>>> Do you use Blogger, MD? Is the "Edit
    HTML" feature like that for
    >>>>> you, also? Any other ideas?
    >>>>>
    >>>>> --
    >>>>> Patty Ayers | www.WebDevBiz.com
    >>>>> Free Articles on the Business of Web
    Development
    >>>>> Web Design Contract, Estimate Request
    Form, Estimate Worksheet
    >>>>>
    >>>>> "Mad Dog"
    <[email protected]> wrote in message
    >>>>>
    news:[email protected]...
    >>>>>> Have you gone into the HTML window
    and manually removed them?
    >>>>>>
    >>>>>> P@tty Ayers ~ACE wrote:
    >>>>>>> Yup, Blogger has added 7 <br
    /> tags *inside* my <object> tag.
    >>>>>>> Argh. What I need is a way to
    stop Blogger from doing that. I
    >>>>>>> wonder if I can trick it
    somehow.
    >>>>>>>
    >>>>>>> --
    >>>>>>> Patty Ayers | www.WebDevBiz.com
    >>>>>>> Free Articles on the Business of
    Web Development
    >>>>>>> Web Design Contract, Estimate
    Request Form, Estimate Worksheet
    >>>>>>>
    >>>>>>> "P@tty Ayers ~ACE"
    <[email protected]> wrote
    >>>>>>> in message
    news:[email protected]...
    >>>>>>>> I'm sure you're both right,
    but there are no <br /> tags in the
    >>>>>>>> <object> code that I
    enter into Blogger. For some perverse
    >>>>>>>> reason, Blogger adds them.
    Not sure where that leaves me. :-( Any
    >>>>>>>> ideas? --
    >>>>>>>> Patty Ayers |
    www.WebDevBiz.com
    >>>>>>>> Free Articles on the
    Business of Web Development
    >>>>>>>> Web Design Contract,
    Estimate Request Form, Estimate Worksheet
    >>>>>>>> --
    >>>>>>>>
    >>>>>>>> "Speculumcm"
    <[email protected]> wrote in message
    >>>>>>>>
    news:[email protected]...
    >>>>>>>>> Osgood escribió:
    >>>>>>>>>> You have quite a few
    <br /> tags within the <object> tag
    >>>>>>>>>> itself which
    should'nt be there and will cause spacing issue.
    >>>>>>>>>> I'd remove them and
    see what happens.
    >>>>>>>>>>
    >>>>>>>>>
    >>>>>>>>> Yep, Osgood it's right,
    remove <br /> tags within <object> tag
    >>>>>>>>> and <embed> tags
    as well. Something like this:
    >>>>>>>>>
    >>>>>>>>> <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    >>>>>>>>> codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
    >>>>>>>>> width="290"
    height="24"> <param name=movie
    >>>>>>>>> value="
    http://mojomom.com/podcast/audio-player/player.swf"><param
    >>>>>>>>> name=quality
    value=high><param name="LOOP" value="false">
    >>>>>>>>> <param name="wmode"
    value="transparent"><param name="FlashVars"
    >>>>>>>>>
    value="playerID=1&amp;soundFile=http://media.libsyn.com/media/mojomom/Mojo__Mom_and_Momma _Zen_v1.mp3">
    >>>>>>>>> <embed
    src="http://mojomom.com/podcast/audio-player/player.swf"
    >>>>>>>>>
    FlashVars="playerID=1&amp;soundFile=http://media.libsyn.com/media/mojomom/Mojo__Mom_and_M omma_Zen_v1.mp3"
    >>>>>>>>> quality=high
    >>>>>>>>> pluginspage="
    http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
    >>>>>>>>>
    type="application/x-shockwave-flash" width="290" height="24"
    >>>>>>>>> loop="false">
    </embed> </object>
    >>>>>>>>>
    >>>>>>>>>
    >>>>>>>>> Eso lo arregla
    definitivamente
    >>>>>>>>>
    >>>>>>>>> Saludos
    >
    >

  • Java Applet in Flash CS4 (ActionScript 3.0)

    Hi Guys,
    I wonder if anyone can help me as I am a little confused.
    Is it possible to insert a Java Applet into Flash CS4 (ActionScript 3.0)
    Any advice is much appreciated
    Thanks

    I wouldn't swear to it, but I don't think you can "import" and run an applet internally in flash, but you can call it as an external file from flash and display/run it in an html container for example.
    Just as flash (swf) is run through FlashPlayer as the runtime environment, Applets use the Java Console as its runtime environment.

  • Java Applets in Flash CS4 (ActionScript 3.0)

    Hi Guys,
    I wonder if anyone can help me as I am a little confused.
    Is it possible to insert a Java Applet into Flash CS4 (ActionScript 3.0)
    Any advice is much appreciated
    Thanks

    Perhaps one can do it using AIR but not Flash IDE (CS4) or ActionScript.

  • Installing Flash 9 Actionscript 3 preview...

    Hi,
    I try installing flash 9 actionscript 3 preview, and realize
    that this application is installed in a seperate folder from my
    flash 8 IDE, which is not my expectation. (I expect, the flash 9 to
    override the flash 8 application).
    This is still not that serious, but the thing is when i start
    up flash 9 actionscript 3 preview IDE, I realize that the help
    window is totally empty!!!
    Anyone can help me with this? thanks

    hanct2002 wrote:
    > This is still not that serious, but the thing is when i
    start up flash 9
    > actionscript 3 preview IDE, I realize that the help
    window is totally empty!!!
    At the moment, the ActionScript 3.0 help is online only.
    http://livedocs.macromedia.com/labs/as3preview/docs/wwhelp/wwhimpl/js/html/wwhelp.htm
    http://livedocs.macromedia.com/labs/as3preview/langref/
    David Powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

Maybe you are looking for