Development ios/android game using flash and action script

I'm completely new to this, I did some research on the use of flash to create ios/android apps, but one thing really confuses me is,

should I create my game in flash lite or in air? I know swf format is not supported, so I'll leave aside that we...

If you with air shaped need to install the air application in devices iphone or Android before the game can be played?

Is - it is not possible to use air for application development using flash?

Since it's somehow friendly progressive users were invited to download and additional application before any game can be played...

Thanks for the help in advance...

You want to use AIR not FlashLite - for iOS, the end-user does not need to install the runtime AIR on Android, they will however. But it's painless...

You need AIR for Flash applications, but do not publish to the AIR if iOS or Android.

Be sure to get AIR 2.7 and copy it to 2.6 - CS 5.5 installs with 2.6 that runs much slower on iOS than 2.7

Tags: Adobe Animate

Similar Questions

  • How t o create breadcrumbs in flash 5 action script 2.0 use cs?

    How t o create breadcrumbs in flash 5 action script 2.0 use cs?

    If the user is throungh go some buttons then there's finally breadcrumbs on the last stage (as it is selected 1, 2 or 3 buttons etc...) and then final should display last used button.

    Besically am looking for bread crumbs. Can anyone know how to create breadcrumbs with the help of the movie clip? or any other code?

    Can someone help me?

    Use swfaddress: http://fcontheweb.com/articles/swfaddress_as2/

  • Using CS4 Flach and action script 2.0 how to move a specific frame in the main timeline when a movie clip instance come at the end of his chronology?

    Using CS4 Flach and action script 2.0 how to move a specific frame in the main timeline when a movie clip instance come at the end of his chronology?

    code on the last frame of your movieclip instance:

    _root.gotoAndStop ('whatever_frame');  will work unless this swf is loaded into another swf.  in this case, you must use a relative path to the main timeline (for example, _parent or _parent._parent etc.).

  • How to create a bike games using flash AS3?

    Je wanted create a motorcycle games using Flash . but Je ne know base. If anyone is loan to help the ?

    If you need assistance with specific questions, ask.  If you want someone to do it for you, you will probably need to hire someone.

  • Try to solve the 6 number 1 target android game using oracle (sql or pl/sql)

    Gurus and mentors/friends,.

    Today, had little space in my time to work, so I tried to reproduce an android game called "6 numbers between 1-target" in oracle.

    All that I need help from you all is to make more effective/robust and garnish with a little bit of awesomeness (preferable in SQL ? I don't)

    Please note that if you are busy, skip this question.

    ------------------------------------------------------------------------------------------------

    Game goes like this:

    -------------------------

    computer gives you only 6 numbers...

    for example: 50,9,5,8,6,7

    And using mathematics as operators '+','-',' *', ' / ' we need to get a result comparable to 292.  (this number 292 is also given by computer..)

    All that we need is the formula apt for 292 out of these 6 numbers (pouvez/do not use all these numbers) using these operators (you can use them without the restrictions of many times where they are used and also the decimal places are truncated.).

    So solutions can be: 50 * 6 - 8 + 5/9/7, 50 * 6 - 8 or 50 * 6 - 8 + 5/7/9 etc...   (multiple answers are possible, all boiling down giving 292)

    I just tried to write it this way, but its time consuming because levels rise. So I thought that I would be the dice in this forum for the best solution. (or maybe suggestions to improve my solution below)

    ------------------------------------


    create table demo (str varchar2 (100), number of val);

    -----------------------------------


    DECLARE
    l_str VARCHAR2 (100);
    l_result NUMBER;
    BEGIN
    EXECUTE IMMEDIATE 'demo truncate table ';

    WHILE (TRUE) LOOP - I know it's wrong, but it's the game after all and I needed iterations to go until I get to a solution.
    BEGIN
    FOR rec
    IN (WITH operators AS
    (Op SELECT COLUMN_VALUE
    TABLE (sys.odcivarchar2list ('+',)
    '-',
    '*',
    '/'))
    ORDER OF DBMS_RANDOM. VALUE ()),
    t AS
    (SELECT SUBSTR (SYS_CONNECT_BY_PATH (letter, ','), 2))
    Word
    FROM (SELECT LEVEL LVL,
    REGEXP_SUBSTR (str,
    '[^,]+',
    1,
    LEVEL)
    LETTER
    FROM (SELECT '7,8,5,50,9,6' FROM DUAL str) t
    CONNECT BY LEVEL < =.
    REGEXP_COUNT (STR, ',') + 1).
    WHERE = 6
    CONNECT BY NOCYCLE lvl! = lvl PRIOR),
    TT AS
    (SELECT REGEXP_SUBSTR (Word,
    '[^,]*',
    1,
    1)
    col1,
    (SELECT val
    FROM (SELECT val op
    Operators
    ORDER OF DBMS_RANDOM. VALUE ())
    WHERE ROWNUM = 1)
    OP1,
    REGEXP_SUBSTR (Word,
    '[^,]*',
    1,
    3)
    col2,
    (SELECT val
    FROM (SELECT val op
    Operators
    ORDER OF DBMS_RANDOM. VALUE ())
    WHERE ROWNUM = 1)
    OP2,
    REGEXP_SUBSTR (Word,
    '[^,]*',
    1,
    5)
    col3,
    (SELECT val
    FROM (SELECT val op
    Operators
    ORDER OF DBMS_RANDOM. VALUE ())
    WHERE ROWNUM = 1)
    OP3,
    REGEXP_SUBSTR (Word,
    '[^,]*',
    1,
    7)
    COL4,
    (SELECT val
    FROM (SELECT val op
    Operators
    ORDER OF DBMS_RANDOM. VALUE ())
    WHERE ROWNUM = 1)
    OP4,
    REGEXP_SUBSTR (Word,
    '[^,]*',
    1,
    9)
    col5,
    (SELECT val
    FROM (SELECT val op
    Operators
    ORDER OF DBMS_RANDOM. VALUE ())
    WHERE ROWNUM = 1)
    OP5,
    REGEXP_SUBSTR (Word,
    '[^,]*',
    1,
    11)
    col6
    T)
    SELECT col1
    || OP1
    || col2
    || OP2
    || COL3
    || OP3
    || COL4
    || OP4
    || col5
    || OP5
    || col6
    formula
    TT
    ORDER OF DBMS_RANDOM. VALUE ()) LOOP
    EXECUTE IMMEDIATE ' begin: result: = ' | Rec.Formula | '; end; »
    With the HELP OF THE l_result;

    l_str: = rec.formula;

    INSERT INTO demo
    VALUES (rec.formula, TRUNC (l_result));
    -COMMIT;


    END LOOP;
    END;

    IF (l_result = 292) THEN
    EXIT;
    END IF;
    END LOOP;
    END;
    /

    --------------------------------------------------------------------------------------------------

    Thanks in advance!  (even for those who have opened this question )

    See you soon,.

    Manik.

    EDIT: this solution is not all of the possible options. Go here for a shorter, faster, more complete solution.

    Here's a solution that includes parentheses. It follows the rules of "game show" as odie_63 said: the result of an intermediate calculation must be a positive integer, and each integer entry can be used at most once.

    There is some unnecessary parentheses, but they do not change the logic or the defined solution.

    It works in about 70 seconds on my PC.

    WITH input AS (
      select '50,9,8,7,6,5' nums, 292 targ from dual
    ), nums AS (
      select power(2, row_number() over(order by num desc) - 1) bits, num
      FROM (
        SELECT to_number(regexp_substr(nums,'[^,]+',1,ROWNUM)) num
        FROM input
        CONNECT BY to_number(regexp_substr(nums,'[^,]+',1,ROWNUM)) IS NOT NULL
      )
    ), ma_1 (BITS, op, num, cumul_num, str, num_parens) AS (
      SELECT BITS, NULL, num, num, num||NULL, 0 FROM nums
      UNION ALL
      SELECT (o.BITS + n.BITS) - BitAND(o.BITS, n.BITS),
      n.op, n.num,
      decode(n.op,'+', o.cumul_num + n.num, o.cumul_num * n.num),
      o.str || n.op || n.num,
      1
      FROM ma_1 o
      JOIN (
        SELECT * FROM nums,
        (SELECT '*' op FROM dual UNION ALL SELECT '+' FROM dual)
      ) n
      ON nvl(o.op,n.op) = n.op
      AND n.num < o.num
    ), ds_2 (BITS, op, num, cumul_num, str, num_parens) AS (
      SELECT BITS, op, 0, cumul_num, str, num_parens FROM ma_1
      where bits < 63 or cumul_num = (select targ from input)
      UNION ALL
      SELECT (o.BITS + n.BITS) - BitAND(o.BITS, n.BITS),
      o.op, n.num,
      decode(o.op, '+', o.cumul_num - n.num, o.cumul_num / n.num)
      END,
      o.str || decode(o.op,'+','-','/') || n.num,
      1
      FROM ds_2 o
      JOIN nums n
      ON o.op IS NOT NULL
      and n.num > o.num
      AND bitand(o.BITS, n.BITS) = 0
      AND decode(o.op, '+', o.cumul_num - n.num, o.cumul_num / n.num)
        = trunc(decode(o.op, '+', o.cumul_num - n.num, o.cumul_num / n.num))
      AND decode(o.op, '+', o.cumul_num - n.num, o.cumul_num / n.num) > 0
    ), fmt_3 as (
      SELECT BITS, op, cumul_num num, cumul_num,
      case when num_parens = 1 and bits < 63 then '(' end
        || str ||
        case when num_parens = 1 and bits < 63 then ')' end str,
      num_parens
      FROM ds_2, input
      where bits < 63 or cumul_num = targ
    ), ma_4 (BITS, op, num, cumul_num, str, num_parens) AS (
      SELECT BITS, op, num, cumul_num, str, num_parens FROM fmt_3
      UNION ALL
      SELECT
      (o.BITS + n.BITS) - BitAND(o.BITS, n.BITS),
      o.op,
      n.num,
      decode(o.op,'*', o.cumul_num + n.num, o.cumul_num * n.num),
      o.str || decode(o.op,'*','+','*') || n.str,
      least(o.num_parens+1, 2)
      FROM ma_4 o
      JOIN fmt_3 n
      on o.num_parens > 0
      and o.op = nvl(n.op,o.op)
      AND n.num < o.num
      and bitand(o.bits, n.bits) = 0
    ), ds_5 (BITS, op, num, cumul_num, str, num_parens) AS (
      SELECT BITS, op, 0, cumul_num, str, num_parens FROM ma_4
      where bits < 63 or cumul_num = (select targ from input)
      UNION ALL
      SELECT (o.BITS + n.BITS) - BitAND(o.BITS, n.BITS),
      o.op, n.num,
      decode(o.op, '*', o.cumul_num - n.num, o.cumul_num / n.num)
      END,
      o.str || decode(o.op,'*','-','/') || n.str,
      least(o.num_parens+1, 2)
      FROM ds_5 o
      JOIN fmt_3 n
      on o.num_parens > 0
      and o.op = nvl(n.op,o.op)
      AND n.num > o.num
      and bitand(o.bits, n.bits) = 0
      AND decode(o.op, '*', o.cumul_num - n.num, o.cumul_num / n.num)
        = trunc(decode(o.op, '*', o.cumul_num - n.num, o.cumul_num / n.num))
      AND decode(o.op, '*', o.cumul_num - n.num, o.cumul_num / n.num) > 0
    ), fmt_6 as (
      SELECT BITS, op, cumul_num num, cumul_num,
      case when num_parens = 2 and bits < 63 then '(' end
        || str ||
        case when num_parens = 2 and bits < 63 then ')' end str,
      num_parens
      FROM ds_5, input
      where bits < 63 or cumul_num = targ
    ), ma_7 (BITS, op, num, cumul_num, str, num_parens) AS (
      SELECT BITS, op, num, cumul_num, str, num_parens FROM fmt_6
      UNION ALL
      SELECT
      (o.BITS + n.BITS) - BitAND(o.BITS, n.BITS),
      o.op,
      n.num,
      decode(o.op,'+', o.cumul_num + n.num, o.cumul_num * n.num),
      o.str || o.op || n.str,
      least(o.num_parens+1, 3)
      FROM ma_7 o
      JOIN fmt_6 n
      on o.num_parens > 1
      and n.num_parens != 1
      and o.op = nvl(n.op,o.op)
      AND n.num < o.num
      and bitand(o.bits, n.bits) = 0
    ), ds_8 (BITS, op, num, cumul_num, str, num_parens) AS (
      SELECT BITS, op, 0, cumul_num, str, num_parens FROM ma_7
      where bits < 63 or cumul_num = (select targ from input)
      UNION ALL
      SELECT (o.BITS + n.BITS) - BitAND(o.BITS, n.BITS),
      o.op, n.num,
      decode(o.op, '+', o.cumul_num - n.num, o.cumul_num / n.num)
      END,
      o.str || decode(o.op,'+','-','/') || n.str,
      least(o.num_parens+1, 3)
      FROM ds_8 o
      JOIN fmt_6 n
      on o.num_parens > 1
      and n.num_parens != 1
      and o.op = nvl(n.op,o.op)
      AND n.num > o.num
      and bitand(o.bits, n.bits) = 0
      AND decode(o.op, '+', o.cumul_num - n.num, o.cumul_num / n.num)
        = trunc(decode(o.op, '+', o.cumul_num - n.num, o.cumul_num / n.num))
      AND decode(o.op, '+', o.cumul_num - n.num, o.cumul_num / n.num) > 0
    ), fmt_9 as (
      SELECT BITS, op, cumul_num num, cumul_num,
      case when num_parens = 3 and bits < 63 then '(' end
        || str ||
        case when num_parens = 3 and bits < 63 then ')' end str,
      num_parens
      FROM ds_8, input
      where bits < 63 or cumul_num = targ
    ), ma_10 (BITS, op, num, cumul_num, str, num_parens) AS (
      SELECT BITS, op, num, cumul_num, str, num_parens FROM fmt_9
      UNION ALL
      SELECT
      (o.BITS + n.BITS) - BitAND(o.BITS, n.BITS),
      o.op,
      n.num,
      decode(o.op,'*', o.cumul_num + n.num, o.cumul_num * n.num),
      o.str || decode(o.op,'*','+','*') || n.str,
      least(o.num_parens+1, 4)
      FROM ma_10 o
      JOIN fmt_9 n
      on o.num_parens > 2
      and n.num_parens != 2
      and o.op = nvl(n.op,o.op)
      AND n.num < o.num
      and bitand(o.bits, n.bits) = 0
    ), ds_11 (BITS, op, num, cumul_num, str, num_parens) AS (
      SELECT BITS, op, 0, cumul_num, str, num_parens FROM ma_10
      where bits < 63 or cumul_num = (select targ from input)
      UNION ALL
      SELECT (o.BITS + n.BITS) - BitAND(o.BITS, n.BITS),
      o.op, n.num,
      decode(o.op, '*', o.cumul_num - n.num, o.cumul_num / n.num)
      END,
      o.str || decode(o.op,'*','-','/') || n.str,
      least(o.num_parens+1, 4)
      FROM ds_11 o
      JOIN fmt_9 n
      on o.num_parens > 2
      and n.num_parens != 2
      and o.op = nvl(n.op,o.op)
      AND n.num > o.num
      and bitand(o.bits, n.bits) = 0
      AND decode(o.op, '*', o.cumul_num - n.num, o.cumul_num / n.num)
        = trunc(decode(o.op, '*', o.cumul_num - n.num, o.cumul_num / n.num))
      AND decode(o.op, '*', o.cumul_num - n.num, o.cumul_num / n.num) > 0
    ), fmt_12 as (
      SELECT BITS, op, cumul_num num, cumul_num,
      case when num_parens = 4 and bits < 63 then '(' end
        || str ||
        case when num_parens = 4 and bits < 63 then ')' end str,
      num_parens
      FROM ds_11, input
      where bits < 63 or cumul_num = targ
    ), ma_13 (BITS, op, num, cumul_num, str, num_parens) AS (
      SELECT BITS, op, num, cumul_num, str, num_parens FROM fmt_12
      UNION ALL
      SELECT
      (o.BITS + n.BITS) - BitAND(o.BITS, n.BITS),
      o.op,
      n.num,
      decode(o.op,'+', o.cumul_num + n.num, o.cumul_num * n.num),
      o.str || o.op || n.str,
      least(o.num_parens+1, 5)
      FROM ma_13 o
      JOIN fmt_12 n
      on o.num_parens > 3
      and n.num_parens != 3
      and o.op = nvl(n.op,o.op)
      AND n.num < o.num
      and bitand(o.bits, n.bits) = 0
    ), ds_14 (BITS, op, num, cumul_num, str, num_parens) AS (
      SELECT BITS, op, 0, cumul_num, str, num_parens FROM ma_13
      where bits < 63 or cumul_num = (select targ from input)
      UNION ALL
      SELECT (o.BITS + n.BITS) - BitAND(o.BITS, n.BITS),
      o.op, n.num,
      decode(o.op, '+', o.cumul_num - n.num, o.cumul_num / n.num)
      END,
      o.str || decode(o.op,'+','-','/') || n.str,
      least(o.num_parens+1, 5)
      FROM ds_14 o
      JOIN fmt_12 n
      on o.num_parens > 3
      and n.num_parens != 3
      and o.op = nvl(n.op,o.op)
      AND n.num > o.num
      and bitand(o.bits, n.bits) = 0
      AND decode(o.op, '+', o.cumul_num - n.num, o.cumul_num / n.num)
        = trunc(decode(o.op, '+', o.cumul_num - n.num, o.cumul_num / n.num))
      AND decode(o.op, '+', o.cumul_num - n.num, o.cumul_num / n.num) > 0
    )
    select str, dbms_aw.eval_number(str) check_result
    from (
      select str from ds_14, input
      where cumul_num = targ
    )
    order by str;
    
    STR CHECK_RESULT
    ((((6*5) + 8) * 9)-50) 292
    ((((8*6) + 9) * 5) + 7) 292
    ((((8*6)-5) * 7)-9) 292
    (((50*5) + 8) * 7/6)-9 292
    (((50*9) + 6) * 5/8) + 7 292
    (((50+8) * 5) + 9-7) 292
    + ((50*5) (7 * 6)) 292
    ((50*6) + 8-7-9) 292
    ((50*6)-8) 292
    ((50 + 6-5-8) * 7)-9 292
    ((50+7) * 5) + 9 + 6-8 292
    ((50 + 8-7) * 6)-5-9 292
    ((50 + 8-9) * 6) + 5-7 292
    ((50 + 9 + 6-8) * 5) + 7 292
    ((50 + 9 + 7-6) * 5)-8 292
    (8 * 6 * 5) + 50 + 9 - 7 292
  • Use the standard action and action scripts conditional on the same blade upon entry

    I want two different types of action to run on blade scripts enter the same blade, one second apart.

    1 script: fill a variable with the current date.  It is a standard action going right.

    2nd script (run 1 sec after the first script): If the above variable is greater than the current date, follow these steps.  It is a conditional action.

    How can I get Captivate perform these two actions in the same blade?  I can do if 1 script is located on the previous slide and the script 2nd on the second slide.  However this does not look good.  I want these two scripts to run on enter the same blade.  I use CP8.  Any suggestions would be greatly appreciated.

    Thank you

    Sharon

    You can use the two decisions, the first decision designating a standard simulated action by using a condition that always leads to True:

    First decision "always."

    IF 1 is equal to 1

    Assign the v_one with...                         the commands of your standard action

    Second decision «...» »

    IF v_one is equal to cpInfoCurrentDateString your conditional action

    However, in CP8 it is NOT possible to delay of 1 orders dry, this is only possible in CP9. Why you want to defer checking?

  • Need help with 3.0 in Flash CS5 action script?

    Hi I work with action script 3.0 in flash and our school teacher wants us to create a simple action that allows us to have a clip from the animated film and then we have a stop and a button "play", so when I click on stop the clip stops and when I click on play it moves again. Have tried several times, I get compiler errors. I have my buttons on one layer and my video clip on a separate layer. All I have is 2 buttons. One for the stop and the other to play.

    What I am doing wrong? Here is my code and my mistakes-

    start_btn.onRelease = function() {}


    Polygon.Play ();
    }
    stop_btn.onRelease = function() {}
    Polygon.Stop ();
    }

    Here are my mistakes and if he please be aware that our teacher said to use action script 3 only and no action script 2.

    Scene 1, 'Layer' buttons, image 1, line 1 1120:Access of start_btn of property not defined
    Scene 1, 'Layer' buttons, image 1, line 1 1120:Access of stop_btn of property not defined
    Scene 1, 'Layer' buttons, image 1, line 1 1120:Access of the polygon of property not defined
    Scene 1, 'Layer' buttons, image 1, line 1 1120:Access of the polygon of property not defined

    I think your teacher, or anyone else, gave you sense with ActionScript 2 programming. In AS2, what oyu have here would have worked very well. But in AS3, you use a rather different approach. Your buttons and their instance name, can remain the same. But now in AS3, you must add the following event listeners:

    yourButtonName.addEventListener (MouseEvent.CLICK, yourListenerFunction);

    In your case, you can do one of two things - A) assign a unique to each key listener function or B) assign the same listsner to the two functions:

    (A)

    start_btn.addEventListener (MouseEvent.CLICK, startPolygon);

    stop_btn.addEventListener (MouseEvent.CLICK, stopPolygon);

    function startPolygon(e:MouseEvent):void {}

    Polygon.Play ();

    }

    function stopPolygon(e:MouseEvent):void {}

    Polygon.Stop ();

    }

    (B)

    start_btn.addEventListener (MouseEvent.CLICK, controlPolygon);

    stop_btn.addEventListener (MouseEvent.CLICK, controlPolygon);

    function controlPolygon(e:MouseEvent):void {}

    If (e.target.name == "start_btn") {//Test for the name of the object that sent the CLICK event

    Polygon.Play ();

    } ElseIf (e.target.name == "stop_btn") {}

    Polygon.Stop ();

    }

    }

    When I use multiple buttons that do the same/almost similar things, I support approach B on A, as it keeps me just a simple to process function.

  • Update using jQuery and java script

    Is it possible using javascript and jQuery to update the two forms of this page, in tandem, as the fields change? http://www.milesmemorials.com/product-GH54.html  As you can see there are two forms, the first holds all the choices element and has an 'Add to Cart' button, the other after clicking on 'continue the evidence' shows and gathers name, Tel, email and all the other fields in the first form (which will be "hidden" once this problem is solved) everything will show will be name phone and email. Currently what is happening, it's choices are made, you click on the button of the evidence, but if a selection is then replaced by items duplicate in form2 are not updated unless the proof button back and then you click New. This may cause incorrect information submitted. So back to my original question, is it possible using javascript and conery for updating both forms in tandem as the fields change?

    Any help really appreciated!

    Take a look at the event .change here http://api.jquery.com/change/

    The figure shows a select field, but this can easily be replaced by a text field.

  • How can I watch video on yahoo when FF won't let me use flash and java

    MSG says java or flash is disabled and FF won't give me a chance to activate. How to make them work, or do I just remove No Script?

    Hi jmatacola, Firefox 23 officially will be released next week, so I think that the beta is pretty close to final at this point. I wouldn't move to Firefox 22 at this point.

  • MXML and action script

    Hi all

    How can I make component package spark draggable Panel?

    < sx:Panel = "118" x y = '89' width = '564' height = '234' id = "addPanel" title = "sss" textAlign = "right" enabled = "true" >

    < / sx:Panel >

    Thanks in advance...

    I think that you are looking for this:

    http://FlexTip.blogspot.com/2009/09/draggable-spark-Panel.html

    Let me know if it helps you!

    Kind regards

    Pablo Souza

  • layers and action script does not like I thought

    I created a simple web banner that returns through some messages with a script snowfall that make the snow fall.

    However I can't seem to get the snow fall only TI, a single layer falls in front of everything rather than behind.

    SWF file available if someone can help?

    Here

  • Fill the stage with Action Script

    Hello

    I'm new to flash and Action script. I would like to know how I could fill (instead of copy and paste) the scene with a small button e.g. 10 x 10 px. Let me explain what I'm trying to do here. It's a simple game that includes 4000 buttons, 50 lines of 80 buttons. Each button has States, not available, available and in the process. Visitors come to the page and start clicking, wins the one who has the most clicks.

    So instead of doing this with the painful copy and paste, to give the button a unique id, I was wondering if there is a way to do this with action script, generating 50 lines, 80 buttons per line, and each of them giving an id with j ++ or something.

    Thank you very much and sorry for my English.

    Of course, no problem actually. I would use two pieces of code. The first would be a
    class, which extends MovieClip and attached to your button element in the library.
    Then a little to the loop on the main timeline to attach buttons to the
    step and you're all set.

    For the class:

    class com.yourdomain.Sample extends MovieClip
    {
    var myID:Number;

    function Sample() {}

    public function set id(newID:Number):Void
    {
    myID = newID;
    this.onRelease = function() {}
    trace (this.) MyID);
    }
    }

    }

    Of course, you will need to change the com.yourdomain to your own class path.
    Then just put your clip in the library to export for ActionScript and set
    class: com.yourdomain.Sample

    In the main timeline then write a function createGrid bit as follows:

    function buildGrid (tot, sx, sy, pc, cs, rs) {}
    var startX = sx;
    var currX = startX;
    var startY = sy;
    perCol var = pc;
    var colSpace = cs;
    var rowSpace = rs;
    Use tot + 1 because we are not going to go 1-0 in the loop below
    var total = tot + 1;

    for (var i = 1; i)< total;="">
    Clip var = this.attachMovie ("btn", "btn" I, I + 10, {_x:currX,)
    _y:startY});
    clip.ID = i;
    currX += colSpace;
    If (I % perCol == 0) {}
    startY += rowSpace;
    currX = startX;
    }
    }
    }

    And call it:

    buildGrid (100, 20, 20, 10, 12, 12);

    This will make a grid of 100 occurrences of the element named "btn" (one with)
    your attached class), from 20,20 with 10 per line and 12 pixels
    between the centers... When you click on one any of them they will trace their
    appropriate index 1-100

    HTH

    --
    Dave-
    Developer leader
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.Adobe.com/communities/experts/

  • Flash Android games development

    Hey guys, can someone help me?

    I have a game project to build, but I have a question, I can build this game on actionscript 3 and port to android without problem?

    I'm concerned about the performance, I heard bad things about adobe air.

    I thought: I'm going native, but I know the time I'll get to finish that game, with android/java native will be long, but flash I know who's going to be fast.

    So I want to know if someone with experience with flash android games can say something to me about it.

    Thank you

    Flash does a good job of publishing for android.  It's certainly easy.

    so, my suggestion is to try it.  to be sure, the android platform is much lower than the office you use to develop your android game, so you should test frequently on an android device.

    and don't forget to use appropriately the cacheAsBitmap and cacheAsBitmapMatrix.

  • I use flash to build a floor plan Viewer and editor?

    I want to build a program that any floor plans and allows the user to place furniture in the space. The features will be quite simple, similar to a puzzle game. I have a menu on the side drop-down list with different categories such as chairs, sofas, beds, and then the user can place these objects in the scene and rotate and resize. Before making further research in actionscript, I thought that I would ask people with experience to see if it was possible. I could write this program and publish different versions so it could also be used on iphones and androids? I've been looking into Flash mobile development and I feel optimistic. I would love to get comments about people making applications mobile using flash and if there is any advice they could offer for someone begins, thank you.

    Yes, flash pro can be used for this.

  • After I download and install a form of internet gambling it will not let me play. There is an error message that says the name of games stopped working and his tent to find a solution and you informed when the solution is found.

    After I download and install games since the game first, big fish games and try to read a message box if poster indicating the name of the game has stopped working and that his search for a solution and you inform that a solution is found.  Here are the games I bought on these sites.  Games I buy in stores and install work. Am I missing a driver or something?

    Hi Knbrown,

    Welcome to Microsoft Vista answers Forum!

    Most of the online games use Java and Flash Player. If Java or Flash Player is not updated, you can get this error message.

    I suggest that you install the latest version of Java and Flash Player and make sure if you are able to play, you can see the link to download the latest version and install it by selecting the appropriate operating system:

    http://get.Adobe.com/flashplayer/

    http://www.Java.com/en/download/index.jsp

    If the problem persists, I suggest that you check with the manufacturer of games for assistance, you can check the link: http://bigfishgames.custhelp.com/app/home

    Let me know if it worked.

    Thank you, and in what concerns:
    Swathi B - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for