dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: Jhonte

Page 1 of 11 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    425

    Sorry cant post the fla as it isn't released yet...

    Sorry cant post the fla as it isn't released yet and it is a big one!
    1) 10 people has done the benchmark, same results. Seems like Firefox demands more cpu time in fullscreen from the CPU.
    2)...
  2. Replies
    2
    Views
    425

    Fullscreen makes my swf go 4x faster!

    Hello!

    I have made a application in cs3 that has a lot of moving things and an own animator. When I just play my movie I get 60fps, then I switch to fullscreen and back to normal mode when I...
  3. Replies
    0
    Views
    385

    OOP function scope?

    Hello, I've have started doing some OOP programming in flash8 AS 2.0 but have ran into some problem, how do you call a function in the class if it looks like this?



    class someClass {
    var...
  4. Replies
    7
    Views
    727

    example

    something like this if you have a mc that is called "h".



    h.onEnterFrame = function() {
    this._x++;
    this._y++;
    };
    _root.onMouseDown = function() {
    _root.h.onEnterFrame = function() {
  5. Replies
    4
    Views
    567

    Theres a lot of pendulum tutorials on the net,...

    Theres a lot of pendulum tutorials on the net,
    check this one out for example!
    http://www.flashkit.com/tutorials/Math-Physics/Creation-Michele_-553/index.php
  6. Replies
    3
    Views
    346

    Great! :D

    Great! :D
  7. Replies
    4
    Views
    429

    Strange,,, works for me. Have you used this...

    Strange,,, works for me.

    Have you used this tutorial?
    http://www.kirupa.com/developer/flash8/scrollbar.htm

    If not, maybe it is worth trying that one.
  8. Replies
    1
    Views
    343

    Use loadMovie(), cut-n-paste from the flash...

    Use loadMovie(),

    cut-n-paste from the flash help follows:
    Usage 2: The following example loads the SWF file circle.swf from the same directory and replaces a movie clip called mySquare that...
  9. Replies
    3
    Views
    346

    And you use the same speed variable And function...

    And you use the same speed variable And function on both the down and up button?

    When I had similar problems before I had to make the xml variable toString() first..

    For example..
    *parse the...
  10. Replies
    4
    Views
    429

    Change it to this on line 6 var...

    Change it to this on line 6


    var scrollable:Number = contentMain._height-maskedView._height-140;


    And 140 must be something else if you want to scroll some other content. Try to find a...
  11. now tested

    Just something to get you going!
    (now tested!)




    var ballArray:Array = Array(chance1,chance2...);
    ballSize = ballArray.length;
    currentBall = 0;
  12. Replies
    2
    Views
    431

    Just look at the properties of the object. ...

    Just look at the properties of the object.

    Click for instance a movieclip once, then check the x,y,width,height properties in the property window in Flash.
  13. Replies
    3
    Views
    402

    Try to put the _root before id to......

    Try to put the _root before id to...
    on(release){clearInterval(_root.id);}

    Dont know if you can insert the function like you do... but I guess it could work. =)

    Otherwise try this
  14. Replies
    2
    Views
    453

    Use http before?.-. Set the url link to:...

    Use http before?.-.

    Set the url link to:
    http://pictures.carlosncharliesaruba.com
  15. Replies
    2
    Views
    519

    Just use random on the length of the array... ...

    Just use random on the length of the array...
    for example



    var song_Array:Array = new Array();
    song_Array = ["song1.mp3","song2.mp3","song3.mp3"]

    // song to load
    randomSong = new Sound();
  16. Replies
    8
    Views
    479

    use onPress instead? ...

    use onPress instead?




    _root["box"+i].onPress = function():Void {
    this.inputField._visible = true;
    trace("clicked on "+this._name)
    };
  17. Replies
    4
    Views
    760

    i c, this is an example of how to load a clip...

    i c, this is an example of how to load a clip and get the % loaded



    var container:MovieClip = your_mc
    var mcLoader:MovieClipLoader = new MovieClipLoader();
    var listener:Object = new...
  18. Replies
    6
    Views
    421

    sorry it was onMouseDown and onMouseUp, but...

    sorry it was onMouseDown and onMouseUp, but shotzys suggestion works good as well. ( but mostly used to say its a button )
  19. Replies
    4
    Views
    760

    i dont think u want something like that?.. .what...

    i dont think u want something like that?.. .what happends if the file to load is really big and you have a slow connection.. the fade will go reeeeally slow right?.. why not load the movie...
  20. Replies
    2
    Views
    499

    hmm,, when u press a key, make a variable...

    hmm,, when u press a key, make a variable something like lastKey = myKey before u set myKey to the new pressed value...

    then check if (myKey==lastKey) in the if paragraphs..
    if its not then you...
  21. Replies
    6
    Views
    421

    mc.onMousePressed = function() { ...

    mc.onMousePressed = function()
    { this.startDrag(); }

    _root.onMouseReleased = function()
    {
    stopDrag();
    }
  22. Ive seen someone using a sort of 'camera' instead...

    Ive seen someone using a sort of 'camera' instead of moving every movieclip on the stage up and down. This approach would be great for a site instead of having an array with all movieclips that has...
  23. Thread: Advice Needed

    by Jhonte
    Replies
    3
    Views
    372

    Can this thoughts be helpful? Add an onPress...

    Can this thoughts be helpful?

    Add an onPress to myButtons[i] where you set a globalvariable to i , _root.currentButton = i;

    And before you set your onRollOut() you check if current i is equal...
  24. Replies
    3
    Views
    360

    You already have it,, but with a low interval...

    You already have it,, but with a low interval
    var alpha_interval:Number = setInterval(fadeOut, 30, this["rLine"+redLine]);

    the "30" is 30 milliseconds,,, change it to 30000 for 30sec and so on.
  25. Replies
    4
    Views
    367

    aha! Sorry I missunderstood you =) you have...

    aha! Sorry I missunderstood you =)

    you have right

    change it to something like this


    trace(bName);
    if ((bName._width+bName._x+cap._width)>Stage.width || bName=="c2") {
Results 1 to 25 of 253
Page 1 of 11 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center