dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: lightspeed10

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    682

    How much to charge?

    Need opinions from people who have undertook this sort of work before!

    How much would you charge for the sitelock of a game you've already made, including a full re-skin. The graphical/audio...
  2. Replies
    6
    Views
    864

    Surely if you want to disable double clicking;...

    Surely if you want to disable double clicking; you only want the button to be clickable once. Then after that one click, it would be disabled. That's what my code will do.

    If you look at the code,...
  3. Replies
    6
    Views
    864

    Double clicks don't technically exist in flash...

    Double clicks don't technically exist in flash unless you code them in..

    If you mean to disable a button once it's clicked:


    on (release) {
    my_button.enabled = false;
    }
  4. Pleasure!

    Pleasure!
  5. Easy peasy mate. The code would be the same, just...

    Easy peasy mate. The code would be the same, just change pieMC._currentframe to:

    _root._currentframe

    That will return the current frame of the main timeline.

    - Chris
  6. Replies
    12
    Views
    952

    You can still use true/false with the _visible...

    You can still use true/false with the _visible property mate.
  7. Replies
    1
    Views
    513

    The only way around it is to choose a different...

    The only way around it is to choose a different key. No matter what you do in flash, explorer will always be listening for the F4 keypress as well.
  8. Awesome, I've been wondering how to do that!

    Awesome, I've been wondering how to do that!
  9. I looked at doing this, but array.sort() will...

    I looked at doing this, but array.sort() will sort the numbers based on the first character of element..

    So if you have the array:

    var Array = [0,9,7,2,1,500];

    Sorting this array would give...
  10. Forget that, I'm talking rubbish.. that won't...

    Forget that, I'm talking rubbish.. that won't always work.
  11. To return the largest number of an array, surely...

    To return the largest number of an array, surely you could just use the sort() method and then get the last element. Surely more efficient than the loop etc.

    So if I had:


    var arr =...
  12. The shared object should work online, that's the...

    The shared object should work online, that's the idea of it. I've used it in most of my games. You must make sure the flash player settings are set to allow them though. (Right click - Settings)
    ...
  13. Replies
    4
    Views
    427

    movieClip.onRollOver=function(){ //stop all...

    movieClip.onRollOver=function(){
    //stop all other tweens
    };

    movieClip.onRollOut=movieClip.onDragOut=function(){
    //start tweens
    };
  14. Replies
    4
    Views
    427

    You can use myTween.stop(); and ...

    You can use myTween.stop();

    and

    myTween.resume();

    So maybe have all the tweens in an array or something, don't know how you've got it set up but shouldn't be too hard. Depends how many...
  15. Replies
    2
    Views
    392

    AS2, and I would imagine pressing the "P" key,...

    AS2, and I would imagine pressing the "P" key, haven't decided yet!
  16. Replies
    2
    Views
    392

    Pause a setInterval?

    Wondering if there's anyway this can be done? Or is there anyway you can return the time elapsed since the last function call?

    Reason being that I'm using it in a project that really requires the...
  17. The description they've put of it looks like...

    The description they've put of it looks like something a 12 year old would write.
  18. My bad, I only followed the link Chris posted.

    My bad, I only followed the link Chris posted.
  19. iTunes can't find the game on either the UK or US...

    iTunes can't find the game on either the UK or US store so I think it's been removed mate..
  20. Replies
    3
    Views
    500

    No worries, sorted it! Wrote a tween script from...

    No worries, sorted it! Wrote a tween script from scratch.. and it worked :\


    function walkTo(newX, newY) {
    var xMove:Object = new Tween(girl, "_x", Regular.easeOut, girl._x, newX, 10,...
  21. Replies
    3
    Views
    500

    I thought about using the tween class, but didn't...

    I thought about using the tween class, but didn't know if it would be the most efficient way.

    I gave it a go, and it returned this beastly error! :\



    **Error** C:\Documents and...
  22. Your welcome! I'm hardly an expert mate! I...

    Your welcome!

    I'm hardly an expert mate! I haven't made the plunge myself to be honest, been thinking about it but just haven't had the time to do it. You should do it before you get too "deep"...
  23. Put this on your first frame: var saveData =...

    Put this on your first frame:


    var saveData = SharedObject.getLocal("pie");
    if(saveData.data.pieframe!==undefined){
    pieMC.gotoAndStop(saveData.data.pieframe);
    btn.onRelease = function() {...
  24. Just tried to take a look mate but I'm using...

    Just tried to take a look mate but I'm using flash 8 so it wouldn't open.

    If you're using the save code inside a movieclip, make sure you set the path correctly. So from inside the pie movieclip...
  25. Ooh, and use saveData.clear(); to clear...

    Ooh, and use


    saveData.clear();

    to clear the data saved.
Results 1 to 25 of 205
Page 1 of 9 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center