Need help loading .swfs one by one, in specific order

i have been trying to figure this out for weeks now, and have
even posted on other forums about this, but nobody seems to be
willing to help me. i have a main swf, which is the basis for my
image gallery. once this page loads, a thumbnail should start
loading with a preloader displaying the precentage loaded. once the
percentage hits 100%, the image shows up, and the next thumbnail
starts, and so on. there are 15 thumbnails total that have to be
loaded. each one should load with a 10 pixel gap all around, and i
want to have 5 images load per row. i think i need to create empty
movie clips for each thumbnail to load into, but i'm not sure.
hell, i don't even know how to code this so it will work correctly.
would someone be willing to put this together for me? i am a
beginner actionscripter, and if people simply tell me "add this
line in so this will happen," i will have no idea what to do, so
that is why i need the code put in for me. i'm hoping someone here
is nice enough to do this for me, because being ignored on two
other forums has made me just want to say "screw it."
so PLEASE, can someone help me?
i have uploaded my files into a .zip file. i have only
uploaded 6 of the pictures, so that i can see if the code (that
someone will hopefully make) works when i asked for 5 thumbnails
per row.
file is located here:
http://www.arielseri.com/fla_files.zip

i completely understand. i've actually come up with a
semi-working solution!
i have 15 thumbnails total, but when i play the movie, all 15
load on one line and after 5 show up, the rest go off the stage. i
would like to set it up so that there are 5 .swfs per row. i have
one main .swf file, and two .as files. the code for each is as
follows (the ========== is just to separate the code):
main .swf code (called test.swf):
==========
fscommand("fullscreen", "false");
fscommand("allowscale", "false");
// A container clip for our thumbnails
var thumbnails_mc:MovieClip =
this.createEmptyMovieClip("thumbnails_mc",
this.getNextHighestDepth());
// An array holding the paths to our thumbnails
var thumbnailPaths_arr:Array = ["1.swf", "2.swf", "3.swf",
"4.swf", "5.swf", "6.swf", "7.swf", "8.swf", "9.swf", "10.swf",
"11.swf", "12.swf", "13.swf", "14.swf", "15.swf"];
// Our ThumbnailManager
var thumbnailManager:ThumbnailManager = new
ThumbnailManager(thumbnails_mc, thumbnailPaths_arr);
==========
ThumbnailManager.as code:
==========
import Thumbnail
class ThumbnailManager
private var counter:Number = 0;
private var root_mc:MovieClip;
private var thumbnailPaths_arr:Array;
public function ThumbnailManager (target:MovieClip,
paths:Array)
root_mc = target;
thumbnailPaths_arr = paths;
(thumbnailPaths_arr.length > 0)? createThumbnail() :
null;
private function createThumbnail ():Void
var thumb:Thumbnail = new Thumbnail(this,
thumbnailPaths_arr[counter], root_mc, counter);
counter++;
public function onThumbnailLoaded ():Void
if (counter < thumbnailPaths_arr.length)
createThumbnail();
else
==========
Thumbnail.as code:
==========
import AsBroadcaster
import ThumbnailManager
class Thumbnail
public var addListener:Function;
public var removeListener:Function;
public var broadcastMessage:Function;
private var thumbnailWidth:Number = 88;
private var thumbnailHeight:Number = 61;
private var thumbnailOffsetX:Number = 10;
private var thumbnailOffsetY:Number = 10;
private var view_mc:MovieClip;
private var image_mc:MovieClip;
private var loader_mcl:MovieClipLoader;
public function Thumbnail (manager:ThumbnailManager,
url:String, target:MovieClip, d:Number)
AsBroadcaster.initialize(this);
this.addListener(manager);
render(url, target, d);
private function render (url:String, target:MovieClip,
d:Number):Void
view_mc = target.attachMovie("thumbnail", "thumb_"+d+"_mc",
d);
view_mc._x = (d * thumbnailWidth) + (d * thumbnailOffsetX);
view_mc._y = 0;
image_mc = view_mc.createEmptyMovieClip("image_mc",
view_mc.getNextHighestDepth());
image_mc._x = 0;
image_mc._y = 0;
loader_mcl = new MovieClipLoader();
loader_mcl.addListener(this);
loader_mcl.loadClip(url, image_mc);
public function onLoadError (target:MovieClip,
error:String):Void
broadcastMessage("onThumbnailLoaded");
public function onLoadProgress (target:MovieClip, bL:Number,
bT:Number):Void
public function onLoadInit (target:MovieClip):Void
broadcastMessage("onThumbnailLoaded");
==========
can anyone help me out with what code to put where? i have
uploaded a .zip file which contains all of the files here:
http://www.arielseri.com/thumbnails.zip

