Can your loadMovie "file name" = timeline frame number?

I have a simple slideshow that has 70 slides. Each slide is on a frame in the main timeline and I have the following AS 2:
loadMovie("Data/5.swf", "container");
stop();
There will be 70 SWF files in that Data folder. Instead of having to manually type in 1, 2, 3, 4, 5...in that "Data/5.swf" attribute, is there a way to just tell it to load the SWF number based on the current frame? Frame 1 in the timeline loads 1.swf, frame 2 loads 2.swf, etc.
That way I can just put the same AS on each frame instead of having to manually go in and type each one.
Thank you!
Scot

Hey, kglad. I remember you!
I adjusted it for AS2:
          loadMovie("Data/"+this._currentframe+".swf", "container");
  stop();
Thanks!!!
Scot

Similar Messages

  • How to hide the file name (the bizarre number assigned by the camera) when exporting an image version in aperture from an album. Pl understand I want to keep the file name in the project library version.

    how to hide the file name (the bizarre number assigned by the camera) when exporting an image version in aperture from an album. Pl understand I want to keep the file name in the project library version.

    Within Aperture you have Images, which are constructed on-the-fly from two files (the Master and the Version).  You get an image-format file _only_ when you export an Image.  You select the file name (usually a scheme) when you create an image-format file (that is, when you export).  Look under "Aperture→Presets→File Naming" for built-in Presets.  You can, of course, create your own or customize any provided.
    The Preset is applied to only the file newly created by your "export" command.  It is not applied to the Image in Aperture (unless you rename your Versions or your Masters).

  • I have a question about extracting pages.  When I do the function, adobe saves the individual files as " file name space page number ", so the files look like this "filename 1.pdf", "filename 2.pdf", "filename 3.pdf".  Without too many gory details, I a

    I have a question about extracting pages.  When I do the function, adobe saves the individual files as "<file name><space><page number>", so the files look like this "filename 1.pdf", "filename 2.pdf", "filename 3.pdf".  Without too many gory details, I am using excel to concatenate some data to dynamically build a hyperlink to these extraced files.  It casues me problems, however, for the space to be the the file name.  Is there any way to change the default behavoir of this function to perhaps use a dash or underscore instead of a space?

    No, you can't change the default naming scheme. You can do it yourself if you extract the pages using a script instead of using the built-in command.

  • How can I hide file names in a photostream?

    How can I hide file names in a shared photo stream on icloud.  I don't want people to see how many pictures I take at an event.  Can this be done to pictures already posted?

    The Shared Photo Stream uses the filename of the original image file as the title that is shown in the stream.  If you want to hide the original filename, export the image to a folder in the Finder, rename it, then reimport it to share it.  You can rename the files directly when exporting.
    Or, if you do not mind to change the names of the originals in Aperture use the command "Metadata > Batch change" and change the title of the image, with the option "Apply to Original file" enabled and "Add metadata from" set to "None".
    To rename the photos already shared, delete them from the Shared Album and share them again.

  • Can I know the name, type, total number of column in Record Group?

    I created a record group with query dynamically.
    And then populated it.
    I don't know the column' count, type, name befause I get the query from user at runtime.
    Can I know the name, type, total number of column in Record Group?

    Unfortunately, there is no way to query the record group (RG) to get the metadata you are looking for. RGs are best used as data sources to an LOV or List Item rather than as an Array to hold the resultset of a dynamic query. For this, I would recommend you use a Collection type of construct (PL/SQL Table of Records, VArray, etc).
    Craig...

  • Can automator identify file names longer than a specified number of characters?

    I have a lot of data that I need to ultimately archive to a PC solution but it currently has a lot of files with names longer than 256 characters.  I know I can batch update the names with automator, but what about an easy way to identify them?? Is there a way to identify file names based on file name length?

    Not in Automator.  There are other ways but the question is once you have the files what do you plan to rename them. You can't just cut off all the chars above 256 as this will not ensure uniqueness.
    So what convention will you use to make the names unique?
    As for getting the files. This command run in the terminal will return all filenames over N long
    ls | awk 'length ($0) > N'
    so in your case
    ls | awk 'length ($0) > 255'
    So this could be run from an Automator workflow or Applescript to capture the filenames you want to change. But again it's the renaming that is tricky.

  • Can I print the File name and page number

    When printing a file, I would like to print the File Name and the page number also...something like a header, in every page printed.  Is this possible in Acrobat?  Please advise.
    Thanks

    Sure. Did you look under Tools - Pages - Header & Footer ?

  • Can I use file names from some folder to specisfly a value of a variable

    so here is the thing I want to do:
    I've got like 3 variables in my swf file which value tells to
    the code how many picture there are to load.
    So I have like
    var totalPics:Number = 5
    in my folder images I have 5 pics, but I want to put 3 more
    so I want to make suck code that will check the total files in the
    folder and return a value of 8 or check the name of the last file
    found in the foulder like pic8.swf (I've made it into swf to load
    in a loader) and to take that letter 8 from it as a value to put in
    the variable totalPics so it is = 8.
    Can u tell me is this possible to make in flash.... where I
    should read helps or guides .. or just give me a simple example
    please.
    Thank u a lot. If u have any more questions, just ask me..

    Very helpful of you guys ;] Thanks a lot.. so lets continue
    on the matter..
    GWD the second option is good but can work in a simplier
    code.. mine is a bit complexed and by that I mean.. that the total
    number of pics or things to load should be known for the main swf
    file at his start. That is because before the turn for the pics to
    load comes, there is something else that must happen first, and it
    depends on that total number (actually 3 total numbers cuz there
    are 3 folders with different pics that must mix) So.. can't use the
    second option cuz it works good when the code is a bit more simple
    than that.
    If u didn't understand whant I tried to explain.. doesn't
    matter.. not so important atm.
    Now the thing with the LoadVars.. yes, I've been thinking the
    same thing but like this: At the 1st frame in the main timeline I
    have 3 variables that are used further in the code and that must be
    predefined by how many pics there actually are, so.. I've been
    thining to make 3 different var1.txt, var2.txt and var3.txt files
    for example and to put there as value just the number I need. So
    when I add more pics for example to my images folder, I edit the
    txt file containing their total number and just change it so the
    code can automatically add the new pics to the sequence.
    I've got some examples of this how LoadVars works with txt
    files and I think I can manage to do that, but anyway would be nice
    of you to give me some example ;] and of course correct me if my
    toughts above are not true.
    Now.. SumTsb.. what u mentioned, I am interested in, because
    I have a PHP guy, who can make me a code that automatically counts
    and gives back the totalPics number from a certain folder (I don't
    know for sure that it is possible but if it is he can do it). My
    point is.. When he makes this code.. that reterns value of
    totalPics, how can I redirect it so it changes the value of
    totalPics inside my main swf file. I see only this as option at the
    moment:
    1) when someone adds or deletes files from the folder the php
    code returns a different value, equal to the number of files in the
    folder, and automatically changes the content of the file var1.txt
    like this:
    First off var1.txt has: &content=10 // this is the total
    number of pics/swf files in the folder;
    when u add.. like 3 more files.. the php code changes the
    value inside of var1.txt to: &content=13 and when the main swf
    is started he takes the new value and my problem is solved. Is this
    what I say as example true ? If it is I guess the only thing left
    for me is the php programer to make his code and job is done.
    But answer me this question too: is it possible the php code
    to return the value of the totalPics directly into the main swf
    file. So if I have inside the main swf a variable at the first
    frame ot the main timeline called totalPics, can the php give it a
    value equal to the total numbers of files in a folder, and how ?
    I guess I've written too too much :D so I'll wait what u will
    answer me now.. I think you understood my idea.. and if more
    questions arise I will write u back. And if no.. I will just thank
    you a lot :D

  • How can I get file name using JSTL ?

    Hi,
    I'm now using <c:out value="${pageContext.request.requestURI}"/>
    this return servlet path
    How can I get just file name
    or user path (in location bar) ?
    thanks in advance

    The original uri (before forwarding) is available in a request scoped attribute.
    These attributes are given the values obtained by calling the related method on the original request received by the container.
    javax.servlet.forward.request_uri
    javax.servlet.forward.context_path
    javax.servlet.forward.servlet_path
    javax.servlet.forward.path_info
    javax.servlet.forward.query_stringSo if those two above don't work for you these might.
    <c:out value="${requestScope['javax.servlet.forward.request_uri']}"/>
    <c:out value="${requestScope['javax.servlet.forward.servlet_path']}"/>If these values are null, then the value in the request object is the correct one.
    You mentioned the value in the address bar being a .html file. Do you perchance use framesets? If so the value in the address bar is always the url used to load the frameset, and doesn't change no matter where you travel within those frames. That won't be available to the server, because it has nothing to do with the current request.
    Cheers,
    evnafets

  • Can't rename file name under Finder even as an administrator.

    As an adminstrator to my MacBook Pro, why can't I rename certain file name  under Finder?

    Have you tried running lsof from the Terminal?
    Lsof will show you any files that are open, the likelihood is that your file is in use.

  • Can't select file names in list view

    System: Mac Pro 2.93 Quad-Core, 6GB RAM, 10.6.2
    I updated from 10.6.1 to 10.6.2 using software update AND from 10.6 to 10.6.2 doing a clean install. Both times I had problems with the finder: first, the icons in the sidebar turned into "page" icons (a white rectangle similar to the Documents icon, but one sheet instead of "two"), then I couldn't select the file names (to change the name of a file) in list view. Strangely I could do so in icon view or using Get Info. I trashed the com.apple.finder.plist file, and now every window has it's own set of values (different icon sizes and sorting prefs.) and I can't seem to make all windows default to a set of view/sort values (every time I open a window they change even after I selected "use values as defaults").
    I'm stumped any suggestions would be greatly appreciated.
    Also, if the finder is "acting-up," does that mean that copying files, doing backups and the like, are all compromised? (This would be really upsetting).
    Thanks

    Have a bootable backup/clone of your previous 10.6.1 installation or a TM backup?

  • How can I retrieve file name being processed in Batch

    Hi All
    I want to retrieve the current filename that is being processed by a batch, e.g. A1~Texas~Actual~Jan-2010~RR.txt
    I can do this in various event scripts that have the strFile parameter but I need to do it in the BatchAction event script and cannot see how I go about it. I can see various objects in the API guide that should help me get at it but can't get it working.
    Has anyone done this before or got any pointers for how I can do this?
    Many thanks
    Stuart

    Hi Tony
    I have been able to retrieve this using the PstrFileName property in various event scripts, particularly those where strFile is a parameter and then used API.DataWindow.Utilities.fParsePath to trim that and provide just the file name. However thsi does not work in the BatchAction event script.
    I have found a property in the Batch Loader section of the supplementary API called PstrFileTitle but my VB is not strong enough to work out how to get at it. From what I can gather I would need to supply the BatchID (plus other parameters) to another function that would return this into a recordset and then read from the recordset (??) but I am not sure how to go about this.
    To give you some background, what I am trying to achieve is writing to a log file pre and during batch processing where the log file name should use the source file's name, e.g. 'SourceFile.txt' will write to SourceFile.log. The issue is that for batch processing we have to rename 'SourceFile.txt' s 'A1~Texas~Actual~Jan-2010~RR.txt' and I previously tried to use the PvarTempNC variables to store the source file name only to find that I could use that in the BatchAction event script!
    If you can point me in the right direction that would be great.
    Thanks
    Stuart

  • Slide show - how can you show file name

    How can I set both the screen saver (when set as a slide show) and the slide show itseld to display file names?

    I figured out what I was doing wrong. I was using a black page for the slide show and not a what page.
    duh!
    griny grin grin

  • Can't change file names in finder

    I can highlight a file or folder name in the finder but when I try to type nothing happens. Also I can't type anything in the search section in the upper right corner of finder windows.
    All else seems to be working fine.
    This happened after I installed Photoshop Elements 4.0

    No problems since

  • Can not change file names in finder

    Several times over the past week I have not been able to change existing file names in Finder. The mouse moves normally and can highlight the name, but the keyboard instructions, including "delete" or typing, does not result in any response. All other programs continue to function normally.
    Restarting the computer solved the issue for a while, but it happened again.
    Reading over the previous posts, none of them apply (I do not have those programs).
    Any idea why this happens and how do I fix it?

    This same thing happens occasionally (or maybe rarely is a better word) for different users here at my work.
    I haven't had the problem myself, and thought it was gone now when everyone is running Mac OS 10.4.7 (we ran 10.4.5 just recently) but a user just got the problem 5 minutes ago. All apps except Finder respond to keystrokes.
    Relaunching the Finder using "Force Quit..." from the Apple solves it, but I guess sooner or later the problem will come back.
    Would be great to know what's causing it.

Maybe you are looking for

  • HT1338 i have a ibook 1.3g. What is the highest OS I can install

    i have a ibook 1.3g. What is the highest OS I can install

  • Using OS X Lion as a Business Server for a Windows & Mac Enviroment

    Hi there, I am debating on using OS X Lion (on a Mac Mini) as a server for a small business.  I have some lingering questions that I need help with. If I am using OS X Lion as the mail server, Does it provide any kind of online/web access (similar to

  • Juddering display in safari

    Hi All, Ive got a mid 2012 13" macbook pro. Since buying it, its had the ram upgraded to 8gb (by apple so genuine stuff) and a Samsung SSD fitted. Its been faultless up until tonight when suddenly, when scrolling in safari, its started juddering real

  • Html iView is still displayed in foreground after layer navigation

    Hi Experts, in my model I have an layer with a form view and a html view. After navigation back to another layer, the opened window of the html view is still displayed in the foreground. When the model is compiled with Flash (flex), it works correctl

  • How to reinstall Quicktime

    Recently having issues with Quicktime (10.2), it tends to hang for a few minutes at a time constantly through a movie. How can I install a new copy of the software, can't load a new version for it detects the existing copy, and can't delete the origi