dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: webbowser.com

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    441

    Most likely your background swf has its WMode set...

    Most likely your background swf has its WMode set to "Window" (the default setting)

    The WMode needs to be "Opaque" to allow divs on top.

    To set to "Opaque":

    1. Click File -> Publish...
  2. Replies
    1
    Views
    443

    You could use a mask layer to display only a...

    You could use a mask layer to display only a portion of the bitmap.

    You can also use actionscript to dynamically draw on the mask to show different parts of the image.
  3. Replies
    2
    Views
    309

    textfield1.text = mc._x; textfield2.text =...

    textfield1.text = mc._x;
    textfield2.text = mc._y;

    Replace "textfield1" and "textfield2" with the instance names of your text fields, and replace "mc" with the instance name of your movie clip.
  4. Replies
    3
    Views
    342

    Looks like you may have HTML formatting set on...

    Looks like you may have HTML formatting set on the input field.

    To turn off HTML formatting, select the input field, then in the Properties panel you'll see a little button with "< >" on it -- be...
  5. Replies
    1
    Views
    366

    Call setInterval outside the addguy function. ...

    Call setInterval outside the addguy function.

    When setInterval is called inside the addguy function, an additional interval is created each second (1000 ms) - which causes addguy to be called once...
  6. Replies
    8
    Views
    611

    If you are using POST to send variables, try...

    If you are using POST to send variables, try using GET instead.

    I had a similar problem with Word docs and IE. It seems that IE sends two requests to the server: the first request starts Word, the...
  7. Replies
    2
    Views
    364

    Aha! You have fallen into the classic floating...

    Aha! You have fallen into the classic floating point trap. Floating point arithmetic is usually not exact.

    Some numbers, such as 0.5, can be exactly represented as a binary (base 2) number...
  8. The Flash Player (before version 8) cannot load...

    The Flash Player (before version 8) cannot load progressive jpegs.

    If you use Photoshop, open the jpeg files, then click File -> Save for Web... and be sure to remove the check mark from the...
  9. You are not getting the press event because you...

    You are not getting the press event because you have buttons inside of buttons (the nested buttons are actually receiving the event). On each of your Up/Over/Down/Hit frames, change the arrow...
  10. Replies
    3
    Views
    396

    That effect is done using a mask (see the...

    That effect is done using a mask (see the attached file for a simple example)
  11. Your movie object references do not match. The...

    Your movie object references do not match. The fix depends on where this script lives.

    If this script is outside my_mc, here is the fix (replace "this" with "my_mc", because "newClip"+i exists...
  12. Replies
    1
    Views
    398

    It seems that the book is wrong. The value of a...

    It seems that the book is wrong. The value of a variable defined on a frame can be accessed by subsequent frames on the same timeline (and that has been the case even before Flash MX).

    Really, the...
  13. Replies
    2
    Views
    388

    Flash is expecting the contents of your text file...

    Flash is expecting the contents of your text file to have the following MIME type: application/x-www-form-urlencoded.

    What that means is plus signs ("+") are actually treated as spaces, and...
  14. Replies
    3
    Views
    568

    The problem is that you are setting currItem to a...

    The problem is that you are setting currItem to a String:

    currItem = "sqMc"+(itemNum);

    What you really need to do is set currItem to reference the object instance named "sqMc"+(itemNum). There...
  15. Most likely you saved these jpegs with...

    Most likely you saved these jpegs with progressive encoding. The Flash player cannot load jpegs with progressive encoding. Open these files in Photoshop, go to Save For Web..., then be sure to remove...
  16. Replies
    1
    Views
    372

    The second parameter to indexOf specifies the...

    The second parameter to indexOf specifies the starting point of the search. You can use a recursive call to a function that searches the string from the next starting point:


    function...
  17. Replies
    4
    Views
    433

    If you have input fields with instance names such...

    If you have input fields with instance names such as input1, input2, and input3, then you can use actionscript to set the tab order:

    input1.tabIndex = 1;
    input2.tabIndex = 2;
    input3.tabIndex = 3;
  18. Actually, the parameter for setRGB is a Number. ...

    Actually, the parameter for setRGB is a Number. A Number is a Number whether its hexidecimal, decimal, binary, etc.

    This will work:

    setRGB(parseInt("0xFF0000"))

    and this will work:
    ...
  19. The built-in function parseInt will convert a...

    The built-in function parseInt will convert a string to an integer.

    Try:

    parseInt(hexstring, 16)

    The second parameter (16) tells the function that the string represents a base 16...
  20. Replies
    3
    Views
    600

    An animated mask would be the easiest way to go....

    An animated mask would be the easiest way to go. See this simple example:
  21. Replies
    5
    Views
    399

    Try these files and see what happens.

    Try these files and see what happens.
  22. Replies
    5
    Views
    399

    The problem is that the call to loadVariablesNum...

    The problem is that the call to loadVariablesNum is asynchronous, meaning that the script continues to run immediately after calling the function (it does not wait for the file to load). You are...
  23. The value of the scroll property is the line...

    The value of the scroll property is the line number.

    You need to add: _root.myTextHolder.myText.multiline = true;

    Also, the value of _root.myTextHolder.myText.scroll will always be 1 until you...
  24. If you are using something like a proxy server to...

    If you are using something like a proxy server to access the Internet, then it is probably the proxy server that is actually caching the file, not your browser.

    Another trick you can try is to...
  25. Replies
    21
    Views
    948

    When you view a Web page in Internet Explorer and...

    When you view a Web page in Internet Explorer and then press the BACKSPACE key, you move back one page in your Internet history.
    I had the same problem using anchors in Flash and pressing the...
Results 1 to 25 of 27
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center