Similar Messages

  • Need Help Loading SWF in a FLA

    I simply want to call a swf into an existing fla. I have
    tried everything. When dragging the timeline, you see the swf. When
    you preview, it is not there. Background - I have an exisiting fla
    that contains the image background for all. I want to set a
    transparent carousel menu on top of the background that is in the
    fla and leave the existing background and lower objects in place.
    The carousel.swf will need to call java and an xml file on the web
    server.....all external to the "summed" final. If I could layer
    flashed in DW, then the problem would also be solved. Please be
    detailed, I am obviously not a developer.

    although I'm not certain why you would not just 'place' the
    background 'image' on the stage in the fla (probably because you
    wish to change it dynamically down the road) - you need to 'load'
    the swf, not 'place' it within the other file. you do this with the
    MovieClipLoader class.
    with the swf that you wish to load in the same directory as
    the swf of the carousel file, place something like the following in
    the first frame, on a layer called actions, in the actions panel:

  • I need help loading a swf file in a flash website

    Hi,
    I am an interactive design student working on a flash portfiolio and need help. I can't figure out how to load a game I made in flash into my porfolio so that it loads after clicking on a button, becomes playable, then have a button to leave the game and go back to my portfolio. I'm working in Actionscript 2.0 because that's all my teachers will show me and I have minimal actionscript knowledge.
    Thanks,
    Emily

    I thought I got it to work with loadMovie, but it only plays the intro, and then either repeats or exits as soon as the first bit of actionscript starts

  • Need help with swf auto slider...

    Hi,
    I downloaded a flash auto slider from one site. But I don't
    know how tu use it. It has a lot of AS external files. I imagine,
    that it should read data from an xml file, and there is AS file,
    which calls xml, but I need help, to create that xml, or to show
    how to use that auto slider...
    This slider is simillar like this one in observer.com main
    site (with 4 thumbnails).
    Here is all files need in slider.
    Click here for
    download.
    Thanks for any help...

    you have in the same directory the .swf, html page, flv., and
    the actual video?

  • Need help loading data from Excel data file to oracle tables

    i need to load an Excel spreadsheet to Oracle table.
    The spreadsheet contains 20 columns, the first 8 columns contains basic info, but the rest 12 columns contains info like
    1stQtr_08, 2ndQtr_08, 3rdQtr_08, 4thQtr_08
    1stQtr_09, 2ndQtr_09, 3rdQtr_09, 4thQtr_09
    1stQtr_10, 2ndQtr_10, 3rdQtr_10, 4thQtr_10
    So what i need to accomplish is:
    break that one record(with 20 fields) in Excel to 3 records for each fiscal year in the Oracle table, so each record in the database table will look like
    8 basic field + fiscal_year + 1stQtr_08, 2ndQtr_08, 3rdQtr_08, 4thQtr_08
    8 basic field + fiscal_year + 1stQtr_09, 2ndQtr_09, 3rdQtr_09, 4thQtr_09
    8 basic field + fiscal_year + 1stQtr_10, 2ndQtr_10, 3rdQtr_10, 4thQtr_10
    There are about 10000 rows in the data file, so how can i use sqlldr to perform such task? beside sqlldr, any other good suggestions?
    thx

    External Tables is just an Oracle API for sqlloader. If you going to load this data over and over again, External tables would be a good idea, but if it's a one time thing, sqlldir is simpler, unless you just want to learn how to use External Tables.
    I used to run a data warehouse, so I have done, at least similar, to what you are doing in the past.

  • Need help loading DLL in labVIEW project

    I have a DLL that was written in C# that I want to load it to my labVIEW project. I have never done this before, so I need help. I chose Connectivity-Call Library Function Node then loaded my DLL. After, under function name, I typed in the function name from the code. I don't know what to do with other like Parameters.
    They don't let me attach dll file 
    Can someone explain how to set the parameters and etc?

    Well, it seems that you really need to learn quite a bit about .NET (ActiveX is very similar!) first.
    The constructor node in your code creates an object in your .NET CLR (Common Language Runtime). This object exposes properties and/or methods. Use Property Node(s) and Invoke Node(s) to access these. Usually, you get references to other objects which you can work this.
    Remember the golden rule for ActiveX and .NET:
    Close all references you created in your LabVIEW code on your own (using Close Reference)!
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Please I need help with swf folders.

    Hi everybody,
    I install adobe flash and when i surf on the internet it is
    working. But I have a lot of swf flash folders stored in my disk c.
    When I go to open them It appears like adobe flash is not install
    in my disk to be able to open these files. I only can open this
    files with firefox or microsoft explorer. Adobe flash is only
    installed in my system and as i told you i am able to see all the
    flash folders which i find on the internet when I enter to any
    website with flash adobe folders. I installed and unistalled adobe
    flash several times. But this is not resolved.
    Please I need help.
    Many thanks

    Click here and follow the instructions to change the iTunes Store country.
    (82303)

  • I need to load for a historical period for sales order ? how to load it?

    Hi all,
    I need to load the data for the historical period. Say 012.2008 month data. I have deleted the set up tables and trying to reload the setup tables.
    but i can find the calendar year, month nor fiscal period.
    i can see only sales document number along witht the company code.
    How to identify the sales document number for 012.2008 from r/3 and run the setup tables.
    Pls help me on this!!
    Thanks
    Pooja

    Hi,
       You are trying to do a historical load for 2LIS_11? In that case, check the VBAK/VBAP table, and find the document ranges based on the posting date. VBAK will give you the ranges, while putting the same range in VBAP wll give you the number of item documents that would be loaded. You would be able to split the doc ranges in that case for doing parallel setups.
    Alternatively if the data volume is low, do a full setup and then put the selections in the info package itself.
    Regards.

  • Soniya here!! need help.... Creation of transfer Order. and confirmation.

    Hi all ,
    I am in need of a fuction module to create a transfer order ( LT03 ) where i am able to pass / specify the source storage unit / handling unit from which the materials can be taken for  the TO.
    I also need a function module where i can confirm this TO in LT12.
    Thank you in advance.
    Ponits for sure!!!

    Hi,
    Use FM : L_TO_CONFIRM to confirm the transfer order.
      MOVE wa_to_tab4-tanum TO g_confirm_tab-tanum.
      MOVE wa_to_tab4-tapos TO g_confirm_tab-tapos.
      MOVE wa_to_tab4-altme TO g_confirm_tab-altme.
      MOVE wa_to_tab4-nista TO g_confirm_tab-pickm.
      IF NOT wa_to_tab4-vlenr IS INITIAL.
        MOVE wa_to_tab4-vlenr TO g_confirm_tab-lenum.
      ELSE.
        MOVE g_vscfld TO g_confirm_tab-lenum.
      ENDIF.
      MOVE 'X' TO g_confirm_tab-parti.
      IF NOT wa_to_tab4-nlpla_old IS INITIAL AND
         NOT wa_to_tab4-nltyp_old IS INITIAL.
        MOVE wa_to_tab4-nlpla TO g_confirm_tab-nlpla.
        g_confirm_tab-squit = 'X'.
      ENDIF.
      IF wa_to_tab4-nistm > wa_to_tab4-nista.
        l_diff = 'X'.
        g_confirm_tab-kzdif = wa_to_tab4-kzdif.
      ENDIF.
      PERFORM get_bint_param USING g_lgnum wa_to_tab4-vltyp
                             CHANGING l_returns.
      CASE l_returns.
        WHEN '1' OR '3'.
          IF l_diff EQ 'X'.
            MOVE wa_to_tab4-nista TO g_confirm_tab-nista.
            g_confirm_tab-ndifa = wa_to_tab4-vsolm - wa_to_tab4-nista.
          ELSE.
            MOVE wa_to_tab4-nista TO g_confirm_tab-nista.
          ENDIF.
        WHEN '2'.
          IF l_diff EQ 'X'.
            g_confirm_tab-diffm = wa_to_tab4-verme - wa_to_tab4-nista.
            g_confirm_tab-restm = 0.
          ELSE.
            g_confirm_tab-restm = wa_to_tab4-verme - wa_to_tab4-nista.
            g_confirm_tab-diffm = 0.
          ENDIF.
          g_confirm_tab-pickm = wa_to_tab4-nista.
          CONCATENATE '00' wa_to_tab4-vlenr INTO g_confirm_tab-lenum.
      ENDCASE.
      APPEND g_confirm_tab.
    CALL FUNCTION 'L_TO_CONFIRM'
      EXPORTING
        i_lgnum                              = wa_to_tab4-lgnum
        i_tanum                              = wa_to_tab4-tanum
      I_SQUIT                              = ' '
      I_QUKNZ                              = ' '
      I_SUBST                              = ' '
      i_qname                              = sy-uname
      i_ename                              = sy-uname
      I_SOLEX                              = 0
      I_PERNR                              = 0
      I_STDAT                              = INIT_DATUM
      I_STUZT                              = 0
      I_ENDAT                              = INIT_DATUM
      I_ENUZT                              = 0
      I_ISTWM                              = 0
      I_KOMIM                              = ' '
      I_EINLM                              = ' '
      I_TBELI                              = ' '
      I_UPDATE_TASK                        = ' '
       i_commit_work                        = 'X'
      I_AUSFB                              = ' '
      TABLES
        t_ltap_conf                          = g_confirm_tab
      T_LTAP_CONF_HU                       =
      T_LTAP_CONF_HU_SERIAL                =
    EXCEPTIONS
       to_confirmed                         = 1
       to_doesnt_exist                      = 2
       item_confirmed                       = 3
       item_subsystem                       = 4
       item_doesnt_exist                    = 5
       item_without_zero_stock_check        = 6
       item_with_zero_stock_check           = 7
       one_item_with_zero_stock_check       = 8
       item_su_bulk_storage                 = 9
       item_no_su_bulk_storage              = 10
       one_item_su_bulk_storage             = 11
       foreign_lock                         = 12
       squit_or_quantities                  = 13
       vquit_or_quantities                  = 14
       bquit_or_quantities                  = 15
       quantity_wrong                       = 16
       double_lines                         = 17
       kzdif_wrong                          = 18
       no_difference                        = 19
       no_negative_quantities               = 20
       wrong_zero_stock_check               = 21
       su_not_found                         = 22
       no_stock_on_su                       = 23
       su_wrong                             = 24
       too_many_su                          = 25
       nothing_to_do                        = 26
       no_unit_of_measure                   = 27
       xfeld_wrong                          = 28
       update_without_commit                = 29
       no_authority                         = 30
       lqnum_missing                        = 31
       charg_missing                        = 32
       no_sobkz                             = 33
       no_charg                             = 34
       nlpla_wrong                          = 35
       two_step_confirmation_required       = 36
       two_step_conf_not_allowed            = 37
       pick_confirmation_missing            = 38
       quknz_wrong                          = 39
       hu_data_wrong                        = 40
       no_hu_data_required                  = 41
       hu_data_missing                      = 42
       hu_not_found                         = 43
       picking_of_hu_not_possible           = 44
       not_enough_stock_in_hu               = 45
       serial_number_data_wrong             = 46
       serial_numbers_not_required          = 47
       no_differences_allowed               = 48
       serial_number_not_available          = 49
       serial_number_data_missing           = 50
       to_item_split_not_allowed            = 51
       OTHERS                               = 52
    Regards
    Kannaiah

  • Need help with haivng more than one Ipod.....

    Ok, I have gone through these posts and am still having trouble. I already had my daughters shuffle on our computer from last year. My husband and I both got Ipods for Christmas this year. I registered mine under a different email and created a new account for mine so it would be different than my daughters. As soon as I plug mine into the computer, it loads ALL of her songs onto mine. I had to restore my Ipod to delete all the songs but if I plug it in again, it will start to load all of her songs onto mine again. What am I doing wrong? I purchased one song to test it and it adds it to her list. I have seen the posts on here about making the seperate playlists but I have no clue what I am doing. All I know is that as soon as I plug mine back in, I am getting all her songs. What steps do I need to take to fix this. Please help!! With 3 Ipods, What is the best way for me to set this up. Anyone that can help please feel free to also email me directly, I am deseperate. Thanks!
    HP   Windows XP  

    I have just posted a similiar question - my son got an iPod for Christmas and I can't make a seperate account either. Here is a link that someone sent me...maybe it will help you.
    The only thing that will help me is someone else coming over and doing this for me because I'm going out of my mind trying to fix it! Good luck.
    http://docs.info.apple.com/article.html?artnum=61148

  • Need help with many devices and one itunes account!!

    I recently purchased each of my kids an Ipod Touch.  They all three are now using my Itunes account which has become a little bit of a problem.  The biggest issue now is with iMessage.  When a friend send a text message or tries to Facetime one of the kids, we all get the message.  They are all using my itunes account user name and password, for apps, music, etc....
    What's the best way to seperate the three devices so they aren't all getting the same text messages?  Also, is it best to set up their own user accounts to sync their ipods with itunes? 
    Any help would be appreciated.

    If you want to use only one AppleID account for multiple devices but seperate imessage, you will have to use different email address to differentiate the device.
    I would assume all your devices' imessage are setup under your AppleID email address.
    First go to your kid Device's SETTINGS/MESSAGE/RECEIVE AT, Add another email address, type in email address of your kid(you will be asked to enter your Appleid password).  Once done, an email from Apple will be sent to this new email address to verify.  When your kid receive this email, click "Verify Now" link. The new email address now is ready for imessage.
    Now go back to the same Device SETTINGS/MESSAGE/RECEIVE AT, go into your original email(your AppleID email) and tap "remove this email".  This will prevent your own imessage to appear on this device.
    Do the same for all other devices for other kids.
    You don't need to change anything for your own device.
    That mean everyone will have an indepedent imessage based on their own email address.
    Hope this explains.

  • I need help with something could some one help me with installing windows 7 on bootcamp 4.0 with iMac 2.8 ghz model

    could some one help me with something important i have a 2.8 ghz intel quad core Imac with 10.7 with bootcamp 4.0 but still getting that black screen while trying finish the install of windows 7 etc. or do i need a new mac for it to work properly

    This might help point you in the right direction.
    http://support.apple.com/kb/HT4818
    Hope it helps
    Also google it and lots of results come up including youtube clips....

  • Need help in passing data from one page to other page in oaf

    Dear All,
    I have a requirement as below.
    I am doing some selection in one page and populating the data in another page table region, next time when i am selecting another row and pressing the button i need to display the previous row as well as new row, how can i achieve this, currently i am able to see only the first row what i selected first.
    Ex: 1 st scenario: after passing the selected data from one page to base page the data looks like below in base page.
    1 test desc
    2nd scenarios: when i am again selcting data and passing to the base page it should be like that
    1 test desc
    2 test desc
    but currently it is showing
    1 test desc only for the 2nd case, can any one please help me on thsi , its little bit urgent
    Thnaks

    How are you passing the values to the base page? Are you using setting the retainAM parameter to true while doing a forward.

  • Need help loading and positioning a swf into a swf

    This is the swf  I'm trying to load.
    These actions load and position a small simple swf just fine and the trace in the onLoadProgress function indicates that it loads completely
    but I can't see it.  What am I doing wrong?
    this.createEmptyMovieClip("container_mc", this.getNextHighestDepth());
    var my_listener:Object = new Object();
    my_listener.onLoadComplete = function(target_mc:MovieClip) {
    target_mc._x = 150;
    target_mc._y = 100;
    my_listener.onLoadProgress = function(target_mc:MovieClip) {
    trace(target_mc.getBytesLoaded() + " out of " + target_mc.getBytesTotal());
    var my_loader:MovieClipLoader = new MovieClipLoader();
    my_loader.addListener(my_listener);
    //my_loader.loadClip("little.swf", container_mc);
    my_loader.loadClip("cam01.swf", container_mc);

    do you see a rotated swf if you use:
    this.createEmptyMovieClip("container_mc", 1);
    var my_listener:Object = new Object();
    my_listener.onLoadInit = function(target_mc:MovieClip) {
    target_mc._x = 150;
    target_mc._y = 100;
    target_mc._rotation = 22;
    var my_loader:MovieClipLoader = new MovieClipLoader();
    my_loader.addListener(my_listener);
    my_loader.loadClip("cam01.swf", container_mc);
    if yes, either:
    1.  you are repositioning your swf and for some reason don't recognize that or
    2.  you're changing container_mc or one of its parents _x,_y properties elsewhere.

  • Need Help Pasting Key Frames from one still image to others, and Changing the duration of multiple still images.

    I'm working on a stop motion project, and I have at least a thousand still images to work with.
    I have adjusted several Key Frame settings on the 1st still image in my project, such as
    Brightness
    Cropping
    Scale
    Position
    I now want to apply these exact settings to hundreds of still images at a time that make up one scene in the project (but not all still images in the entire project).. Is there a way to paste or easily transfer them?
    Also, there are scenes I'm working on in which I want to change the image duration of hundreds of photos at once, but not change to duration of all images in the project, is this possible?
    I've looked at several different web-links, but none of them have what I'm looking for. If you can please help me, I'd be willing to send you $10 through paypal. Knowledge is power; the solution to these problems would save me hours of time. If you don't fully understand my questions I can send you a pictures or a video, pointing out my needs.

    Stan,
    Thanks again for your input.
    When the project is created, I don't recall seeing the preference settings until after the project opens the first time.  In that case if certain media was imported into the project panel but not in the sequence, after the duration was changed, it would be necessary to remove the media from the project panel then re-import again.  If there is a workaround to this please let me know.  It also doesn't appear that creating a new sequence would prevent the re-importing.  Could you confirm?
    Thanks for the link on automating to sequence--I remember that from CS4.
    The application of identical effects to media on the timeline in a sequence was something I had learned back in CS3 or maybe earlier CS4 where the effected, in this case a transition between images was applied then copied then using the paste or (Control V) command, applied to all other stills.  That worked fine but with lots of images, it ends up being a lot of "point and clicks" since the CTI must be moved to each transition insertion point before the paste is applied. 
    I actually thought that I had seen someone select the remainder of the images in the sequence then apply the paste command but I was never able to make that work.  Have you heard of such a short-cut?
    Much thanks again!!

Maybe you are looking for

  • Boot camp disaster - need help

    I followed the proceedure exactly as required, including starting with OS X version 10.4.6, downloading and upgrading firmware, printing the pdf manual for Boot Camp etc. But when it came to partitioning the drive I selected 10 GB Windows XP the rest

  • Stored procedure for a calculated value

    Hello all.. I have this problem: I have a data form on which there's a textfield control which is linked to a calculated field. This field is calculated by a stored procedure. The stored procedure is based on some values that might be changed on that

  • Drop database vs. dbca delete database

    So I'd like to delete this database: control files, datafiles, log files, spfiles, everything. leave no trace. I can use good old sqlplus and run "drop database;", or I can use DBCA and do "delete database". What is the difference? Documentation clea

  • Issue Installing DPM 2012R2 UR2

    I'm having issues installing the DPM 2012 R2 UR2 re-release and I wanted to share my experience.  When I first attempted to install the update last week, it failed.  Shame on me, I didn't make a backup of the DPM database before the upgrade and DPM w

  • Red shift on black text

    I'm getting a red shift on my black text (especially on uprights). It looks like convergence problem on a CRT and is most noticeable on the menu items at the top of the screen. Have others experience this and is it fixable? My iMac will be 4 years ol