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; generated 19 minute(s) ago.

  1. Replies
    32
    Views
    5,166

    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...
  2. Replies
    32
    Views
    5,166

    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...
  3. Replies
    32
    Views
    5,166

    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...
  4. Replies
    2
    Views
    414

    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...
  5. Replies
    32
    Views
    5,166

    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 :
    ...
  6. Replies
    32
    Views
    5,166

    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...
  7. Replies
    32
    Views
    5,166

    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...
  8. Replies
    32
    Views
    5,166

    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);
  9. Replies
    32
    Views
    5,166

    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...
  10. Replies
    4
    Views
    703

    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
  11. Replies
    32
    Views
    5,166

    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...
  12. Replies
    7
    Views
    1,234

    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...
  13. Replies
    7
    Views
    1,234

    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?
  14. Replies
    32
    Views
    5,166

    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...
  15. Replies
    32
    Views
    5,166

    So its fine now? or do I add something?

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

    by AS3.0
    Replies
    9
    Views
    6,406

    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.
  17. Replies
    32
    Views
    5,166

    The last one that says undefined? the second card...

    The last one that says undefined? the second card will always appear for me.
  18. Replies
    32
    Views
    5,166

    Here is some progress, tell me what I might of...

    Here is some progress, tell me what I might of missed though.

    progress 0.6
  19. Replies
    32
    Views
    5,166

    Ok for the first entrance of the game it will...

    Ok for the first entrance of the game it will choose red or black & disable the one not in use, when the ticks hit 40, you can slide the cards for the current turn.

    This is what I put in...
  20. Replies
    32
    Views
    5,166

    Here is a fix for the full script that has pick()...

    Here is a fix for the full script that has pick()


    onSelfEvent (load) {
    for(var i=1;i<11;i++){
    _root.solitaire.solitaire_play["black"+i].enabled=false
    ...
  21. Replies
    32
    Views
    5,166

    Ok now words can appear + draggable, In the...

    Ok now words can appear + draggable, In the solitaire_play script for "function pick()" when the tick gets to 40 you can modify the text field _root.solitaire.solitaire_play.data_field


    ...
  22. Replies
    32
    Views
    5,166

    Inside of solitaire_play where it says...

    Inside of solitaire_play where it says onselfevent:



    onSelfEvent (load) {

    for(var i=1;i<11;i++){ //put this for loop to disable dragging.
    ...
  23. Replies
    17
    Views
    3,289

    See if someone else can help you move left &...

    See if someone else can help you move left & right,

    If you comment out //begin left scroll & uncomment //begin right scroll it will go the other way.

    If this is to build a website, the best...
  24. Replies
    17
    Views
    3,289

    To answer question number 3: I added a...

    To answer question number 3:

    I added a rolloverEvent to change the alpha to 50% on line 45. (everything that gets attached for the sliders is in the reset_array() function.

    On line 356 we must...
  25. Thread: Site is stuck

    by AS3.0
    Replies
    20
    Views
    4,603

    nvm you must compile to try, oh well , flashkit...

    nvm you must compile to try, oh well , flashkit works fine for me, maybe you have outdated broswer
Results 1 to 25 of 494
Page 1 of 20 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center