Preload and passing Variables

OK... for a control examination of what I'm trying to do:
http://www.Adobe.com/cfusion/webforums/Forum/MessageView.cfm?CATID=194 & ThreadID = 1231534

and.

http://www.Adobe.com/cfusion/webforums/Forum/MessageView.cfm?CATID=194 & ThreadID = 1235512

In short, I try to get the header image is displayed with the subject, I chose.

http://66.70.241.63 displays the options.

Right now the way that it works is that you even... you enter the specific category on the site with comme.../header.swf?varZ=Road... watch what the intermediate frame (2) and only a refresh it will come for the right frame. That tells me that my preloader does not... ok, that's fine... I thought since I was on the file it works work for all topics... just load one time... bad, even when I point to the actual address ( http://66.70.241.63/flash/header.swf?varZ=Road) it this load for each new page and then work when updating.

What follows is my logic:

If ((_framesloaded > = _totalframes)) {}
If (varZ == 'BMX') {}
gotoAndStop (6);
} ElseIf (varZ == 'Road') {}
gotoAndStop (3);
} ElseIf (varZ == 'ATV') {}
gotoAndStop (4);
} ElseIf (varZ == 'Comfort') {}
gotoAndStop (5);
} ElseIf (varZ == "Sk8") {}
gotoAndStop (7);
} ElseIf (varZ == 'Kayak') {}
gotoAndStop (8);
} else {}
gotoAndStop (2);
}
} else {}
gotoAndPlay (1);
}

I moved the logic inside the if statement in box 2 without success.

Suggestions?
Chuck

FWIW... went to this help file and it seems to work.

http://livedocs.Macromedia.com/Flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context= LiveDocs_Parts & file = 00002458.html

Tags: Adobe Animate

