best way to flash to the structure of the site... classes? XML? layer actions?

I'm doing a website.  The Web site will have several components:

  • a preloader, which will host while content is loading.
  • an external browser, full intro slideshow swf that will work until it is clicked on a menu item and will work again when the user clicks a button 'House' in the main menu.
  • a main menu, which will be accordion style and using some fades of tweenlite/greensock etc..
  • several external swf that is loaded based on the user's selection in the main menu.  This will be the "pages" which have different slideshows, text etc..


I learned how to do all of these things since the timeline and with a layer of actionscripts.  Should I be coding this in a document and through xml class?  Is it possible, with the knowledge that I have to do all these components on the line time and an actions layer, to make it more efficient and less load time if I do via a document class / xml?  Can anyone recommend the best way to organize a flash like this site?  I read that the sites should be done through classes with xml and coding not only on the first frame of the timeline; However, I'm not sure what kind of site, it seems to be.  This is a site for a small architecture firm, which will be river photos of the projects, descriptions, etc.

Any ideas?

Thank you.

You use classes to organize your code - and so you can reuse code more easily and you can be as granular as you want - or you can paste all code into a single document class... that would really be better than putting in the timeline... Finally unless you write your code in an external editor like FlashDevelop, which is loads better than writing code in Flash.  You use XML if you need to read some data... whatever it is and want / need to be editable outside of Flash. But you could also just use a database and PHP. It's really a matter of what you are comfortable with. Using external coding and classes are all simply better in every way with a script code... so I'd say just take the leap and learn to do it "right".

Tags: Adobe Animate

