Text spacing/shifting in Flash CS4?

Hey guys, I am new to the forum, I have used Flash MX 2004 for quite a while and had never had this problem, recently I gave my site a "facelift" in CS4 and I got it exactly how I wanted it, I exported the swf file and then saved the flash file. That was a few days ago, Today I wanted to add a new piece to my portfolio so I opened the same exact file today and everything had shifted! SOOOO FRUSTRATING as I felt I had finally achieved what I wanted to.
Any ideas on how to have this never happen again?
This is the one I was really happy with: [img]http://farm5.static.flickr.com/4009/4229111705_f05465b640_o.jpg[/img]
This is the same file 2 days later: [img]http://farm5.static.flickr.com/4007/4229877588_0fdb021a7e_o.jpg[/img]
would love some help if you guys have any ideas as this is really bizarre.
thanks!

I just fixed it, it worked fine, I closed the file and reopened it and it was exactly the same. Then I closed down the program and reopened the exact same file and it shifted everything again! SO FRUSTRATING!

Similar Messages

  • How in Flash CS4 to change text words of .fla file from a website template?

    I have a website template in which I am trying to change the header text words and menu text words to customize the template. How do I do this in Flash CS4? Thanks!

    There are any number of ways these text elements might have been designed into the file.  So you pretty much have to search for things.  If you do not see the text that you want to change when you open the fla file, then you may need to either make some layers visible that are not (eyeball icon next to layer name) or you may need to look into the actionscript code to see if the text is being dynamically written when the file opens.  If you happened to receive any .as, .txt, or .xml files with the template, the text elements may also be defined in those files.
    Just so you know, and this is just an observation, it appears from experience in these forums that template designers tend to make templates so that you are more likely to hire them to update things than to be able to solve it yourself.

  • Fonts shifting in Snow Leopard Flash CS4

    We have noticed Fonts shift down in our layouts. Our files are very messed up. One particular font that is doing this is TheMix. Anyone else have this happening? Any fixes out there? The same file opens and displays just fine under Leopard.

    I just want to add that we have the same problem. Fonts seems to gain some additional line spacing for no reason.
    They render just fine under 10.5, but when you open the very same file in Snow Leopard, most of text if shifted down.
    The font in question is TVNord family.
    Adobe, please fix it as soon as humanly possible!
    Looks like a huge problem with how fonts rendering is handled in Snow Leopard.
    http://discussions.apple.com/thread.jspa?threadID=2154431&tstart=135&start=15

  • Adding stroke to text in Flash CS4?

    But I can't figure this out or find it anywhere.
    How do you add/edit stoke on text in Flash CS4??
    Thanks.

    G.Bob,
    > How do you add/edit stoke on text in Flash CS4??
    The closest you can get to a stroke on text is either to a)
    break apart
    the text into a series of shapes and then use the Ink Bottle
    tool to add
    stokes to those shapes or b) use a very strong Glow filter.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Flash CS4 Text Layout Component Problem

    Hi,
    We are trying to use multiple instances (around 25) of Flash
    CS4 Text Layout Component in one file to display arabic text. It
    works fine for some random number of instances. However, it gives
    problem if that number increases (The text doesnt show).
    Any help will be highly appreciated.
    Thanks!

    If you're referring to this:
    http://labs.adobe.com/technologies/textlayout/
    Then that's still in beta and you should take your discussion
    to the beta forum on that link.

  • Text Manipulation in Flash CS4

    I have many text elements in my flash file - how do I modify the text to make it all caps? Is there an easy way where I can select all of them in one go and make them all caps?

    Thanks for helping out. I looked up the text element in JSFL and it's subclasses and their properties. I can't find the property related to uppercase/capitalization. Could you let me know if you're aware of anything I'm missing? Sorry if I'm bothering you but to be honest I'm too lazy to change every text box.
    38. Text
    Subclass of Element; a text field on the Stage
    Methods
    Name
    Args
    Description
    getTextAttr
    attrName [, startIndex] [, endIndex]
    Returns the specified text attribute
    getTextString
    startIndex, endIndex
    Returns the text string contained in the specified range
    setTextAttr
    attrName, attrValue [, startIndex] [, endIndex]
    Sets the specified text attribute
    setTextString
    text [, startIndex] [, endIndex]
    Sets the text string within the text object
    Properties
    Name
    Description
    accName
    Name of an object, used by screen reader
    autoExpand
    If true, the bounding width expands to display all text
    border
    If true, displays a border around dynamic or input text
    description
    Description of the object, used by screen reader
    embeddedCharacters
    Embeds all specified characters
    embedRanges
    Specifies ranges of characters to embed
    length
    The number of characters in a text object
    lineType
    The type of text line
    maxCharacters
    Specifies the maximum characters
    orientation
    Specifies the orientation of the text
    renderAsHTML
    If true, text renders as HTML
    scrollable
    If true, text can be scrolled
    selectable
    If true, text can be selected
    selectionEnd
    Offset of the end of a text subselection
    selectionStart
    Offset of the beginning of a text subselection
    shortcut
    An object's shortcut key
    silent
    If true, object is not read by screen reader
    tabIndex
    tabIndex value of an object
    textRuns
    An array of TextRun objects
    textType
    The type of text field
    useDeviceFonts
    If true, renders text using device font
    variableName
    Stores the contents of text field in a variable name
    39. TextAttrs
    Subclass of TextRun; contains properties applicable to a subselection
    Properties
    Name
    Description
    aliasText
    If true, text renders aliased
    alignment
    Paragraph justification
    autoKern
    If true, pair kerning is used
    bold
    If true, text is displayed as bold
    characterPosition
    The vertical position of text
    characterSpacing
    Integer representing the space between characters
    face
    The name of the font
    fillColor
    A hexadecimal color string
    indent
    Paragraph indentation
    italic
    If true, text is displayed in italics
    leftMargin
    A paragraph's left margin
    lineSpacing
    A paragraph's line spacing
    rightMargin
    A paragraph's right margin
    rotation
    If true, characters are rotated 90 degrees
    size
    The size of the font
    target
    The string for the target
    url
    A string representing an URL
    40. TextRun
    Subclass of Text; a string of characters
    Properties
    Name
    Description
    characters
    The text contained in a TextRun object
    textAttrs
    TextAttrs object containing the attributes of a run of text

  • (Help) Using Input text in Flash CS4 AS3

    I am trying to take a user's input (His Name) and then greet the user on the next frame using the name he previously entered. I googled for 2days and was unable to find a way to do this on flash CS4 AS3, i guess because im very new to flash (only 2-3weeks )
    Any help would be greatly appreciated, and i am sorry if this was already answered in the forums.
    thanks for reading.

    If your interested... here's some general "rules of the road" that are basically courtesies...
    Don't post the same question in different forums (crossposting).  Folks that help don't like that because they can waste their time providing the same response someone else already offered elsewhere, or their helpful info gets no attention because the OP (original poster) got wrapped up in the discussion elsewhere and never went back to the other forums.  I saw one time where the OP suffered from doing this... the first person to respond in one forum said what they wanted couldn't be done, while my response in another forum showed them how to do it... but they accepted that it couldn't be done and never returned.
    Don't post in someone else's posting unless the exact same situation applies to you and it is a current posting.  It is a bit rude to step into someone else's posting just to get attention, which some people do... some with totally unrelated problems.  Or if your problem is even slightly different, it can end up confusing matters for all involved... trying to juggle helping two people where different solutions are needed.
    If you get one problem resolved and have another you want help with that does not involve the first, start a new posting.  People search these forums so it helps to have topics match the postings, which will not apply if mutliple topics get resolved under one title.  I recently saw one person tell someone to start a new posting even though they were following up to clarify something of the solution they received... that's wrong and is more likely someone with a case of points greed... as useless as points are, it happens.

  • Flash cs4 nothing visible in library or stage but can see it in swf

    Hi,
    I'm not sure what I've done - symbols, graphics, text are visible in swf but not on stage in workspace or in library.  I wonder if I've accidentally reset something. I was trying to import an .ai graphic into a flash cs4 file when this first happened - the graphic was not visible in the workspace but could be seen in swf. Now I can't see anything in any flash file I open even ones that have been fine previously.  Just blank workspace and blank library window when select symbols in library. If I try to draw something, or insert text, it disappears as soon as I switch to selection tool but is visible if I look at the swf (control enter). Please help - much appreciated!
    The project window is just a white blank square in the developer workspace too.

    Thanks for the advice. But what I didn't make clear was that I can't use Flash at all now because nothing is visible in ANY file I open. The symbol names can be seen in the library but there is no image in the library window and no image visible if I open a symbol from the library. This is true in every single flash file I have. This has all happened since I tried to open the .ai file which had CMYK elements so I thought this was why that graphic was not visible.  The problem is that now nothing is visible in ANY .fla file, even ones that worked fine a few days ago. Also projects are not visible in the project window which is just a white blank.   If I open a new file and type text in, it is only visible as long as the text tool is selected. If I deselect the text tool, the text disappears.  If I draw a rectangle, it is only visible while the rectangle tool is selected.  If I deselect the rectangle tool the rectangle I have drawn disappears.  However, both text and rectangle are visible in the swf.  I thought maybe I had accidentally changed some setting. I have tried pressing Ctrl Alt Shift while opening flash to reset defaults but this didn't make a difference.

  • Calling a variable from inside a movieclip AS3 in Flash CS4

    I am trying to trace a variable string from inside a movieclip which is inside another movieclip on the main timeline using:
    trace(VariableString);
    and also
    trace(stage.VariableString);
    Neither work
    The variable is an input textfield and traces fine when it is on the main timeline but will not work from inside the movieclip. I am using Actionscript 3 in Flash CS4.
    I appreciate this has probably been discussed previously on this forum but I cannot find a difinitve answer that seems to work.
    Thanks

    Thanks for the reply. However this did not seem to work.
    I think I had better explain a little better.
    On Keyfrme1 I have a MovieClip1 containing a text input component. I have created a variable on keyframe 1 using:
    var VariableString1:String = new String();
    When clicking on a seperate button this happens:
    VariableString1 = MovieClip1.text;
    I can trace this correctly on the main timeline using:
    trace(VariableString1);
    However, if I try to trace this from  another keyframe inside a movieclip2 which is inside another movieclip3 using:
    trace(MovieClip1(root).VariableString1);
    I just get the error 1180 call to a possibly undefined method MovieClip1
    Sorry if this is not very clear but I am getting very confused with this.
    Thanks again

  • Flash CS4 Link to a Movie Clip from inside another Movie Clip

    I am working on a Flash CS4 project which has 5 buttons with 5 corresponding movie clips all on the main timeline. Everything in functional so far.
    My problem is this: I want to be able to mouse click on a particular word in the text inside movie clip 4 ("mc4") and have it link to movie clip 3 ("mc3") (on the main timeline).
    I've tried many things, and I can't get it working.
    I have tried to highlight the word then link it to "mc3" in the properties panel where it says link (I successfully linked to an email address and to an outside website in other parts of the project)....
    I tried to link it in the properties panel to "mc3", I tried & "parent.mc3", "root.mc3";
    Linking it this ways seems to be the simplest, logical thing to do, but I don't know what kind of prefix it needs.
    Then, I tried making the word (inside mc4) an invisible button (button6) then linking it to the mc3, with it's actionscript in the main timeline with the other button functions.
    I tried duplicating mc3 and duplicating invisible button 3 and moving it's hotspot to over the word.
    I tried putting a copy of mc3 and the button inside mc4, with the actionscript also inside mc4.
    I tried duplicating mc3 and calling it mc6, and putting that inside mc4, with the actions back on the main timeline, and tried again with the actions inside mc4.
    I tried with mc6 and invisible button 6 on the main timeline, but that doesn't seem possible.
    I tried using this code from Adobe Actionscript 3.0:
    button6.addEventListener(MouseEvent.CLICK, startMovie);
    function startMovie(e:MouseEvent):void
            this.play("mc6"); [and I also tried with "mc3"]
    Nothing works!! Please, I would appreciate any suggestions!!
    Thanks,
    Suzanne

    If I limit my attention to the second sentence of your posting, then I suggest the following (borrowing from the rest of your posting)...
    If that invisible button6 is inside MC3 (on MC3's main timeline), atop the word you are trying to link to the movieclip, and you just want to make mc4 play by clicking that invisible button6, then assign the following code to the button6 inside MC3...
    button6.addEventListener(MouseEvent.CLICK, startMovie);
    function startMovie(e:MouseEvent):void
            MovieClip(this.parent).MC4.play();
    If I missed, then I missed following your explanation.

  • Reading variables from a text file into a flash projector exe

    I am using Flash CS4 and my script is in ActionScript2.
    I am developing a flash projector file that runs when a user puts in a cd to guide them through the steps they need to install a program and then kicks off the installer.
    I use fscommand to run a utility that reads the users registry to determine the PCs regional settings and then writes this to a text file in the users %temp% directory.
    I then use the LoadVariablesNum command to read in the text file and get the variables.
    This was working fine when I had the text file stored in a different directory, but when I try and refer to the %temp% directory, I get an Error opening file message.
    Is there anyway to get flash to look in the %Temp% directory?
    Thanks in advance,
    Carol Lutz

    Code-tags sometimes cause wonders, I replaced # with *, as the code tags interprets # as comment, which looks odd:
    ******...*.........To your code: Did you test it step by step, to find out about what is read? You could either use a debugger (e.g., if you have an IDE) or system outs to get a clue. First thing to check would be, if the maze size is read correctly. Further, the following loops look odd:for(int i = 0; i < maze.length; i++) {
        for(int x = 0; x < maze.length; x++) {
            if (input.hasNextLine()) {
                String insert = input.nextLine();
                maze[x] = insert.charAt(x);
    }Shouldn't the nextLine test and assignment be in the outer loop? And assignment be to each maze's inner array? Like so:for(int i = 0; i < maze.length; i++) {
        if (input.hasNextLine()) {
            String insert = input.nextLine();
            for(int x = 0; x < insert.size(); x++) {
                maze[i][x] = insert.charAt(x);
    }Otherwise, only one character per line is read and storing a character actually should fail.

  • Flash CS4 onPeerConnect does not fire

    Hi
    I tryed to do Flex example for simple chat (p2p) with Stratus at Flash CS4 IDE
    (adapted it of course) but onPeerConnect does not fire.
    Can you take a look at my code ?
    What's wrong with it ?
    package {
        import flash.events.*;
        import flash.net.*;
        import flash.display.*;
        import flash.media.*;
        public class stratusTest2 extends Sprite {
            private const SERVER_ADDRESS:String="rtmfp://stratus.adobe.com/";
            private const DEVELOPER_KEY:String="a9fb14e5b040800e8327ab51-37f33907d0c1/";
            private var nc:NetConnection;
            private var myPeerID:String;
            private var farPeerID:String;
            // streams
            private var sendStream:NetStream;
            private var recvStream:NetStream;
            private var VideoDisplay:MyVideoDisplay;
            private var FAR_PeerVideoDisplay:farPeerVideoDisplay;
            private var VidDisplay:Sprite;
            public function stratusTest2(){
                addEventListener("addedToStage",initThis);
            private function initThis(e:Event){
                VidDisplay=new Sprite();
                addChild(VidDisplay);
                connectToStratusBTN.addEventListener("mouseDown",initConnection);
                initSendStreamBTN.addEventListener("mouseDown",initSendStream);
                initReceiveStreamBTN.addEventListener("mouseDown",initRecvStream);
                sendDataBTN.addEventListener("mouseDown",sendDataBTNPressed);
            private function initConnection(e:MouseEvent){
                if (MY_peerIDText.text) {
                    farPeerID=MY_peerIDText.text;
                nc=new NetConnection();
                nc.addEventListener(NetStatusEvent.NET_STATUS,ncStatus);
                nc.connect(SERVER_ADDRESS+DEVELOPER_KEY);
            private function ncStatus(event:NetStatusEvent):void {
                INF.appendText("ncStatus: "+event.info.code+"\n");
                trace(event.info.code);
                myPeerID=nc.nearID;
                MY_peerIDText.text=myPeerID;
            private function initSendStream(e:MouseEvent){
                trace("initSendStream");
                INF.appendText("initSendStream\n");
                sendStream=new NetStream(nc,NetStream.DIRECT_CONNECTIONS);
                sendStream.addEventListener(NetStatusEvent.NET_STATUS,netStatusHandler);
                sendStream.publish("__media");
                var sendStreamClient:Object=new Object();
                sendStream.client=sendStreamClient;
                sendStreamClient.onPeerConnect=function(callerns:NetStream):Boolean{
                    farPeerID = callerns.farID;
                    trace("onPeerConnect "+farPeerID);
                    INF.appendText("onPeerConnect "+farPeerID+"\n");
                    return true;
                //VideoDisplay=new MyVideoDisplay(VidDisplay);
                //var camera:Camera=Camera.getCamera();
                //VideoDisplay.attachCamera(camera);
                //sendStream.attachCamera(camera);
            private function initRecvStream(e:MouseEvent){
                recvStream=new NetStream(nc,farPeerID);
                INF.appendText("start receiving from "+farPeerID+"\n");
                recvStream.addEventListener(NetStatusEvent.NET_STATUS,netStatusHandler);
                recvStream.play("__media");
                recvStream.client=this;
                //FAR_PeerVideoDisplay=new farPeerVideoDisplay(VidDisplay);
                //FAR_PeerVideoDisplay.attachStream(recvStream);
            public function receiveSomeData(str:String){
                txtReceiveData.text=str;
            private function sendDataBTNPressed(e:MouseEvent){
                sendStream.send("receiveSomeData",txtSendData.text);
            private function netStatusHandler(event:NetStatusEvent):void {
                trace("netStatusHandler: "+event.info.code);
                INF.appendText("netStatusHandler: "+event.info.code+"\n");
                trace(event.info.code);
    i have 3 input texts: MY_peerIDText, txtSendData, txtReceiveData
    When i press connectToStratusBTN i get ID after than i open another
    browser window with the same swf and paste this ID into MY_peerIDText
    After connection i press initSendStreamBTN in first swf (it is 1st browser page)
    and i press initReceiveStreamBTN in 2nd swf
    After that iwrite down some text in txtSendData TextField (in 1st browser page) and press sendDataBTN
    Nothing happens

    this function doesn't work correctly:
    private function sendDataBTNPressed(e:MouseEvent){
                sendStream.send("receiveSomeData",txtSendData.text);
    because you send not String, but link to the txtSendData.text, which is empty in another peer.
    So, solution is following (not the one, but for example):
    private function sendDataBTNPressed(e:MouseEvent){
             var sendString:String = "";
            sendString+=txtSendData.text;
            sendStream.send("receiveSomeData",sendString);

  • How to Make Dreamweaver CS4/Flash CS4 Website Function on all Latest Mobile Devices

    Hello!
    I am trying to add code into my Dreamweaver CS4 file and/or Flash CS4 file in order to have the website I have created work across all of the latest mobile devices as well as traditional online systems. My flash file has a transparent stage, and my dreamweaver file has a full-screen background image. I have reviewed various tutorials and articles available online, and some advocate simply adding code, which does not seem to be working for me, while others suggest having a similar separate site created solely for mobile devices. If this is the best option, I don't know how that should be set up. What is the best path to take with this?
    This is the collection of various pieces of code I have tried adding to my files:
      <meta name="viewport" content="width=device-width" user-scalable="yes" initial-scale="1.0" /> <!-- iphone,android -->
       <meta name="HandheldFriendly" content="true" /> <!-- blackberry -->
    </style>
       <param name="allowScriptAccess" value="sameDomain" />
          <param name="allowFullScreen" value="true" />
    <param name="allowScriptAccess" value="sameDomain" />
            <param name="allowFullScreen" value="true" />
            <param name="var params = {          id: "flashID", name: "flashcontent", menu: "false", allowFullScreen: "true", fullScreenOnSelection: "true", scale:"noscale", salign:"middle"};"
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT;
    //or//
    this.stage.scaleMode = StageScaleMode.NO_SCALE;
    this.stage.align = StageAlign.TOP_LEFT;
    next_btn.width = 133 * .5;
    next_btn.height = 133 * .5;
    //flash//
    next_btn.width = Capabilities.screenDPI * .5;
    next_btn.height = Capabilities.screenDPI * .5;
    //flash//
    this.stage.addEventListener(Event.RESIZE, doLayout);
    //flash://
    <initialWindow>
       <width>320</width>
       <height>480</height>
       <!-- several other properties... -->
    </initialWindow>
    * Convert inches to pixels.
    private function inchesToPixels(inches:Number):uint
       return Math.round(Capabilities.screenDPI * inches);
    var button:Sprite = new Sprite();
    button.x = 20;
    button.y = 20;
    button.graphics.beginFill(0x 003037);
    button.graphics.drawRect(0, 0, this.inchesToPixels(.75),
       this.inchesToPixels(.25));
    button.graphics.endFill();
       this.addChild(button);
    //hard-code title://
    var titleBar:Sprite = new Sprite();
    titleBar.x = 0;
    titleBar.y = 0;
    //stage width determines width of title://
    var titleBar:Sprite = new Sprite();
    titleBar.x = 0;
    titleBar.y = 0;
    titleBar.graphics.beginFill(0x003037);
    titleBar.graphics.drawRect(0, 0, this.stage.stageWidth,
       this.inchesToPixels(.3));
    titleBar.graphics.endFill();
    this.addChild(titleBar);
    //footer://
    var footer:Sprite = new Sprite();
    footer.graphics.beginFill(0x003037);
    footer.graphics.drawRect(0, 0, this.stage.stageWidth,
       this.inchesToPixels(.3));
    footer.graphics.endFill();
    footer.x = 0;
    footer.y = this.stage.stageHeight - footer.height;
    this.addChild(footer);
    * Center one DisplayObject relative to another.
    private function center(foreground:DisplayObject,
       background:DisplayObject):void
          foreground.x = (background.width / 2) -
             (foreground.width / 2);
          foreground.y = (background.height / 2) +
             (foreground.height / 2);
    //cont.//
    var title:SimpleLabel = new SimpleLabel("My Application",
       "bold", 0xffffff, "_sans", this.inchesToPixels(.15));
    this.center(title, titleBar);
    this.addChild(title);
    //override width and height getters
    public override function get width():Number
       return this.textLine.textWidth;
    public override function get height():Number
       return (this.textLine.ascent - 1);
    if (Capabilities.manufacturer == "Android Linux" && Capabilities.screenResolutionY == 1024)
    next_btn.width = 85;
    next_btn.height = 85;
    This is the code for my Dreamweaver CS4 file (without the additional erogenous code attempts):
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN"
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>My Website Title and Slogan.</title>
    <style type="text/css">
    <!--
    body {
              background-image: url(bground%20_img3.jpg);
              background-repeat: no-repeat;
    -->
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>
    <body>
    <img src ="image.gif"  width=90% height=auto>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <meta name="Keywords" content="keywords…" />
    <div align="center"></div>
    <div align="center">
      <p> </p>
      <p>
        <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="900" height="630">
          <param name="movie" value="FlashFile.swf" />
          <param name="quality" value="high" />
          <param name="wmode" value="transparent" />
          <param name="swfversion" value="6.0.65.0" />
          <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
          <!--[if !IE]>-->
          <object type="application/x-shockwave-flash" data="FlashFile.swf" width="900" height="630">
            <!--<![endif]-->
            <param name="quality" value="high" />
            <param name="wmode" value="transparent" />
            <param name="swfversion" value="6.0.65.0" />
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
            <div>
              <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
              <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
            </div>
            <!--[if !IE]>-->
          </object>
          <!--<![endif]-->
        </object>
      </p>
    </div>
    <div align="center"> </div>
    <script type="text/javascript">
    <!--
    swfobject.registerObject("FlashID");
    swfobject.registerObject("FlashID");
    //-->
    </script>
    </body>
    </html>
    I have tried various combinations of the code listed above, but nothing seems to be working. I am not sure as to the positioning of the code, and maybe that is the problem, or maybe it is because this code in not for CS4, or not appropriate for my project. I also do not know what code should be inside the Flash file, nor what should should be inside the Dreamweaver file.
    Thank you in advance for any assistance!

    Hi
    To add to what Gramps has said, Adobe has ceased developing its flash player for ALL mobile devices so do not use Flash for any mobile device.
    Depending on the complexity of your Flash program you may be able to recreate it using Edge, but the code generated by Edge does not work in IE8 or below.
    For details on Edge, see - http://labs.adobe.com/technologies/edge/
    PZ

  • How to Make Flash CS4/Dreamweaver CS4 Website Function on all Latest Mobile Devices

    Hello!
    I am trying to add code into my Dreamweaver CS4 file and/or Flash CS4 file in order to have the website I have created work across all of the latest mobile devices as well as traditional online systems. My flash file has a transparent stage, and my dreamweaver file has a full-screen background image. I have reviewed various tutorials and articles available online, and some advocate simply adding code, which does not seem to be working for me, while others suggest having a similar separate site created solely for mobile devices. If this is the best option, I don't know how that should be set up. What is the best path to take with this?
    This is the collection of various pieces of code I have tried adding to my files:
      <meta name="viewport" content="width=device-width" user-scalable="yes" initial-scale="1.0" /> <!-- iphone,android -->
       <meta name="HandheldFriendly" content="true" /> <!-- blackberry -->
    </style>
       <param name="allowScriptAccess" value="sameDomain" />
          <param name="allowFullScreen" value="true" />
    <param name="allowScriptAccess" value="sameDomain" />
            <param name="allowFullScreen" value="true" />
            <param name="var params = {          id: "flashID", name: "flashcontent", menu: "false", allowFullScreen: "true", fullScreenOnSelection: "true", scale:"noscale", salign:"middle"};"
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT;
    //or//
    this.stage.scaleMode = StageScaleMode.NO_SCALE;
    this.stage.align = StageAlign.TOP_LEFT;
    next_btn.width = 133 * .5;
    next_btn.height = 133 * .5;
    //flash//
    next_btn.width = Capabilities.screenDPI * .5;
    next_btn.height = Capabilities.screenDPI * .5;
    //flash//
    this.stage.addEventListener(Event.RESIZE, doLayout);
    //flash://
    <initialWindow>
       <width>320</width>
       <height>480</height>
       <!-- several other properties... -->
    </initialWindow>
    * Convert inches to pixels.
    private function inchesToPixels(inches:Number):uint
       return Math.round(Capabilities.screenDPI * inches);
    var button:Sprite = new Sprite();
    button.x = 20;
    button.y = 20;
    button.graphics.beginFill(0x 003037);
    button.graphics.drawRect(0, 0, this.inchesToPixels(.75),
       this.inchesToPixels(.25));
    button.graphics.endFill();
       this.addChild(button);
    //hard-code title://
    var titleBar:Sprite = new Sprite();
    titleBar.x = 0;
    titleBar.y = 0;
    //stage width determines width of title://
    var titleBar:Sprite = new Sprite();
    titleBar.x = 0;
    titleBar.y = 0;
    titleBar.graphics.beginFill(0x003037);
    titleBar.graphics.drawRect(0, 0, this.stage.stageWidth,
       this.inchesToPixels(.3));
    titleBar.graphics.endFill();
    this.addChild(titleBar);
    //footer://
    var footer:Sprite = new Sprite();
    footer.graphics.beginFill(0x003037);
    footer.graphics.drawRect(0, 0, this.stage.stageWidth,
       this.inchesToPixels(.3));
    footer.graphics.endFill();
    footer.x = 0;
    footer.y = this.stage.stageHeight - footer.height;
    this.addChild(footer);
    * Center one DisplayObject relative to another.
    private function center(foreground:DisplayObject,
       background:DisplayObject):void
          foreground.x = (background.width / 2) -
             (foreground.width / 2);
          foreground.y = (background.height / 2) +
             (foreground.height / 2);
    //cont.//
    var title:SimpleLabel = new SimpleLabel("My Application",
       "bold", 0xffffff, "_sans", this.inchesToPixels(.15));
    this.center(title, titleBar);
    this.addChild(title);
    //override width and height getters
    public override function get width():Number
       return this.textLine.textWidth;
    public override function get height():Number
       return (this.textLine.ascent - 1);
    if (Capabilities.manufacturer == "Android Linux" && Capabilities.screenResolutionY == 1024)
    next_btn.width = 85;
    next_btn.height = 85;
    This is the code for my Dreamweaver CS4 file (without the additional erogenous code attempts!):
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN"
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>My Website Title and Slogan.</title>
    <style type="text/css">
    <!--
    body {
              background-image: url(bground%20_img3.jpg);
              background-repeat: no-repeat;
    -->
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>
    <body>
    <img src ="image.gif"  width=90% height=auto>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <meta name="Keywords" content="keywords…" />
    <div align="center"></div>
    <div align="center">
      <p> </p>
      <p>
        <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="900" height="630">
          <param name="movie" value="FlashFile.swf" />
          <param name="quality" value="high" />
          <param name="wmode" value="transparent" />
          <param name="swfversion" value="6.0.65.0" />
          <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
          <!--[if !IE]>-->
          <object type="application/x-shockwave-flash" data="FlashFile.swf" width="900" height="630">
            <!--<![endif]-->
            <param name="quality" value="high" />
            <param name="wmode" value="transparent" />
            <param name="swfversion" value="6.0.65.0" />
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
            <div>
              <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
              <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
            </div>
            <!--[if !IE]>-->
          </object>
          <!--<![endif]-->
        </object>
      </p>
    </div>
    <div align="center"> </div>
    <script type="text/javascript">
    <!--
    swfobject.registerObject("FlashID");
    swfobject.registerObject("FlashID");
    //-->
    </script>
    </body>
    </html>
    I have tried various combinations of the code listed above, but nothing seems to be working. I am not sure as to the correct positioning of the code, and maybe that is the problem, or maybe it is because this code in not for CS4, or not appropriate for my project. I also do not know what code should be inside the Flash file, nor what should should be inside the Dreamweaver file.
    Thank you in advance for any assistance!

    There is no simple code to add that will display the same on all mobile devices....
    you do know that the iProducts (iPhone, iPad, etc) don't display Flash at all, right?
    So as a start for "functioning on all latest mobile devices" you should drop any Flash content you have and move on.
    Adninjastrator

  • Error in creating XML photo gallery with Flash CS4 and AS 3.0

    Hello, all. I've been creating an XML photo gallery with Flash CS4 and AS 3.0 following a tutorial. I followed the instructions step-by-step but at the end I got the following error message instead:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
    Could anyone in the community assist me as to how to solve the problem? The script has no errors and last time I checked all the applicable files (the .xml file, the .jpg files, the .swf and the .fla file) are in my Documents folder on the Mac.
    Looking forward to your suggestions!

    Check the folder structure
    Flash is not able to get some file thats why the IO Error.
    trace the url path just before u load the file and u will be abel to find whether that file is in specified folder or not.
    http://www.darshanrane.com

Maybe you are looking for

  • HT2731 can i move my apps and music to a new iTunes account?

    If I open a new account will everything that is stored on my phone sync over?

  • How to find Which package used in Reports

    Hi, Is there any option to view all the package which used in all the all eul reports. My problem is One report is refreshing tables using package/function/ procedure ...........i which report is doing that ..........I'm having more than 1500 discove

  • CMC - Authentication - SAP Entry?

    Hi, we installed (or we are trying to install) SAP Integration Kit (Server + Client). When I try to logon now to server, I can choose between Enterprise, LDAP,Windows AD    AND     SAP. This is good. But when I goto CMC -> Authentication -> I can't s

  • User Exit or badi for shipments

    HI I am looking to add in a check to prevent users from deleteing shipments that have delvieries attached.  I was looking at the BADI_LE_SHIPMENT and the AT_SAVE method, but I can't see away of determining if the user has tried to delete something. 

  • Working with flat file

    Hi all, I am trying to import one csv file from the local machine and create one owb map. While deploying the map i am getting the below error. Warning D:\OraHome_1\owb\deployed_files\FLATFILE_TEST.ctl (Access is denied) I don't understand is to why