Similar Questions

  • Declarative component and passing variable and resource group

    Hello

    I have the doubt in the component using declarative

    I'm call declarative component as...

    < af:declarativeComponent = viewId "folder/dc.jsff" id = "dc_dc10" > "

    < name f: attribute = "var" value = "Display" / >

    < / af:declarativeComponent >

    In dc.jsff

    <? XML version = "1.0" encoding = "UTF - 8"? >

    " < = xmlns:jsp jsp:root ' http://Java.Sun.com/JSP/page "version ="2.1"xmlns:af =" " http://xmlns.Oracle.com/ADF/faces/rich " " > "

    < var af:componentDef = "uploading" >

    < af:xmlContent >

    " < element xmlns =" http://xmlns.Oracle.com/ADF/faces/rich/component "> "

    < description > < / description >

    < attribute >

    < name of the attribute - > var < / attribute name >

    java.lang.String < class attribute > < / attribute class >

    < / attribute >

    < / component >

    < / af:xmlContent >

    Threshold works perfectly...

    "{[< af:outputText id ="dc_ot1"value =" #{bundle ['Display.one]} "]}" / >

    Threshold of does not work...

    Trail 1)

    < af:outputText id = value = "#{bundle ['var.one']}" / "dc_ot1" >

    Reason for not working: var is not taken as a variable

    Trail 2)

    < c:set var = 'temp' value = "#{bundle ['display']}" / >

    < af:outputText id = value = "#{temp.one'}" / "dc_ot1" >

    < / af:componentDef >

    < / jsp:root >

    User, please tell us your jdev version!

    I do not understand your question.

    I understand what you try to do, is to reassess a variable inside an EL. There is no reassessment within an EL (as you have already discovered).

    Why don't spend you the ' #{bundle ['Display.one']} "directly on the declarative component instead of pass the name of the key to read from the package?

    Timo

  • AppleScript find and pass variables with a single value for the new string

    Hello again,

    I need a solution to do this:

    We have the string

    {0, 0, '62 21 37', 1, 0, ' 62 21 37 ", 2, 0," 108 50 56 ", 3, 0," 167 102 95 ", 4, 0, ' 108 50 56", 5, 0, "145 84 83", 6, 0, "109 50 58", 7, 0, "109 50 58", 8, 0, "129 62 66", 9, 0, "120 56 62", 10, 0, "104 47 57" "" "" "" "" "} (a few example of result window)

    This is a Pixel data - x, y and RGB as a text

    How can we separate it into different channels organized by RGB, to create something like

    {'109 50 58', 6.0 7.0}

    {'62 21 37', 0,0,1,0}

    {"108 50 56", 2,0,4,0}

    and etc.

    Thank you

    Try using:

    the_string value {0, 0, '62 21 37', 1, 0, ' 62 21 37 ", 2, 0," 108 50 56 ", 3, 0," 167 102 95 ", 4, 0, ' 108 50 56", 5, 0, "145 84 83", 6, 0, "109 50 58", 7, 0, "109 50 58", 8, 0, "129 62 66", 9, 0, "120 56 62", 10, 0, "104 47 57" "" "" "" "" "}

    Set new_strings to {}

    Repeat with 3 to (count elements of the_string) by 3 this_item

    Set temp_list to {}

    If the element the the_string this_item is not in temp_list then temp_list temp_list this_item & point of the_string

    Repeat with this_list_item points of temp_list

    the value new_strings new_strings & (this_list_item as a list)

    end repeat

    Repeat with this_list from 1 to (account new_strings)

    If (this_list point new_strings as String) is point of the_string this_item then

    point Set this_list to {this_list point of new_strings} new_strings & elements (this_item - 1) at (this_item - 2) of the_string

    end if

    end repeat

    end repeat

    Repeat with 1 to (count elements of new_strings) this_list_1

    Repeat with this_list_2 (this_list_1 + 1) (count new_strings elements)

    If this_list_1 point new_strings is not {} and this_list_2 point new_strings is not {}, then

    If the item 1 of article this_list_1 of the new_strings is point 1 of article this_list_2 of the new_strings then

    point Set this_list_1 of new_strings to the point of new_strings this_list_1 & (items 2-3 (point get new_strings this_list_2))

    this_list_2 point new_strings value {}

    output of repetition

    end if

    end if

    end repeat

    end repeat

    Set result_string to {}

    Repeat with this_string in new_strings

    If this_string is not {}, and then assign result_string result_string & this_string

    end repeat

    (143290)

  • Passing variables between LabVIEW and TestStand

    Hello

    I'm just learning how to use TestStand and although there are a multitude of resources available, I always find me at a loss on how to pass variables between TS and LV, leaving me to think that there is one fundamental thing that I'm missing which is likely, given that I have a weeks experience with LabVIEW and a days of experience with TestStand.

    I took a glance to the example of 'Clusters' to the Code Modules in TestStand examples (I use TS 2016 if it matters) because I thought it would be quite ideal for what I hope. In this case, I hope to be able to pass a string (a file path) to LabVIEW and VI power take this string and use it as part of an order for the Exec.VI system.  Then, I would be able to pass strings back to TestStand to show the user if an error occurred, but I thought I should get the first part of work.

    I guess my question is what do I have to wait to see in clusters to the example of the Modules of Code? The Watch window displays all defined variables premise on which has the ContainerOut in the Variables pane, but I don't see any kind of update on facades (VI1.vi and VI2.vi) LabVIEW code. Should I be?

    I looked at a few other discussions of the forum here and here, as well as the document of the basis of knowledge here, but could not recreate their solutions. It seems that the connector pane would be a viable way to go, but I'm not sure on how we create and use effectively. According to this document , it makes it seem like it should be simple enough to makes these terminals, but I am still missing a key step. I was able to follow all the steps on the knowledge base document and run the sequence, but then had no idea if it worked or not; I have the report show me the values of the variables I put, but I have no idea whether or not he actually did anything with the LabVIEW VI, or how I could see that.

    Please let me know if you need further information or clarifaction everything I ask.

    Thank you for your time,
    JColvin

    Digilent, a company of National Instruments

    If you want to enter values, you must create a vi for instance dialog box

    The OK button will allow new values to pass to the output terminals.

    A Cancel button will pass just the original through the output values without alteration. The VI will close when either the OK button or cancel were pressed.

    Concerning

    Ray

  • How can I build and pass a variable to the function getField?

    I need to know how to build and pass a variable to the function getField():

    I have a form of several sections similar to a spreadsheet.  Each section contains 5 rows of 11 columns.  Currently I have calculations in the field I want to consolidate and move to the level of the document.  The field names in each column are identical except for a row identifier.  For example, in the 1st row: a_debtType1, a_debtTerm1, adebtRate1, etc.  I want to be able to pass to a function of level document line identifier and that connect a function "getField.  Here is an example:

    Document-level:

    function calculateLoan (lineNumber) {}

    var myDate = getField("a_debtType"+lineNumber).valueAsString;

    var myDate = getField("a_debtTerm"+lineNumber).valueAsString;

    .. few treatment

    return

    }

    Level of the form:

    change the information in the form is ready for line 1

    function calculateLoan("1");

    Thanks in advance for any help.

    It seems good except how you call the function of what you have. The calculation script should be something like:

    Custom calculate script

    calculateLoan("1");

    Note that you can also get the line number if it is contained in behalf of the field that calls the script if you don't disturb him passing as parameter, assuming you named the fields correctly.

    For example, to calculate the field is called "row_total.1", you can get the line number in the script like this:

    var no_lig = event.target.name.split(".") [1] ;

  • creating a variable and passing in a package

    Here are the specs
        create or replace package p is
           procedure upd (
                               tab1 in boolean default true, 
                               tab2 in boolean default true, 
                               tab3 in boolean default true, 
                               tab4 in boolean default true);
                 end;          
    / 
    This is the body
    create or replace package body p is
     
    procedure mov_tbl1   is 
             cursor tbl1_cur as
             select  src.col1,
                     src.col2,
              from abc_tbl1 tbl1,
                   abc_tbl2 tbl2
              where tbl1.no = 1234  -- this is common one here 
                    tbl1.id = tbl.id
                   -- the record variable declaration is implicit in FOR LOOP
          begin 
                for  tbl1_cur_rec  in tbl1_cur
                loop 
                  begin
                    insert into tgt.tabl1(col1,col2)
                                values (tbl1_cur_rec.col1,
                                       tbl1_cur_reccol2,
                               );
                            exception 
                         when others then 
                           null; -- May be is better to (somehow) log the error ... 
                  end;
                end loop;
          end;
    
    
    procedure mov_tbl2 is 
           cursor ....
             select col3,col4, col5
               ......
             from abc_tbl1 tbl1,
                   abc_tbl2 tbl2,
                   abc_tbl3 tbl3
            where   tbl1.no = 1234 and  -- this is a common here 
                    tbl1.id = tbl.id and
                    tbl2.dept = tbl3.dept
              begin 
             .....
             .... 
              end
    
    proc mov_tbl3 is
           cursor ...
               select ...
                 ....
              from abc_tbl1 tbl1,
                   abc_tbl2 tbl2,
                   abc_tbl3 tbl3,
                   abc_tbl4  tbl4
            where   tbl1.no = 1234 and  -- this is a common here 
                    tbl1.id = tbl.id and
                    tbl2.dept = tbl3.dept
                    tbl3.nm = tbl4.nm
    
      -- common proc
    procedure upd (
                 tab1 in  boolean default true ,
                 tab2 in boolean default true, 
                 tab3 in boolean default true, 
                 tab4 in boolean default true) is
      begin
      if tab1=true then
         mov_tbl1;
      end if;
     
      if tab2=true then
         mov_tbl2;
      end if;
     
      if tab3=true then
         mov_tbl3;
      end if;
     
      if tab4=true then
         mov_tbl4;
      end if;
    end;
    end;
    /
     
    Here's my question
     how do i pass the tbl1.num as a parameter?? 
    what I need to do something like that...
      --in spec
        procdure upd( var_tbl1no number,....)
    
       -- in body 
           -- upd procedure 
             create or replcae upd (var_tbl1no number,....)
                   .....
    
       end;
    
       Do i need to declare var_tbl1no  as a global varibale of package ??
        All i need is to pass the paarameter and that variable will be the filter 
        for all the procedure's select query ...how to do this gurus ???
    Published by: user642297 on March 1st, 2010 17:27

    Hello

    SQL> create or replace package my_pack
      2  is
      3  procedure upd(var1 number);
      4  end;
      5  /
    
    Package created.
    
    SQL> create or replace package body my_pack
      2  as
      3  procedure tab1(num number)
      4  is
      5  begin
      6  dbms_output.put_line('In procedure tab1: '||num);
      7  end;
      8  procedure tab2(num number)
      9  is
     10  begin
     11  dbms_output.put_line('In procedure tab2: '||num);
     12  end;
     13  procedure tab3(num number)
     14  is
     15  begin
     16  dbms_output.put_line('In procedure tab3: '||num);
     17  end;
     18  procedure upd(var1 number)
     19  is
     20  begin
     21  tab1(var1);
     22  tab2(var1);
     23  tab3(var1);
     24  end;
     25  end;
     26  /
    
    Package body created.
    
    SQL>  execute my_pack.upd(1234);
    In procedure tab1: 1234
    In procedure tab2: 1234
    In procedure tab3: 1234
    
    PL/SQL procedure successfully completed.
    
    SQL> 
    

    No need to explicitly mention IN, as the default parameter mode is always in.

    Hope this helps you,
    Twinkle

  • Pass Variables through case

    Hello! I'm writing a VI to control the material through a GPIB communication. The communication goes well. However, I would change that control vi is enabled for the user based on 'mode', the user selects. This mode is 1 in 3, and it would be determined by the user who clicks on a Boolean switch. My plan is for the passage to a single control of the LED, and when one of the three is on, the other two are turned off. If you click on a new LED, lights up and the others will be off. I have trouble doing this. I was planning on using a structure of the case, but I can't find a way to determine who has been selected and has that effect, because I can not change the values of each control in all cases to the structure. I thought using local variables and pass them through the structure of the case, but I can't seem to get this to work either. I appreciate any help to solve this. Thank you in advance!

    You can simply use the radio button control.

  • Is it possible to pass variables in FledgeController?

    We have some environment variables that change instance of Simulator, and it would be better that we could transmit in the Simulator, rather than having to write them to a file in the application to read running. Is it possible to pass variables in the FledgeController so they can be used as the app system environment variables?

    I don't think it's possible to pass via a command line.  But you can store this value in a file on your hard disk, Simulator one card micro SD and read the file in your application (although you mentioned that you do not want to).

    If you install via a JAD file, you can add the parameter to your JAD file and access them from your application.  But it's probably more complicated than to write a file.

  • How to pass variables to the basket to your fund information?

    Here's what I have to do.

    I have a site that sells the same products to several groups of people.

    When a customer enters our site that they need to choose what 'group', they belong to.

    Based on this selection of some of the images, text and links on the pages are customizable (I can do this without problems using a combination of passing parameters through the URL, and writing based on cookies).

    My problem is when I get the extraction are the cookies that I wrote do not give because the url changes to the worldsecuresystems.com.

    I tried everything I can think of to try to get the information stored in the basket page to transfer to the payment page.

    I basically need to spend the 2 pieces of data based on {{globals.cookie.creditunion}} and {{globals.cookie.group}} in the cart at checkout it is added to the CMS or order somewhere.

    I hope that makes sense.

    James

    Hi James,

    Just like Mihai said, pass variables by using the url in the payment button.

    Use the liquid version to create a payment button, here is an example:

    Checkout

    Afterwards, you should be able to go to globals.get.creditunion or globals.get.group

    Good luck

    Stoiky

  • The workflow step (approve Action) Service custom Java and "pass params".

    Good afternoon, fellow coders!

    Normally I research and proof of concepts until I find a solution, but given the great deadlines, I don't have the time - so I need your help.

    I try to have an Action to approve Workflow (idocScript output Workflow event call) to call a custom component (Service of Java) AND 'pass' a sort of parameters (bare minimum dDocName)

    In a perfect world, it would be as simple as: processContentInfo (String dDocName, String xMyCode1, String xMyCode2);

    But since I called the Java Service of idocScript (via executeService) I can't skip params through the API.

    Is there a simple way to do this?

    It seems that if you can not skip params you could put at least in the managed container (m_binder) and just know to look on the side of Java via some DataBinder as m_binder.getLocal)

    Am I missing a simple idocScript function that will allow you to do this?

    Note: I'm NOT running the Service from a URL so normal? param1 and param2-> m_binder.getLocal solution is not good.

    In addition, book of Bex warns on the Classes of Service not easily 'be able to call other Services of the University Complutense of MADRID'...  My Personalized Service must do exactly that (and JDBC and other things). Is this really a problem?

    Looks like I've got dDocName I could use CRMI to hit what I want, as long as I know how to use a binder, etc. - is there a mystical shade that prevents this?  Or he just said that it is difficult, UNLESS you know RIDC?

    Quality all advice is appreciated!  And please, try to give me an answer detailed as opposed to something vague like 'try a Service Manager', I need something that I can digest quickly.

    Thanks in advance!

    You can set parameters for the service call by defining Idoc Script variable before calling executeService.

    <$dDocName="TEST12345"$>

    <$param1="09876"$>

    <$param2="ABCDEFG"$>

    These variables are then available via the DataBinder service.

    Here is information on how to run a custom component service. Avoid any question doing this.

    http://www.redstonecontentsolutions.com/5/post/2012/05/executing-a-service-from-aservicehandler.html

    http://jonathanhult.com/blog/2012/06/execute-a-service-from-a-Java-filter/

    Jonathan

    http://jonathanhult.com

  • How to pass variable from bean to resourceID for the document map?

    Hello experts, I have added WebCenter workflow Microsoft document explore task in my ADF which as a parameter called resourceId.   I want to pass variable bean to this setting, because the content ID (doc name or ID) are determined dynamically.

    When I provide ${"UCM57Server #dDocName:1379596941565_CONTACT_OPTREGI"} as a resource in the expression ID, it works very well.    But samething if I attribute to a bean bean variable and entitlement in the form ${sessionScope.MyBean.docName}, it evaluates the variable bean in the form ${"UCM57Server #dDocName:1379596941565_CONTACT_OPTREGI"} and then below throws the exception:

    [2013-10 - T 02, 14: 34:50.369 - 04:00] [DefaultServer] [WARNING] [WCS-07219] [oracle.webcenter.doclib.internal.view.backing.ContentProvider] [tid: [ASSETS].] [ExecuteThread: '10' for the queue: "(self-adjusting) weblogic.kernel.Default"] [username: anonymous] [ecid: d50192415c689920:-7d97126c:1417a5d6a49: - 8000 - 000000000000008 a, 0] [APP: CreateContactWSProxy] invalid parameter combination: the login name specified by resourceId = ${"UCM57Server #dDocName:1379596941565_CONTACT_OPTREGI"} is not specified in the parameter connectionName = UCM57Server.

    Variable bean is defined as:

    private String Nomdoc = "${" UCM57Server #dDocName:1379596941565_CONTACT_OPTREGI "} ;

    Please give me some advice on how to pass the value to resourceId dynamically via the variable of bean.

    Thank you.

    private String Nomdoc = "UCM57Server #dDocName:1379596941565_CONTACT_OPTREGI";

    Without $ {}

  • How to assign values to the nested table and passes as a parameter for the procedure?

    How to assign values to the nested table and passes as a parameter for the procedure?

    Here are the object and its type

    create or replace type test_object1 as an object
    (
    val1 varchar2 (50).
    val2 varchar2 (50).
    VARCHAR2 (50) val3
    );


    create or replace type test_type1 is table of the test_object1;


    create or replace type test_object2 as an object
    (
    val1 varchar2 (50).
    val2 varchar2 (50).
    VARCHAR2 (50) val3
    );


    create or replace type test_type2 is table of the test_object2;


    GRANT ALL ON test_object1 to PUBLIC;


    GRANT ALL ON test_type1 to PUBLIC;


    GRANT ALL ON test_object2 to PUBLIC;


    GRANT ALL ON test_type2 to PUBLIC;

    Here is the table object type:

    create the table test_object_tpe
    (
    sl_num NUMBER,
    Description VARCHAR2 (100),
    main_val1 test_type1,
    main_val2 test_type2
    )


    NESTED TABLE main_val1 STORE AS tot1
    NESTED TABLE main_val2 STORE AS earlier2;


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

    Here is the procedure that inserts values into the nested table:

    PROCEDURE INSERT_TEST_DATA (sl_num in NUMBER,
    Description in VARCHAR2,
    p_main_val1 IN test_type1,
    p_main_val2 IN test_type2
    )
    IS
    BEGIN

    FOR rec in p_main_val1.first... p_main_val1. Last
    LOOP

    INSERT INTO xxdl.test_object_tpe
    (
    sl_num,
    Description,
    main_val1,
    main_val2
    )
    VALUES
    (
    sl_num
    description
    test_type1 (test_object1)
    p_main_val1 .val1 (CRE),
    p_main_val1 .val2 (CRE),
    p_main_val1 .val3 (rec)
    )
    )
    test_type2 (test_object2 (p_main_val2 .val1 (CRE),
    p_main_val2 .val2 (CRE),
    p_main_val2 .val3 (rec)
    )
    )

    );

    END LOOP;

    commit;

    END INSERT_TEST_DATA;

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

    Here are the block anonymoys what values attributed to the object type and pass values in the procedure:

    Set serveroutput on;

    declare

    p_sl_num NUMBER: = 1001;
    p_description VARCHAR2 (50): = 'Test Val1;

    inval1 test_type1: = test_type1();
    inval2 test_type2: = test_type2();

    Start


    inval1 (1) .val1: = "testx1";
    inval1 (1) .val2: = "testx2";
    inval1 (1) .val3: = "testx3";

    inval2 (1) .val1: = "testy1";
    inval2 (1) .val2: = "testy2";
    inval2 (1) .val3: = "testy3";

    CSI_PKG. INSERT_TEST_DATA (sl_num = > p_sl_num,)
    Description = > p_description,
    p_main_val1 = > inval1,
    p_main_val2 = > inval2
    );

    end;
    /
    Someone can correct me.

    Thank you
    Lavan

    Thanks for posting the DOF and the sample code but whenever you post provide your Oracle version 4-digit (result of SELECT * FROM V$ VERSION).
    >
    How to assign values to the nested table and passes as a parameter for the procedure?
    >
    Well you do almost everything bad that could be hurt.

    Here is the code that works to insert data into your table (the procedure is not even necessary).

    declare
    p_sl_num NUMBER := 1001;
    p_description VARCHAR2(50) := 'Testing Val1';
    inval1 test_type1 := test_type1();
    inval2 test_type2 := test_type2();
    begin
    inval1.extend();
    inval1(1) := test_object1('testx1', 'testx2', 'testx3');
    inval2.extend();
    inval2(1) := test_object2('testy1', 'testy2', 'testy3');
    
    INSERT INTO test_object_tpe
    (
    sl_num,
    description,
    main_val1,
    main_val2
    )
    VALUES
    (p_sl_num, p_description, inval1, inval2);
    commit;
    end;
    /
    

    See example 5-15 making reference to an element of nested Table Chapter 5 using PL/SQL collections and records in the PL/SQL doc
    http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28370/Collections.htm#CJABEBEA

    1. you don't even have the procedure because it is a simple INSERTION in the table you can do directly (see my above code)

    inval1(1).val1 := 'testx1';
    

    Since you have not yet created all the elements, there is no element 1 "inval1". You need EXTEND the collection to add an element

    inval1.extend();
    

    And then, there is an empty element, but "inval1" is a container for objects of type 'test_object1' not for scalars as "val1", "val2", and "val3".
    If you can not do

    inval1(1).val1 := 'testx1';
    

    You must create an instance of 'test_object1 '.

    inval1(1) := test_object1('testx1', 'testx2', 'testx3');
    

    And so on for the other collection

    You don't need the procedure (as my code example shows), but once you fill in the variables correctly it will work.

  • How to pass variables by using the command line when starting from a native application ActionScript

    How to pass in variables or arguments to start using the command line when starting a native ActionScript application? For example, I have my app MySweetWidget call and it was compiled with Adobe AIR runtime in captivity so now I have MySweetWidget.exe.

    In the command line, I call MySweetWidget.exe and would like to pass in variables or properties of the application. I guess that these variables are read from the loaderInfo.parameters object.

    Please let me know if the Adobe AIR runtime supports passing the parameters to native execution. If so, I would like to help determine the correct format of how pass variables. So would you want to read those loaderinfo.parameters object?

    Thank you

    Jeff

    I found the answer to my own question:

    Yes, it's a feature supported. It is documented on the following page:

    http://help.Adobe.com/en_US/FlashPlatform/reference/ActionScript/3/Flash/desktop/NativeApp lication.html #event:invoke

    When you subscribe to the event from the NativeApplication invoke it will subsequently send the event and you read the table of e.arguments object to get the start in the native application arguments.

  • Pass variables flash server - the best way?

    I use URLVariables right now to pass variables from flash to the server via the php script and update a database lines.

    var variables: URLVariables = new URLVariables();

    Currently about 9 variables are sent which are then updated in the mysql database.

    I read that the database via php calls are the main source of traffic, or at least one of them. I don't know from 100 to 500 concurrent users.

    Obvously I need expert help in the medium term, but I would like to give things a go myself.

    I've read about amfPHP, but I don't seem too well.

    Also, I can cut down the amount of php by user calls as I have anywhere for many games and mini exercises.

    BUT it is possible to get these nine variables in an object and pass the object. An object would be faster than going 9 variables and would this object placed in a cell in the mysql database.

    What would look like this? For now I can read my db easily, but if there is an object, how do you read that?

    -What is serializning? Passing an object and all data is converted to binary etc...

    As you can see, I'm a little lost.

    Thanks in advance.

    If you use a URLVariables object, then you are only passing an object even when that. I leave which, as you have. You can use Fiddler (I prefer Charles) or Charles to see all your data being passed - he did do this kind of stuff much more enjoyable.

    Serialization is simply the process of taking any Flash object, like a table and turn it into a format (such as plaintext) who can read the script on the server side.

  • pass variables between classes

    Hello! I'm new to flash actionscript and I make a small game right now. I thought to create separate movieclips for each level of play and their assigned separate classes is cleaner and easier to code.

    for example: -.

    level 1 - level1.as

    level 2 - level2.as

    Level3 - level3.as

    My problem is how to pass variables (such as health, score, etc.) to a higher level?

    Please help I'm stuck on this and I have searched a lot but couldn't get the right answer...

    Oh, and I use cs3 flash with actionscript 3.0

    I don't think you really understand what are classes and movieclips.

    MovieClips are display objects; your character, the enemy, elements, platforms< these="" will="" be="">

    Classes can be used to define new elements or extend those which already exist, such as an object or a MovieClip.

    For the purposes of making a game, I would separate levels of executives.

    do level 1 on a frame labeled "level 1".

    and level 2 on a frame labeled "level 2".

    variables will carry an image to the image.

    Use gotoAndStop (frame_label) to switch between levels

    * Make sure you use stop(); on the first image to prevent bike between the frames.

    * You can make the frames between each level that has the code "gotoAndStop(previous level)" to prevent people to hit 'play' on the swf file and the cycling through your levels.

    You can also search for SharedObjects as a method of storage of variables even after that the swf file is closed.

Maybe you are looking for