Similar Questions

  • I currently have creative cloud of a photographer.  I must add my subscription first.  What is the best way to go with the best available prices?

    I currently have creative cloud of a photographer.  I must add my subscription first.  What is the best way to go with the best available prices?

    Hello

    Please see the pricing and membership creative cloud plans | Adobe Creative Cloud for plans.

    Otherwise, you can talk with the sales of Adobe as well.

    I recommend going for the plan of single-app.

    Kind regards

    Sheena

  • When I click on a link in an e-mail, I get the message following 'application not found. The only way I can access the site is to copy the link, but it is not always possible

    When I click on a link in an e-mail, I get the message following 'application not found. The only way I can access the site is to copy the link, but it is not always possible. Can you advise?

    Hello

    Follow these steps to solve the problem.


    Step 1

    a. Click Start, default programs
    b. Click set your default programs
    c. Select your browser from the list
    d. Click set this program as default
    e. click OK.

    Then proceed as follows:


    Step 2

    a. click settings by default access and computer program Set
    b. click on continue if you see the user account control prompt.
    c. click Customize
    d. Select your browser from the list
    e. click OK.

    Kind regards
    Afzal Taher
    Microsoft technical support engineer

  • Best way to update all the lines of a huge table

    Hi all

    I'm on Oracle 11.2 Enterprise edition.

    I asked a question, "assumes that there is a large table, say 3 GB size.» We need to update all rows in this table (e.g. col3 = col3 * 2), what is the best way to do this? »

    My answer was, there are 2 possible ways, depending on the number of indexes on the table

    (1) if there is a lot (or wholesale) index on the table OR the database is in FORCE LOGGING mode (due to log shipping), I just run an UPDATE command on the table and update all records. This will generate a lot of redo and undo, but we cannot do anything for indexes

    (2) if there is not a lot of clues, I'll create an empty table of the same structure (create table t2 nologging in select * from t1 where 1 = 2). Then, using an INSERT... AS SELECT... command, with the ' col3 * 2 "instead of col3, I insert any data into the new table with APPEND tip. Then create all indexes on the new table and finally, rename T2 T1

    In case the first solution, I can avoid the recreation of the index and save this I/O. In the case of newspapers, first solution makes more sense anyway.

    Second solution is logical, if we have the freedom of creating objects in NOLOGGING mode.

    What do you experts? I think in the right direction? or what?

    Thanks in advance

    Hello

    This should probably help you.

    Kind regards

    Suntrupth

  • Best way to measure accurately the activity of hiking on Apple Watch

    I use my Apple Watch with watch OS 2.2.2 paired with an iPhone on ios 9.3.3 6 and ask what is the best way to measure the calories during the hike. I currently use the app to drive and walk outdoor activity type, but it seems that the market with more than 30 pounds on the back should burn more calories than the market alone.

    It would make sense to increase my weight of 30 pounds (or whatever the weight of the package is that day) in community health for the market or is there another solution to workaround that would suffice?

    It would be great if a later version of workout app had a hiking activity or hiking with a place to specify the amount of extra weight in a pack or vest or even just an option for additional weight to the open-air market.

    Thank you!

    tcpsoft wrote:

    It would be great if a later version of workout app had a hiking activity or hiking with a place to specify the amount of extra weight in a pack or vest or even just an option for additional weight to the open-air market.

    If you want to suggest that Apple considers adding that as a new feature, you can do so here:

    https://www.Apple.com/feedback/watch.html

    (You do not speak to Apple here - it is a community based on the user).

  • What is the best way to clean all the files of the user of a PC under Win98?

    What IS THE BEST WAY to CLEAN ALL USER FILES FROM A PC the wIN98

    Hi Col BROWN,

    Please see the following article on how to perform a clean install:

    http://support.Microsoft.com/kb/221829

    In addition, for more information, please see the following article:

    http://support.Microsoft.com/kb/835826

    I hope this helps!

  • What is the best way to deal with the events of Qml-components of java script or C++?

    Hello

    Please suggest which is the best way to treat the Qml-components signal in the manuscript of java or C++.

    can read contacts in javaScript?

    When you want to make things more complex: Yes.
    QT made it much easier for me as a java developer, bb, but you will need to learn some basics.

  • What is the "best way" to see all the 'hooks' that affect the database?

    Hi all

    I'm responsible for exporting all schemas using the data pump and then re - import the scehmas, yet once so we can reorganize the real table spaces.

    I know that this can be done using grid 12 c, but I'm not sure I want to use this feature for this task.

    Anyone who has used the feature of grids to 'keep the tables' and then re - organize them while they are still online?

    I'll have to finally make it to the PROD database and I am concerned about the "break" out of jobs, items, ect, ect.

    What is the "best way" to do a proper verification of all database objects and or work, that the export/import might pipe upward?

    As I did for example, a simple count on all objects and of course excludes "SYS and SYSTEM" and the County was in close 60 000 objects.

    How do I know all 'hooks' that are inside the database? What is the way that do you?

    Thank you

    Lady Allora.

    Hi, Justin.

    I think that's what I'm going the way of...

    Select os_username, username, OWNER, dba_audit_trail SQL_TEXT

    where rownum<>

    where username <> 'SYSTEM '.

    and also have different variations all asking questions them the same point of view...

    Modes of verification do you find useful?

    Also I'm using something like this as well.

    Select "check standard", sessionid,

    proxy_sessionid statementid, entryid, extended_timestamp, global_uid,

    username, client_id, null, os_username, userhost, os_process, terminal,

    instance_number, owner, obj_name, null, new_owner,

    new_name, action, action_name, audit_option, transactionid, returncode,

    SNA, comment_text, sql_bind, sql_text,

    obj_privilege, sys_privilege, admin_option, dealer, priv_used,.

    ses_actions, logoff_time, logoff_lread, logoff_pread, logoff_lwrite,

    logoff_dlock, session_cpu

    Of

    dba_audit_trail

    where rownum<>

    order extended_timestamp;

    Thank you

    Lady Allora.

  • What is the best way/procedure to check the s10-3/Lenovo updates?

    What is the best way to get updates and drivers Lenovo... ect for my new s10-3.  Thank you, Bill

    Yes, that's correct. In addition, you will notice that most of the drivers have been downloaded 12/31/09. Something more recent that this means that it is a driver newly updated and you can download it.

  • What is the best way to deal with the pages being removed from the site in British Colombia?

    A customer wants a page removed from their Web site; What is the best way to go about removing/deleting a page in British Colombia and keep all attributed to the laid-off page SEO ranking?

    Should I delete the page and then add URL redirect via the module to redirect BC a relevant page.

    or

    I have to keep the page alive but 301 redirect using the property of the redirection page 301 in addition to Options?

    One is better than the other?

    Redirect via the page is there if you want to keep the page for any reason content wise, etc. in the admin. Web site wise is no different. A 301 redirect is a redirect 301 Grant, there is no difference.

  • the best way to deal with the changed values maskMode?

    Hi people

    I just found out that the values listed for maskModes have changed between CC14 and CC15 who broke most of my scripts of masking.

    IE MaskMode.ADD in CC14 has the value 6413 but CC15 is 6813.

    What is the best way to deal with this? is there a simple solution or what I need to check the version of AE which is used and adjust from there?

    is there a direct way to access the name ie "MaskMode.ADD" instead of the value?

    Thanks... /JL

    To get the string maskMode by the current mask, you can loop through all the values possible maskmodes and stop when you click on:

    for (var k in MaskMode){
        if (myMask.maskMode === MaskMode[k]) break;
        };
    // at this stage k is the maskMode string (eg: "ADD")
    

    Xavier

  • Best way to determine if the requisition is catalog or write-in?

    Hello

    I am doing a report on the good order, selection of data in po_requisition_headers_all and po_requisition_lines_all.

    I would like to indicate whether requisitions are catalog or write-in. What is the best way to do it?

    Thank you very much

    Hazel

    Try po_requisition_lines_all.catalog_type

  • Best way to store all the pixels in the layer of the CBC?

    I am trying to create an image for AE filter plugin. The proposed model for Applications SDK ("skeleton project"):

    Suites. Iterate8Suite1 ()->Browse(in_data,

    0, / / basic course

    linesL, / / final progress

    & params [SKELETON_INPUT]->u. ld, // src

    NULL / / area - null for all pixels

    ()Sub*) & tInfo, / / Conref - your custom data pointer

    drawTriangles8 / / function pixel pointer

    output));

    But I want to run my filtering algorithm of image on an array of int int [] argument tableau_donnees which owns all of the RGBA (0-255) values for each pixel.

    I'm doing this because I have already written the filter for Java and prefer not to completely change my implementation.

    So already, part of an API or is there a common way to do this?

    Here is my current solution in the render function:

    static PF_Err Render (.) {

    //...

    for (int i = 0; i < tInfo > -width; i ++) {

    for (int j = 0; j < tInfo > -height; j ++) {

    PF_Pixel currentPixel = *getXY(* tInfo->enter, i, j);

    int alpha is currentPixel. alpha;

    int red = currentPixel. red;

    int Green is currentPixel. Green;

    int blue = currentPixel. Blue;

    p.push_back(red);

    p.push_back(green);

    p.push_back(blue);

    p.push_back(alpha);

    }

    }

    public static PF_Pixel

    * getXY (PF_EffectWorld & def, int x, int y) {}

    return (PF_Pixel*) ((char*) beatdata +)

    (y * batrowbytes) +.

    (x * sizeof(PF_Pixel))) ;

    }

    Also, while I'm here, what is the best way to debug the plugin using Xcode? I put the path to the executable to AE, but I don't know how to debug with AE mode. I appreciate any help anyone can give me.

    Hi timode! Welcome to the forum!

    If you use the following iteration you have given PF_EffectWorld pixels for

    the buffer in and the output buffer, as well as their coordinates x, y.

    You can't the rest of the iteration put you anything else automatically.

    You can pass a pointer to any data you like, get this pointer in the

    iteration work and then go searching your data int right-handed

    x, y parameters.

    to create an array of int of any size, use of the MemorySuite and lock the

    got memory handle on an int *, and then obtained pointer behave as a

    table. (you cannot use push_back, of course for reading.)

    or proposed methods are the best performance, but I guess that when

    you will take care of performance that you can convert your java code works directly

    on the input pixels...

    in regards to debugging in xcode, if you have set the path to the executable, just hit

    cmd + r and xcode will build and run a debugging session.

    do not ensure that the build location is the place of the

    that AE loads the plug-in... (you can create an alias of plug-ins for AE

    Directory to the build location. AE will scan the alias)

  • Simple table - best way to create in the Muse?

    Hello

    I want to insert a simple table into a page in Muse.  This is an Excel spreadsheet with 6 rows and 4 columns.  It seems that I can select the cells in Excel, copy and paste in Muse.  I can also create the table directly in Muse using text boxes with striped borders - easy since my table is so small.  I read the posts here on the use of object and place, but I don't know that I need it.  I didn't need the ability to modify the data of Muse.

    My question is this: what is the best way to create a simple table in Muse?

    Thank you.

    John

    Hello

    This really depends on your preferences as well as the specific features of the table that you want to create. In your case, because the table is simple and does not need to be edited, it may be more simple create the table using text boxes and stroked the borders in muse (as you already have) you don't need to use more than one program.

    However, have you ever needed the ability to modify your tables, your best bet is to integrate the HTML code in Muse. You can do this with a table in Excel:

    What are the exact steps to get an array of Exel to Muse.

    Or create the table using a HTML generator:

    HTML - TablesGenerator.com table generator

    No option requires no knowledge of HTML. I hope this helps!

  • InDesign / best way to export for the Web?

    Hi guys,.

    I did a poster A2 (large size) and now I need to have the same image for webcast on the Internet. I guess it will be a 650 by 800 px pixeles.

    What is the best way to export this content to Internet?

    (1) I noticed that if I save the InDesign file to PDF format, even in the lowest quality of the text in small characters keeps perfectly crisp and clear, while the file is of very small size. Unfortunately the PDF cannot be used-i think - images included in a mailing list.

    (2) if I export the InDesign file even to the most high resolution available as a JPG - a traditional Internet standard image - text is vague and ill-defined, not to mention that the file is big enough.

    (3) should I exported to PDF and then open it in Photoshop and "Save for Web" in JPG? Photoshop has maybe a better engine export when as for images that InDesign... I don't know.

    I'm looking for a way to have well-defined text and clear, small size and image? I'm not sure I could use PDF here.

    Any help or ideas? It would be great

    Thank you

    S

    I export to PDF

    Open in Photoshop

    Save for Web

    PNG 24

Maybe you are looking for