Flash CS4 - Slide presentation - instance name question

Is it possible to rename slides dynamically in a Flash presentation that is created using the Flash Slide Presentation template in Flash CS4. So, if I have a presentation with 50 slides and they are named 001 to 050 and I need to insert a slide between slide 010 and 011 is there a way to have Flash renumber them or do I have to just manually rename.

You might do better to use an array to manage the ordering of things--storing references to the slides in the array.  That way you don't have to be chasing names to make them follow some scheme.  You can still use names to help define where things go brain-wise, but having them listed in an array allows you to slip in new things without having to rename anything... just use the array/index to target the objects rather than the actual names.

Similar Messages

  • Flash 8 Slide Presentation preloader problem

    have made this external preloader to load my 2mb .swf, and it
    works but when u click on a button the wipe go across the screen
    but it doesnt change the page as you can see this on this link
    below
    http://www.nwmsltd.com/webtest/preloader.html
    but its supose to look like this example( if you clicked on
    the installs button a 3d amimated wipe will go across the screen
    then it will jump to the Installs page)
    http://www.nwmsltd.com/webtest/kidpower_Web.swf
    and i dont know why
    im using the flash 8 Slide presentation template as its
    perfect for what im achive easy to and works fine with out the
    external preloader but if i use the external preloader it stop the
    buttons working by stoping them going to the next page
    the code that tells flash to goto the correct slide is in the
    movie clip where the image sequance of the wipe is and at the end
    of the image sequance i have an action layer which is as follows
    // GoTo Screen behavior
    if((_root.application.Installs != undefined) &&
    (_root.application.Installs != null))
    var screen = null;
    var target = this;
    while((screen == null) && (target != undefined)
    && (target != null))
    if(target instanceof mx.screens.Screen)
    screen = target;
    else
    target = target._parent;
    if(screen instanceof mx.screens.Slide)
    screen.gotoSlide(_root.application.Installs);
    // End GoTo Screen behavior
    and my external preloader code is as follows
    var mcl:MovieClipLoader = new MovieClipLoader();
    var mclL:Object = new Object();
    mclL.onLoadProgress = function(target, loaded,total) {
    loader.percent.text = Math.round((loaded/total) * 100) +
    mclL.onLoadInit = function () {
    loader._visible = false;
    loader.percent.text = "";
    mcl.addListener(mclL);
    mcl.loadClip("kidpower_Web.swf",holder);
    b1.onRelease = function() {
    loader._visible = true;
    mcl.loadClip("kidpower_Web.swf",holder);
    b2.onRelease = function() {
    loader._visible = true;
    mcl.loadClip("2_Web.swf",holder);
    Thanks Martin

    any one please?

  • Flash 8 Slide presentation

    Hello- I am using Flash 8 and a slide presnentation format. I
    am creating a computer based training module. I have buttons
    created that go back and forth through the slides of the whole
    presentation. How do I disable one of those buttons on a specific
    slide until a certain frame? Is it possible doing the slide
    presentation?
    I am also trying to figure out after the slide presentation
    is gone through once, if the user decides to go back through the
    slides, how do I make the slides replay? As of right now - they are
    stopped on the last frame in the slide.
    Thanks!

    Hey there - here's an example Slide show file that reads the
    current slides and uses a few different methods of sorting to
    cahnge the order, just to give you an idea of how this could work.
    examine the code on the rootSlide, actions layer:
    FILE

  • Flash CC HTML5 Get instance names on click?

    I make escape games and often have lots of items in a scene each with flash instance names that on mouse over or mouse click make some event happen or some text is displayed.
    I'm using Flash CC and HTML 5 output and cannot get it to output the instance names in the log, is this not possible? Can anyone suggest an alternative method of responding to lots of movieclips/buttons etc
    Here's my test code:-
    //stage.enableMouseOver(24);
    var clicked = "";
    var clickedname = "";
    //NEED TO FIND OUT MOVIECLIP INSTANCE NAME??
    var key1 = exportRoot.key1
    //key1.name = "key1"
    //console.log(key1ref.name)
    stage.on("click", function (evt) {
        //clickedname = stage.getObjectUnderPoint(evt.stageX, evt.stageY)
        //clicked = evt.target
        clicked = evt.target
        console.log(clicked)
        //output result to log
        /*if (clicked == "key1"){
            console.log("clicked key 1")

    Thanks Ned, I really appreciate the help as I've been stuck on this seemingly obvious thing for a few days now and can't progress until I can figure it out...
    Basically using currentTarget it outputs this:-
    a {id: 24, _matrix: a, _rectangle: a, children: Array[1], canvas: canvas#canvas…}
    so comparing it to a name/instance name is not going to work ;-)
    using evt.target gets me this:-
    lib.key1 {id: 21, _matrix: a, _rectangle: a, image: img, x: -40…}
    so again useless, a reference to the key1.png in the library but not to the named instances placed on the stage!!
    Am I assigning the instance name correctly??
    var key1 = exportRoot.key1
    key1.name = "key1"
    Any help from anyone appreciated!!

  • Anyone familiar with Flash 8 Slide presentations?

    I am creating a Computer based training using the slide
    presentation format in Flash 8. I created buttons on the parent
    slide to appear in all child slides. I want to disable the buttons
    for 15 seconds on each slide. Is this possible?
    I have used: button.enabled = false with set interaval....
    this only works on the first slide and not the others.
    Can anyone help me???

    I am creating a Computer based training using the slide
    presentation format in Flash 8. I created buttons on the parent
    slide to appear in all child slides. I want to disable the buttons
    for 15 seconds on each slide. Is this possible?
    I have used: button.enabled = false with set interaval....
    this only works on the first slide and not the others.
    Can anyone help me???

  • Instance Name Question

    I have a movieclip that is added to the stage in the authoring environment. I gave it an instance name of myInstance.
    When I trace the instance name, it gives me Instance12.
    Why is that? How can I change the instance name that dropTarget.name returns without removing all my instances from the stage, instantiating them with actionscript, and renaming them then (with 250 instances that have to be in exact pixel locations that would be a huge inconvience bordering on the impossible, especially if I ever have to move even one of them.)
    If the dropTarget is another movieclip assigned to a class, is there any way to use dropTarget to access a parameter from within that class? (i.e., dropTarget.myVariable the same way you might use myObject.myVariable)?
    Does that make sense?
    Thanks!!

    I tried this:
                trace (GeoPuzzle(this.dropTarget).abbrev);
    But I got this error:
    TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::Shape@d25c061 to com.freerangeeggheads.puzzleography.GeoPuzzle.
        at com.freerangeeggheads.puzzleography::GeoPiece/geoPieceEnd()[/Users/Amber/Documents/Apps/P uzzleography/Project/com/freerangeeggheads/puzzleography/GeoPiece.as:51]
    When I trace this.dropTarget.parent.name I get the actual instance name of the movie clip on the stage.
    Is there a tutorial or something that will explain this heirarchy to me? I don't even know what to google, and navigating Adobe's documenation is like trying to nail jello to a tree. :/

  • Flash cs4 and windows 7( professional) Question

    I am a rookie. I have a PC with all the necessary clout to run Flash. I have run the program in every mode available, and there are problems with performance.
    There are problems with tools not working (the pencil tool only draws a line upon release) .
    There are problems with importing mp3 files.
    I have installed and reinstalled the suite and nothing changes.
    At this point I am ready to believe that the copy of CS4 I have is somehow corrupt.
    OK I have detailed my frustration what I would like to know is ; Does anyone have a definitive answer as to how to run CS4 in the Windows 7 operating system.
    Has anyone done so without endless problems.
    Does anyone from Adobe have knowledge of the difficulties people are having?
    I'm missing Flash 8
    Mango

    I have similar problem.  When I first installed everything seemed to work well.  But then Flash began opening slowly and once the properties panel was accessed it became too slow to use. I spoke with adobe support for around an hour and they ultimately told me to reinstall.  I did this with no change in outcome.  I then reinstalled my graphics driver and that improved performance so now I can use Flash, but it is still extemely slow.  I've noted that on the Windows 7 compatibility page Adobe says that CS4 has been tested with Windows 7 Ultimate and everything is fine.  Perhaps it will only run well in virtual xp mode. Other thing that could be a problem is use of a wacom tablet and it's drivers.  I have to reinstall these frequently and there appears to be a conflict with the windows 7 tablet pc features in that on a couple of occasions these have started up with my tablet.

  • Slide Presentation in ScrollPane

    I load a Flash Professional Slide Presentation into a
    scrollPane. Is it possible to figure out which slide is currently
    being presented from the scrollPane and/or Parent of the
    scrollPane? If so, how?
    Thanks.

    yeah, well usually the default root slide is named
    'presentation' and you have to call to the root first because
    you're not calling from within the Slideshow file right? the call
    is defined as 'Slide.currentSlide' so you need to target the root,
    if you have changed the name of the root slide, target that
    instance name, thus the use of 'my_rootSlide'. I have just tested
    this and it is correct.
    the parenthesis are incorrect, just typing to quickly
    :)

  • Reference a movieclip by a variable containing its instance name?

    There are some movie clip instances on the stage (not
    dynamically created at run time). Now, I want to do this:
    use a variable to hold a instance name at runtime. then use
    this variable to reference the movie clip it points to.
    Problem: suppose this variable is named "mc_ref". it fails to
    use "_root.mc_ref" to refer to the movie clip by the name that
    mc_ref contains. it seems in this case flash takes "mc_ref" as
    instance name and thus looks for any child by that name. since
    mc_ref itself is not a name, this will not work.
    is there something like MovieClipbyInstanceName function for
    this? Any thoughts? Thanks!

    you're confused. the variable's name and the movieclip's name
    should not be the same.
    the following are correct ways to reference movieclips in
    flash:

  • Slide presentation loading bar

    Hello,
    Is there a way I can add a loading bar to each slide in a
    presentation? I want to create a frontpage component for a web site
    using Flash CS3 Slide Presentations. I have several flash movies
    that I want loaded into the presentation and then use the
    presentation to let the user navigate between these movies (one per
    slide).
    Where should I place the preloaders?
    1. Individual movie timelines (these movies are imported to
    each slide using the UILoader component)?
    2. Individual slide timelines?
    What happens to slide transition effects in each of these
    cases?
    Thanks in advance for helping,
    -V

    James Mamakos wrote:
    I cannot open or run the later solutions people provided since they're all in 8.6 - too big for my lowly 8.5! Could someone down-convert a few of the later ones please?
    Which ones? There were many that were posted. Since you said you are trying to make this compatible with 6.1 you won't be able to use them anyway since LabVIEW 6.1 does not support .NET.
    The AxtiveX control references i've found which look(ed) hopeful are from the Microsoft Windows Common Controls 6.0 (SP4) Version 2.0 library. They are the ProgressBar (MSComctlLib.ProgCtrl.2), and the StatusBar (MSComctlLib.SBarCTRL.2). Any ideas for if i was to venture down this road or is this unwise?
    The StatusBar is the wrong one to use. That's just what appears at the bottom of the window. Using the ProgressBar is fairly simple. Example.
    How could I simulate a progress bar with 256 'segments' (257 sliders)*?
    Either that, or is it possible to have a two-colour texture in one
    'segment' where one colour at one end fades to the other colour at the
    other end? By 'segment', I mean the space between two sliders.
    This
    is an attempted work-around for not having much success trying to use
    an ActiveX control reference for the windows progress/status bars.
    * I'm not too keen on creating 256 progress bars to replicate my current method for getting a graduated colour fill on the slider!
    What is your ultimate goal? To get something that's compatible with 6.1 or to get a graduated color? Or both? The MS ActiveX ProgressBar will not be graduated, but it will work with 6.1. If you use a horizontal slide then you can create a bunch of sliders to get your graduated fill. Depending on how fast it's moving or how wide filled bar is you may not need 256 as the human eye may not be able to perceive a harsh jump in color if it's below the detection threshold. 

  • General Question About common Instance Names in Flash CS4 (AS3)

    I tried something interesting recently. I had code effecting an object with the instance name : object_mc.
    Now I added another object and gave it the same instance name.
    The result was, that the code only effected the most recent added object (no error).
    Is there a way in flash to have multiple objects with the same instance name all being affected by one piece of code?
    ~ Thanks for any thoughts, advice or facts. ~

    Advice: avoid it... if you want to control different instances, give them different instance names.
    It depends on what you mean by "one piece of code".  Directly using the instance name to target the movieclips will work as you have seen already... Last one added gets the attention.
    To use the instance name to take action is doable more along the lines of testing each movie to see if it has the name, but still, you would have to target each using a different means. 
    For the piece of code below I have some number of objects on the stage and I test to see if they have an instance name assigned (object_mc) that is shared by some of them, and I am able to move them if they do, but I cannot use the instance name to target each of them for action... in this case I use the getChildAt method.
    for(var i=0; i<this.numChildren; i++){
    if(this.getChildAt(i).name == "object_mc"){
      this.getChildAt(i).x += 200;
      object_mc.x += 25;  // only moves the last object added

  • Question Slide won't export to Flash CS4 (Captivate 4)

    I'm using Captivate 4 and Flash CS4 in Windows.  I have built a short and simple 5-question quiz in Captivate, and I need to export it to Flash CS4.
    I have tried both opening the .cp file onto a new Flash stage, and exporting to Flash from inside Captivate.  Sometimes, Flash crashes.  Mostly, I get this error:
    The following elements in your project have not been converted.  They are not supported by this importer.
    Question Slide
    Since I'm basically using Captivate 4 as a quiz generator for this project, this is definitely a showstopper.  Any suggestions?
    Thanks in advance!

    Hi,
    There is no suport for quzzing for "Export to Flash" feature in Captivate 4.
    You can either publish the quiz as a SWF and add it into flash or use learning interactions which you get as templates in flash for ELearning Suite.
    Manoj

  • Giving things instance names. Flash cs4

    Ive been using adobe flash cs4 for a while now and have had little trouble giving things instance names. Now though, whenever i double click on something like i normally do to give it an instance name, the blue box no longer comes around it, i click on properties, and change the instance name. I now get a dashed line along the lines of the picture. and when i go to properties, it just says shape, and I cant edit the instance name. Just position and size, then the fill and stroke.  What is going on?

    You do not assign instance names to objects in the library.  Instance names are assigned to object on the stage.  Instance names are unique for each item on the stage.... meaning the same library object can be used multiple times... each instance of it will have a different name.  If you want to assign a name you do it either by manually entering it in the properties panel or thru actionscript code when the object is added to the movie.

  • Flash CS4 presentation slideshow. help!

    Hello everyone!
    I need help creating a presentation slideshow in Flash CS4 for an online course with many slides. The outlook is that it would look and work very much like power point except that it will be done through Flash CS4 and uploaded online.
    I really don't know where to start and any help would be greatly appreciated!
    Thank you in advance.

    thanks..
    actually.. i know this is digressing... onto another program here but.. im almost pro with fireworks CS3 and just realized that CS4 has a flash slideshow creator built into it that is really easy to use.. the only thing is that when i go to 'export options'  in the slideshow settings.. i browse for an export path and select it.. but it seems the program malfunctions and can't select any location.. it just stays blank thus.. creating the flash slideshow i would like to do.. cannot be completed.. can someone help me with this... or shall i go to the fireworks forum.

  • Controlling volume in a Flash Slide Presentation

    Hello,
    I am working in Flash Slide Presentation mode. I have a
    started a sound file playing on the "master" slide and I want it to
    play throughout my entire presentation. However, on a couple of
    slides, I want to play some short voice clips. How can I "turn down
    the volume" a bit on the main sound file so as to hear the short
    voice clips? And then turn it back up when the voice clip ends?
    I understand basic Actionscript. Can anyone tell me the code
    or point me to a tutorial which I can use to accomplish this?
    Thanks in advance.

    use a sound instance to create your background sound.   and, how to control your flv sound depends on what you did to display your flv.

Maybe you are looking for

  • Using DECODE Function to change data

    I am trying to use the Decode function in a SQL statement to find a field that has a specific type, and when it finds that type, I want to blank out the results in a different field. For example: DECODE(ADDR_TYPE,'HOME',PHONE='') HOME_PHONE

  • Bars on dock applications

    I noticed bars over the trash icon in the dock. When I emptied the trash the bars disappeared. I now have bars over my Opera icon and do not know why they are there or how to remove them. The program still runs, however. Can anyone please advise me o

  • Creating Windows 8.1 master image with MDT 2013,cannot capture .WIM

    I am having an issue with creating a master image with Windows 8.1 and MDT 2013.   I have followed extensive tutorials on how to create a master image using Microsoft Deployment Toolkit. my goal is to have a fully configured windows 8.1 image which I

  • Nokia 5800 keeps connecting to WiFi every day.....

    I do not know y my nokia 5800 keeps connecting to wifi every day...few times a day... i have to manually disconnect the wifi but it will connect again later on.... i think it could be a virus or bug  when i already set to manual connection for the se

  • Premiere Pro CS5 Scripting Support?

    Does Premiere Pro CS5 support scripting through extendscript or any other scripting language?  I see it as a target application in the extendscript toolkit, but i don't see a place within Premiere Pro to run scripts. Thanks, Devin