A Flash Developer Resource Site

Search:

Type: Posts; User: arkitx

Page 1 of 7 1 2 3 4

Search: Search took 0.03 seconds.

  1. AS 2 var age_limit:Number = 18;//years var...

    var age_limit:Number = 18;//years
    var today_date:Date = new Date();
    var year_limit = today_date.getFullYear()-age_limit;

    var my_birth_year = 1990;
    trace(year_limit);

    if...
  2. Replies
    1
    Views
    1,751

    AS 2 //Sender// sending_lc = new LocalConnection();...

    //Sender//
    sending_lc = new LocalConnection();
    mybtn1.onRelease = function() {
    var command="F_2";
    sending_lc.send("Sender","execute_received",command);//gotoAndPlay(2));
    };
  3. Replies
    3
    Views
    1,706

    CS3 var start_num = 0.00; var increasement_num =...

    var start_num = 0.00;
    var increasement_num = 0.55;
    var max_num = 999.99;
    var timer_interval = setInterval(timer, 10);

    function timer() {
    if (start_num <= max_num) {
    timer_txt.text =...
  4. Sorry! Hope you made some mistake to understand....

    Sorry! Hope you made some mistake to understand. The class I created is a document class which you have to keep in the main folder and declare in the FLA as a document class.

    you also have to put...
  5. package { import flash.display.MovieClip;...

    package {
    import flash.display.MovieClip;
    import flash.events.MouseEvent;
    import flash.text.TextField;

    public class DocumentClass extends MovieClip {
    private var totalChar=8;// number of...
  6. YES, You can. arkitx

    YES, You can.


    arkitx
  7. Replies
    4
    Views
    4,692

    Find the Script Assist Button in the righthand...

    Find the Script Assist Button in the righthand side in your ActionScript Panel. Undock the panel to find it.

    Hope this help.



    arkitx
  8. Replies
    4
    Views
    4,692

    Post a (Screenshot/Print Screen) of your Flash...

    Post a (Screenshot/Print Screen) of your Flash Environment.




    arkitx
  9. Thread: Variable Help

    by arkitx
    Replies
    4
    Views
    1,115

    var path:String; var i:int; for (i=0; i

    var path:String;
    var i:int;
    for (i=0; i<5; i++) {
    path = "c" + (i+1) + "_btn";
    this[path].c_name.text = "Chapter" + (i+1);
    }
  10. Replies
    8
    Views
    3,622

    have a look.

    have a look.
  11. Replies
    8
    Views
    3,622

    Create a MovieClip name "button" and Linkage...

    Create a MovieClip name "button" and Linkage Class name "AS2Button".



    class AS2Button extends MovieClip {
    private static var _logic:Boolean;
    private static var btn:MovieClip;
    public...
  12. Replies
    2
    Views
    1,727

    private function userList(e:SyncEvent):void {...

    private function userList(e:SyncEvent):void {

    for (var i:String in userListSo00.data) {
    //userArr0.push(userListSo00.data[i]);
    varX0++;
    spriteX0 = new Sprite();
    spriteX0.width...
  13. Replies
    8
    Views
    3,622

    What I mean to say what is the content inside txt...

    What I mean to say what is the content inside txt or xml file?

    What button event you want to store inside of txt/xml file?

    Specify more details what you need.



    arkitx
  14. Replies
    8
    Views
    3,622

    what script you want to change from txt /...

    what script you want to change from txt / xml...............?

    arkitx
  15. var wordList:Array=new Array("bear", "cat",...

    var wordList:Array=new Array("bear", "cat", "dog", "kite", "chair");
    var words:Array=new Array();

    for (var i=0; i<wordList.length; i++) {
    if (typeof(wordList[i])=="string") {...
  16. Replies
    15
    Views
    6,303

    Flash8 @Alienoiz: Well you can do by read/write a .txt...

    @Alienoiz: Well you can do by read/write a .txt file from the server. Flash can directly read .txt file from anywhere but cann't write into it. To write into the .txt file Flash has to call a .php...
  17. Replies
    15
    Views
    6,303

    Flash8 You need a database setup MySQL and store your...

    You need a database setup MySQL and store your information into a table of that database. Obviously you need PHP or any other Server Side Language which will communicate from your frontend Client...
  18. Replies
    3
    Views
    1,730

    CS3 I don't think your code is in proper AS syntax.....

    I don't think your code is in proper AS syntax..


    try this:



    var dp = new Array();
    dp_xml = new XML();
    dp_xml.ignoreWhite = true;
  19. Hopefully! Nobody could give you suggestion...

    Hopefully! Nobody could give you suggestion without getting their hands dirty on your code.

    arkitx
  20. Replies
    2
    Views
    1,483

    var bodydata:Array = new Array(); function...

    var bodydata:Array = new Array();

    function bodycalc(str) {
    var data=str.split(",");
    return {height:data[0],weight:data[1]};
    }

    bodydata.push(bodycalc("178,80"));...
  21. Replies
    1
    Views
    1,500

    AS 2 question[radioGroupsArray[i]].addEventListener("cl...

    question[radioGroupsArray[i]].addEventListener("click",rbListener);

    trace(evt_obj.target.selection.label);



    arkitx
  22. Replies
    2
    Views
    967

    AS 2 class RabBot extends MovieClip{ private var...

    class RabBot extends MovieClip{
    private var _rabbitSpeed:Number;
    private var _sx:Number;
    private var _sy:Number;
    private var _shipCell:String;

    public function RabBot(){
    init_rabbit();...
  23. Stage.scaleMode = "noScale"; var h_pad:Number...

    Stage.scaleMode = "noScale";

    var h_pad:Number = 10;
    var v_pad:Number = 25;

    var container:MovieClip;
    var label:TextField;
    for (var i = 0; i<3; i++) {
    for (var j = 0; j<2; j++) {...
  24. Replies
    5
    Views
    1,357

    Welcome ConnorA You have to modify the frame...

    Welcome ConnorA

    You have to modify the frame structure of your application.


    _global.cost=0;

    This might help..
  25. You might need this in the next .. var...

    You might need this in the next ..



    var h_pad:Number = 10;
    var v_pad:Number = 15;

    var container:MovieClip;

    for (var i = 0; i<3; i++) {
Results 1 to 25 of 171
Page 1 of 7 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center