A Flash Developer Resource Site

Search:

Type: Posts; User: Danger Madcow

Page 1 of 3 1 2 3

Search: Search took 0.05 seconds.

  1. Replacing multiple statements with a loop - Syntax incorrect?

    I have a series of images loaded in via XML and assigned to "loady" movieclips. This code works fine:



    _root.myMCL.loadClip(_root.myImages[0].attributes.url,_root.loady0); ...
  2. Flash8 Excellent! Why is the "this" required though? Is...

    Excellent! Why is the "this" required though? Is it like saying "Hey, now tempWidget is going to be called this equasion I define over here"?
  3. Flash8 Affecting multiple MCs with a for loop?

    Let's say I have ten widgets that have ten items that need to be turned off. What am I doing wrong here?


    for(i=1;i<=10;i++){
    var tempWidget = ["widget0" + i];
    trace(tempWidget);...
  4. Can I manually tween an image loaded into a MC?

    I have a very simple movie that loads an external jpg into a blank "loader" movieclip via a XML file.

    Is it possible to animate this image via manual tweens or am I limited to animating it via the...
  5. Sorry, I didn't want to give the impression that...

    Sorry, I didn't want to give the impression that I wanted code to steal. I am genuinely interested in learning how it's accomplished.

    Thanks for the link.
  6. [F8] Dynamically growing/shrinking grid

    I'd like to have a 3X3 grid that when a user clicks on a particular square on the grid, that square enlarges while the others shrink. Here's a brief illustration:
    ...
  7. Replies
    1
    Views
    658

    Dynamic text with gradients?

    I have a dynamic text field I'd like to apply a gradient to. The only think I could think that would work would be to have the text act as a mask for a gradient square beneath.

    When I attempt...
  8. Horizontal scrolling a MC with deceleration?

    I'm trying to create a scrolling effect much like the one viewable here:

    http://www.humaniz.com/work/

    Which scrolls left/right depending on the mouse position. I found some (old, old) code that...
  9. Flash 8 - Why does input text get set as HTML?

    I have an input text field in Flash 8 that does NOT have the "Render text as HTML" option selected and is set to capture the input to the "X" variable.

    However when looking at the "X" variable, I...
  10. Replies
    2
    Views
    385

    Of course! Will give it a shot - thanks again.

    Of course! Will give it a shot - thanks again.
  11. Replies
    2
    Views
    385

    How to remove part of a string?

    I have an input field, and would like to remove ".com" ".net" ".org" from any strings entered. (basically anything including and following a period)

    What's the best way to go about this?

    Thanks...
  12. So I haven't figured out why it's appearing, but:...

    So I haven't figured out why it's appearing, but:

    unloadMovieNum(2130706430);

    will make it not appear. :)
  13. Flash Settings -> Privacy Dialog Auto-Appearing. Why?

    I have a rather simple swf running in a html page that doesn't have anything to do with a camera or microphone, yet when soime users run it from their machine they get a "Macromedia Flash Player...
  14. Passing a variable to a swf via a URL?

    Let's say I have a swf with a variable name of "number" that I'd like to be able to set via the url, such as:

    http://www.domain.com/page.html?number=4

    How do I set up the swf/html to allow...
  15. Replies
    4
    Views
    429

    So adding the stop obviously works, but the...

    So adding the stop obviously works, but the "onClipEvent" to the empty movieclip doesn't work, as the (load) portion just calls the "play" when the movieclip first appears on the timeline, not...
  16. Replies
    4
    Views
    429

    Determining if a jpeg has loaded?

    I have the following load code:
    _root.loaderMC.loadMovie("new.jpeg");and what I'd like to do is to have the timeline hold there until the rather large jpeg has finished loading. What's the easiest...
  17. Replies
    1
    Views
    363

    Ha! Never mind, I just dicsovered the: ...

    Ha! Never mind, I just dicsovered the:

    startDrag(this, false, 0, 0, -200, -200); arguments.:mrpimp:
  18. Replies
    1
    Views
    363

    Dragging a MC with limitations?

    I know this is a painfully simple question, but I have something like this:

    on (press) {
    startDrag(this);
    }
    on (release) {
    stopDrag();
    }And what I'd like to do is set limitations so as the...
  19. This worked, without the "()". What a...

    This worked, without the "()".

    What a wonderfully simple answer to my question. Thanks for the help, guys.
  20. Is this a dumb question or a brain teaser?

    Is this a dumb question or a brain teaser?
  21. Determining the length of text in a textfield?

    I have a 200 pixel wide text field that will be populated with some dynamic text. I would also like to have this text be underlined so that it resembles a HTML link.

    How can I determine the length...
  22. You're exactly right. Initializing the yspeed...

    You're exactly right. Initializing the yspeed vairaible beforehand solves the problem in v7, AS2.

    Thanks so much.
  23. Why would this work in F6, AS1 but not F7, AS2?

    I have the following code which "scoots" a MC to a location with elasticity:


    slideY = function(mc, dest) {
    mc.onEnterFrame = function() {
    this._Y = slideMc(this, "_Y", dest, .4, .6);
    if...
  24. I may have spoke to soon. The code works great,...

    I may have spoke to soon. The code works great, but if you give the "dest" variable a negative number the jiggle doesn't happen. Is there a way to fix this?
  25. Ah ha! And I shall name my first born "jbum"....

    Ah ha!

    And I shall name my first born "jbum". :)

    Thanks.
Results 1 to 25 of 54
Page 1 of 3 1 2 3




Click Here to Expand Forum to Full Width

HTML5 Development Center