dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: tyard

Page 1 of 19 1 2 3 4

Search: Search took 0.25 seconds.

  1. Replies
    21
    Views
    935

    If you are actually dragging the canvas movieclip...

    If you are actually dragging the canvas movieclip about as opposed to using the pan asset up, you will definitely run into problems, as the scale and zoom are based on stage coordinates (and the...
  2. Replies
    0
    Views
    401

    PenPad bezier drawing app

    I just put up an updated, downloadable version of my drawing app, originally presented in friends of ED's Flash.NET. It's now packaged up as a component now so you can store it in your components...
  3. Replies
    21
    Views
    935

    Thanks! I hope it proves useful. Most of the code...

    Thanks! I hope it proves useful. Most of the code that handles the pan and zoom are on two new layers at the bottom of the tools layer folder (if you want to pick it apart).
  4. Replies
    21
    Views
    935

    OK, I've added pan and zoom as features, in...

    OK, I've added pan and zoom as features, in addition to grouping and ungrouping and saving and loading from a local shared object, which are all new since Flash.NET. Jaffasoft, I've also added a...
  5. Replies
    21
    Views
    935

    I was able to work on the zoom function tonight...

    I was able to work on the zoom function tonight and have it working. I want to integrate it with the marquee, though. Should be done by Monday, at which time I'll upload it to my site and post a link...
  6. Replies
    21
    Views
    935

    Sorry. This weekend will be the first time I'll...

    Sorry. This weekend will be the first time I'll have a few minutes even to look at it (I've been working close to 70 hours a week for the past month, literally). Off the top of my head, I don't think...
  7. Replies
    21
    Views
    935

    Don't sweat it, Jaffasoft. Just send links if you...

    Don't sweat it, Jaffasoft. Just send links if you make anything cool and pass a kind word when you can. I'm a bit busy at the moment, but I'll definitely put something together in the next several...
  8. Replies
    21
    Views
    935

    I'm always open to accept money :)

    I'm always open to accept money :)
  9. Replies
    21
    Views
    935

    Sure, I can help. Why don't you send me your...

    Sure, I can help. Why don't you send me your current file so I can see exactly where you're at, then we can discuss it outside of the forum. My thought would be that if you are actually changing the...
  10. You can find color effects for symbol instances...

    You can find color effects for symbol instances (e.g., tinting and brightness) in the Properties Panel when an instance is selected.
  11. Replies
    4
    Views
    414

    Hmm. Copying and pasting the code I posted above...

    Hmm. Copying and pasting the code I posted above works fine for me. And yes, typeof returns strings, so you have to do something like:



    for (var i in _root) {
    if (typeof _root[i] ==...
  12. Replies
    1
    Views
    366

    Yeah, don't use scenes at all. There's really no...

    Yeah, don't use scenes at all. There's really no need. Separate your content into separate movies and load into your main movie as needed. This allows you to only load the necessities to start, and...
  13. Replies
    3
    Views
    434

    What do you need to know that the help file isn't...

    What do you need to know that the help file isn't providing? To remove a movieclip instance that has been dynamically generated (ie, using createEmptyMovieClip, duplicateMovieClip, attachMovie), use...
  14. Replies
    5
    Views
    458

    I can't look at the .fla right now, but have you...

    I can't look at the .fla right now, but have you tried simply using:

    setTextFormat()

    instead of

    setNewTextFormat()?

    The former will change text CURRENTLY in the textfield. If it's a...
  15. Replies
    5
    Views
    919

    Don't know if it matters much to you now, but I...

    Don't know if it matters much to you now, but I put together a Function Curve component a month or two ago. Here was the result:

    Function Curve
  16. Replies
    4
    Views
    414

    for (var property in parentObJ) { if...

    for (var property in parentObJ) {
    if (parentObj[property] instanceof Class) {
    // code
    }
    }

    // example
    for (var i in _root) {
    if (_root[i] instanceof MovieClip) {
    _root[i]._rotation +=...
  17. You're doing it the hard way. The way you've set...

    You're doing it the hard way. The way you've set it up, you'd have to use:



    for (var cnt = 0; cnt < aClickedTiles.length; cnt++){
    trace ("the X val of " + this.aClickedTiles[cnt] + " is " +...
  18. Replies
    4
    Views
    395

    Welcome to the forums! No, you don't need to...

    Welcome to the forums!

    No, you don't need to do anything special when creating the buttons. You can simply place references to them in a new array (as long as the buttons exist on stage when you...
  19. Nice progress! I really like the muted colors.

    Nice progress! I really like the muted colors.
  20. Did you get it to work? Sorry I haven't been back...

    Did you get it to work? Sorry I haven't been back for a while, but this isn't one of my regular haunts and I only just caught your message. Let me know if you still need help.
  21. Replies
    21
    Views
    935

    Yeah, I could probably do that fairly easily-- I...

    Yeah, I could probably do that fairly easily-- I already have an interface that users could use to define their shapes:

    PenPad

    I wonder how I could make it something useful for a developer...
  22. Replies
    21
    Views
    935

    Gradient Palette component

    This component falls under the category of "interface enhancement", which is something I've seen very few components offer. Instead of being intended for use in a published swf, the Gradient Palette...
  23. Not really, but there are workarounds. Using...

    Not really, but there are workarounds. Using setInterval you can refresh the stage independently of the frame rate using updateAfterEvent(). So the idea would be that you control animations using...
  24. Replies
    4
    Views
    554

    Try: preloader = function(clip) { var...

    Try:



    preloader = function(clip) {
    var percent = Math.round(clip.getBytesLoaded()/clip.getBytesTotal() * 100);
    if (percent.toString() == "NaN") { return false };
    preload_tf.text = percent...
  25. Replies
    4
    Views
    554

    Something like: preloader = function(clip)...

    Something like:



    preloader = function(clip) {
    var percent = Math.round(clip.getBytesLoaded()/clip.getBytesTotal() * 100);
    preload_tf.text = percent + "% loaded";
    if (percent == 100) {...
Results 1 to 25 of 474
Page 1 of 19 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center