A Flash Developer Resource Site

Search:

Type: Posts; User: AS3.0

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    297

    Here is an extra example I did to identify the...

    Here is an extra example I did to identify the body part affected:



    onClipEvent(enterFrame) {

    if (attackActive == true ){
    this._x += 500;
    }
    var...
  2. Replies
    3
    Views
    297

    Hello, with a displayList array you can add each...

    Hello, with a displayList array you can add each hurtBox's string name & check all of the hurtBoxes in a for loop to see if there is something touching:


    onClipEvent(enterFrame) {

    if...
  3. Replies
    3
    Views
    414

    Flash8 I have an AS2.0 version here: Ok the _root...

    I have an AS2.0 version here:

    Ok the _root movieclip is called main_mc

    Inside of the main_mc movieclip is 1 keyframe with this line:


    var BALLS:Boolean=false;
  4. Replies
    3
    Views
    414

    Flash8 I have it for AS3 here: Ok the root movieclip...

    I have it for AS3 here:

    Ok the root movieclip is called main_mc

    Inside of the main_mc movieclip is 1 keyframe with this line:


    var BALLS=false;
  5. Replies
    7
    Views
    1,338

    I have a bad idea, you could option #1: Put...

    I have a bad idea, you could

    option #1:
    Put the font file into a convertor program each time so they convert to xml files in the same folder where you could draw the text using lines which would...
  6. Replies
    7
    Views
    1,338

    The html for the as2 textfield seems to implement...

    The html for the as2 textfield seems to implement a couple useful features from the html engine but not all.

    For example, you can use the FONT tag, but "style" is not used by the interpreter.
    ...
  7. Replies
    7
    Views
    1,338

    When you open the font & click install, the...

    When you open the font & click install, the actual name of the font is this: MO_Nawel

    https://board.flashkit.com/board/images/ieimages/2022/07/1.png




    this.createTextField("simple_txt",...
  8. Replies
    7
    Views
    1,338

    Do you still need this answer? It should be...

    Do you still need this answer? It should be possible by installing it & running swish.
  9. Replies
    34
    Views
    7,341

    If the user clicks its card turn repeatedly, the...

    If the user clicks its card turn repeatedly, the timer messes up so this solves that issue.

    On line 186 & 187 the cards can be disabled on the first click:

    ...
  10. Replies
    34
    Views
    7,341

    I fixed another issue where the card wasn't...

    I fixed another issue where the card wasn't switching back to the pic attachment when a user doesn't make a move.

    On the main script in solitaire_play the variables on line 6 & 7 I added 2...
  11. Replies
    34
    Views
    7,341

    Ok I fixed a bug where the card was being removed...

    Ok I fixed a bug where the card was being removed from the array too early.

    When ticks==40 on line 185 & 212 I just stored 2 variables:


    _parent.ran=ran;//the splice numbers local variable...
  12. Replies
    34
    Views
    7,341

    Ok I am pretty sure this covers what you asked. ...

    Ok I am pretty sure this covers what you asked.

    For the timer to not start when it says "click to play game" on line 7 of solitaire play I just put null & commented out the timer that would start...
  13. Replies
    2
    Views
    1,100

    By providing a really good flowchart of...

    By providing a really good flowchart of everything you want in the application & how it reacts I suppose I can make it for you in a day or two, Or you should ask programming questions in the AS3.0...
  14. Replies
    34
    Views
    7,341

    1.) Click to play. 2.) Time starts for random...

    1.) Click to play.
    2.) Time starts for random card.
    3.) Card makes move.
    4.) Card swipes up.
    5.) Text tells the next person to go, no timer until next person clicks card.

    Or did you expect :
    ...
  15. Replies
    34
    Views
    7,341

    Ok each card that had an internal release...

    Ok each card that had an internal release function with this call "_parent.released("red");" can have "this" as reference for the card



    _parent.released("red",this); //this is reference to the...
  16. Replies
    34
    Views
    7,341

    I just added this function for the solitaire_play...

    I just added this function for the solitaire_play script called "released", it gets called when a card gets swiped to give the next user a turn with a timer.

    This is the function inside the...
  17. Replies
    34
    Views
    7,341

    For line 7 of the solitaire_play script you would...

    For line 7 of the solitaire_play script you would just need to change the 1 second delay to 0 seconds.

    Change 1000ms to 0ms


    var timeout_1=setTimeout(player_time,1000,turn);
  18. Replies
    34
    Views
    7,341

    Ok this version has the timer function set to 12...

    Ok this version has the timer function set to 12 seconds default for each player

    From line 7-41 on the solitaire_play script the bottom 3 variables & player_time function was added.


    var...
  19. Replies
    4
    Views
    989

    Maybe use booleans to remember if dawn or day has...

    Maybe use booleans to remember if dawn or day has been used before.



    //v1
    stop();

    var updateTime = setInterval(currenttime, 1000);
    var attached_dawn=false
    var attached_day=false
  20. Replies
    34
    Views
    7,341

    ok in the script section "solitaire_play" where...

    ok in the script section "solitaire_play" where it says function pick, you need to add this script when tick == 40 to give the next player a turn:

    For the red reaching 40 ticks, this needs to be...
  21. Replies
    7
    Views
    1,988

    Try ctrl + 1 , ctrl + 2 or ctrl + 3 If pushing...

    Try ctrl + 1 , ctrl + 2 or ctrl + 3 If pushing ctrl+shift+w multiple times did not work, otherwise try to get a hold of another newer version to write AS3. Its a big process to publish for mobile...
  22. Replies
    7
    Views
    1,988

    Can you show a screenshot, maybe you have used a...

    Can you show a screenshot, maybe you have used a command that switches the stage view, what scripts have you put in?
  23. Replies
    34
    Views
    7,341

    Ok, in solitaire_play script I added...

    Ok, in solitaire_play script I added randomBetween which picks either black cards or red cards, & disables black cards if red is the first chosen option.



    var turn=0;
    var player_turn=["black...
  24. Replies
    34
    Views
    7,341

    So its fine now? or do I add something?

    So its fine now? or do I add something?
  25. Thread: hard drive stuff

    by AS3.0
    Replies
    9
    Views
    6,926

    Doesn't matter, I just chat random things in this...

    Doesn't matter, I just chat random things in this section. I don't want to seek special help on this topic.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center