Direct to Stage

Hi
I'm trying to play a windows media file in my Director
project, but its always on top, and I cannot put a button on top of
it, of course, to let the user choose to skip the intro movie. Well
the movie is always on top because of direct to stage, but I dont
see the option to turn it on or off in the property inspector
window. I thought maybe they moved the option, but the help file
says to click the sprite, and uncheck or check the DTS option in
under the windows media tab in the property inspector, but I see no
option for this. Any help
would be greatly appreciated. Thank you.
Chris

I don't think that this will work with Windows Media files,
but if you
can convert your digital video to Quicktime, you can do a few
things
1) play not DTS
2) Use a 1-bit mask to make bits of the QT sprite invisible
(even
playing DTS)
Using option 2 is the best since it will let you play the
video with
full performance and still allow you to use buttons with
rollover states.
If that is not an option, you can use the video as a button
(like Sean's
advice), and check which part of the video the mouse is over
and change
the cursor at different times. It is not as good as having a
rollover
effect on the actual button, but it is better than nothing.
-Mike
SlickZ wrote:
> Hi Sean
>
> Thank you for your reply. I did think of that, but the
way this project is
> layed out, they want the entire video to cover the whole
projector window,
> although that would work what you suggested, but i would
have no way to let the
> user know to click the video to skip the intro. Although
I suppose I could
> superimpose the word in the video itself. But then
again, they want every link
> to have a rollover state. Thanks again for your reply.
>
> Chris
>

Similar Messages

  • Veiwing a PDf using Activex Direct to stage

    I'm new to Director, and to the scripting side especially. I have managed to complete all of my project except for when I get to a point I need to be able to have the users click on a button and have a PDF load in the PDF's Activex sprite. This is the code I have attached to the button:
    on mouseup
         sprite(17).src = the moviePath &"OSME.pdf"
    end
    When they click on the button, nothing happens, any ideas on why this wouldnt be loading?
    Thanks!
    Tim

    You shouldn't have to do anything with the AX sprite to make it work (assuming it implements a src property). I assume you have a copy of Buddy API for your platform already - if not, grab it from here. To install it you need to place it in the folder named Xtras inside the folder your authoring application is installed. You must be on Windows to be running AX controls, so you should put it in the 'Adobe Director 11\Configuration\Xtras\Scripting\' folder. Restart Director and the xtra should be available. To test that it's installed properly you could check the Scripting Xtras drop-down list in either your message window or a script window (it's the menu with an xtra icon) - you should see an entry for BudAPI.
    Now alter your script like so:
    on mouseUp
      tPath = the moviePath & "OSME.pdf"
      if baFileExists(tPath) then
        sprite(17).src = tPath
      else
        alert "File not found:" && tPath
      end if
    end
    Sorry, I can't seem to view your attachment - how do I access it?

  • Can No Longer Drag JPG files From Finder Directly Into .fla Stage?

    For the past six months I have been following a manual process to convert JPG files (exported from InDesign) into SWF files for display advertising assets. 
    Using pre-built FLA files as templates (configured with clicktags):
    Open FLA templates (3 separate files for 3 IAB ad sizes)
    Drag JPG from Finder directly into stage of FLA file, aligned to
    Publish to output folder for renaming
    Today, for no apparent reason, I can no longer drag anything into the stage of any FLA file.  Not just the pre-built templates.  Nothing will drag & drop into an FLA stage. 
    What I have tried:
    Restarted Mac
    Reset Flash preferences
    What I know I can still do:
    Drag files from Finder into the Library, and drag into FLA stage from there
    "File > Import to Stage..."
    This works but because of my naming convention it prompts to import them all each time because Flash sees the sequence
    This is not another step I am willing to contend with for my manual workflow
    Me and my creative team need to process hundreds of assets like this each week, so I'm very anxious to discover why functionality that was working, suddenly stopped.
    Running:
    MacBookPro Retina OS X 10.8.5
    Flash CS6 v. 12.0.2.529

    just want to add my annoyance to the pile here. I can't see any logic behind removing the drag and drop function, especially when adding a new folder is now a multi-step process that is far from obvious. to start a new playlist with local folder content you now need to:enter settingsclick into advanced settings (basically all settings now seem to be "advanced"?)manually find and add the foldergo through the adventure of finding the files in your library.
    -- because they may or may not be listed under "local files" - you won't know because Ctrl+F is also removed. so you have to remember/know what the album you added is called and search for that. if you have a mixed bag of file names from various albums, you're basically shafted; there's no way to find them all with a single search.then you can add them to playlisteta: but wait! there's more! if you have more than 15 files? you're **bleep** out of luck, because the search will only display the first 15 hits among your local files, and then show you spotify library tracks.I can't help but feel as though spotify is doing everything they can to stop us using spotify to listen to local files, as bugs that make it more or less impossible persist through multiple versions - and now features that seem to me to be basic functionality are being removed?mega minus points from someone who's been using spotify since 2008.

  • 3D Text color properties not updating on stage

    I'm using a 3D Text object, and changing the color dyamically
    via:
    member("3D Text").diffuseColor = rgb(redVal, grnVal, bluVal)
    (More complicated than that, but this is the simplified
    version. I'm also
    playing around with directionalColor, ambientColor, and
    specularColor.)
    At any rate, watching the color values in the Object
    Inspector shows the
    colors are indeed doing what I ask them to, but on the stage
    it doesn't
    reflect the changes. I've tried with or without Direct to
    Stage, tried
    using an UpdageStage() command every frame, tried setting the
    sprite's loc
    value to itself (to force a redraw), but nothing seems to
    work. I can get
    the colors to update by manually checking and unchecking the
    DTS box in the
    Property Inspector while the movie is running, so I know it's
    doing the
    color changes, just not displaying it unless forced to
    redraw. How can I
    force this redraw via script? I know I've done it before, but
    it was a long
    time (and several versions) ago, and I've since lost the code
    to do it. Any
    help here?

    > You could try setting 'the stageColor = the stageColor'
    but I don't know
    > whether this will force a redraw of DTS sprites.
    Nope, no dice. Doesn't matter if it's DTS or not. I just
    found that
    checking and unchecking DTS caused it to refresh. The same is
    true if I
    check/uncheck any other property - antialias, wordWrap,
    editable, autoTab,
    anything. But obviously, that doesn't help me much if I can't
    find a way to
    refresh it via scripts...

  • Flash 8 sprites stop the stage updating

    Posted about this issue before but now it really is causing
    me hassel. It's the fact that I have two main Flash 8 sprites on my
    stage, one is an animated accordian style menu system which when
    the user clicks of a menu Director jumps to the relevant frame with
    both Flash sprites staying on the stage. I have also used, a couple
    of times, a Flash add banner animation on the main page and found
    these did not remove themselves from the stage. Answer on here was
    to do the following when jumping to another frame:
    sprite(1).visible=FALSE
    updateStage
    sprite(1).visible=TRUE
    Sprite 1 is a large QuickDraw rectangle covering the whole
    stage.
    Problem with this is it's causing the contents of the main
    area of the screen to flash on and off very quickly. As a lot of
    the frames jumped too also have QuickTime video playing Direct To
    Stage you get a multiple flicker as first QT loads, then the
    background is turned on and off. So I tried to modify the routine
    to only do this when jumping from a screen that had the flash ad
    banners on but know when I jump from a page with regular text and
    bitmap sprites and then the flash menu animates, it's not allowing
    the screen to update when arriving at the new frame with text and
    bitmaps on!
    This has been a bug for many years in Director and I am
    really annoyed that MM and now Adobe have never bothered to fix
    this. I am producing a large corporate catalogue on DVD-ROM and the
    client has complained about the flashing. So what do I do? Say, "Oh
    sorry, the guys at MM & Adobe couldn't fix this bug and have
    left it for years without even bothering, I know they have millions
    of dollars but they couldn't spare one programmer to fix this one.
    Yeah I know it says on the box that it works seamlesly with Flash
    but hey that obviously isn't true!"
    Any elgant solutions to this one???
    Kevin

    > sprite(1).visible=FALSE
    > updateStage
    > sprite(1).visible=TRUE
    I don't know who suggested this, but more reliable is setting
    the
    backgroung color of the stage to itself forcing a complete
    redraw of the
    entire stage area (although maybe the above does much the
    same thing):
    the stageColor = the stageColor
    As for QT flashing, this too has a simple enough work-around:
    move the
    sprite offstage for a frame while the QT engine initialises,
    then move
    it back for display - something like:
    -- behavior attached to QT sprite
    property spriteNum
    property my
    property myLoc
    property _initialised
    on beginSprite me
    my = sprite(spriteNum)
    myLoc = my.loc
    my.loc = myLoc + 10000
    _initialised = 0
    end
    on exitFrame me
    if _initialised then exit
    _initialised = initialised + 1
    my.loc = myLoc
    end

  • Stuttering flv playback issue- need help asap

    We need help asap. Have a project is due to deliver today (5/14).
    We have a video to go on a dvd-rom, live action with Motion Graphics behind.
    When output is done thru Projector the Motion Graphics stutter as they scroll.
    Here is more technical info:
    Stuttering flv playback issue:
    Prores 422 timeline 29.97fps 1280x720 output from fcp using current settings.
    Mov file is approx 7gb, plays relatively smooth on a mac pro with no raid.
    Frame by frame analysis shows all frames are present with no jumps tears or skips.
    Tried several output paths, programs and settings to create a smooth flv file to no avail.
    We adjusted data rates from 2k, 3.5k, 4k and 8k, no luck
    We adjusted keyframe rates from low to all frames, no luck.
    We tried cs3 flash encoder, cs5 media encoder, squeeze ect, same results.
    Playback in the flash projector seems to choke slightly no matter what we do.
    Have also posted in the Director Forum.
    Any help much appreciated!

    Here are a few ideas off the top of my head:
    Try playing the file using a different xtra, sometimes different ones will work better.  If you have Director 11.5, there is a native flv playback xtra.
    You can build a player easily in Flash using the flvPlayback component, then bring that into Director as a swf.
    Once you have the video in Director, try making the member Direct To Stage (DTS).  If it is already DTS, try making it not DTS.
    Make sure the video is not transparent, and nothing in Director overlaps the video... in fact, when the video is playing, nothing should be moving at all, and try to keep the amount of code that is running to a minimum.
    Try lowering your video's data rate further or try using a different codec.
    Using VBR (Variable Bit Rate) compression often makes the video appear to play smoother.
    Try compressing the flv with different software.  FFMpeg, for example, is free and does a very good job, often better than the Flash Video Encoder that comes with Flash/Creative Suite.

  • Why can i see the Flash animation that I have embedded in a Director movie only on some computers?

    The SWF file is linked and plays on my computer and on one of the intended computers but not the others even though they are similarly configured (my computer is completely different and I also have the entire Adobe Master Suite along with Director the other machines essentially just have M$ Office). The Director movie has a SWF with the following asset properties:
    Media: Linked, Yes; Preload, Yes
    Playback: Image, Yes; Paused/Sound/Loop/Direct to Stage, all No
    Quality: High
    Scale Mode: Auto-Size
    Rate: Normal
    Scale: 100%
    The SWF file is located in the same folder as the projector.
    I'm using Director 11.5. The end users are on several corporate laptops that are all configured the same to begin with. They are all running Windows XP and of course do not have Director installed on them. I know the file works as it is intended to on the one computer but the rest all fail in a similar way (not including mine obviously which works fine). This to me says that it was published and created correctly but something is missing or setup wrong on those computers which is keeping it from displaying properly.
    Here's the part that is really killing me, I had some extra time one day and sat down for several hours trying different things (installing Flash players, Shockwave players, basically taking shots in the dark with the thought that the computers were missing some plugin, etc) trying to get it to run appropriately and... I figured it out!! Unfortunately I didn't have the time or permissions to repeat the process on the other laptops and now (7-8 weeks later) I can't figure out what I did to make the first one work. I know it's possible and I know it works on that laptop, but when I try using the exact same files/folder on the other laptops it gets to the frame where the animation is supposed to play and it just shows a little repeating elipses (...) animation in the corner. At first I took this to mean it was loading so I waited and waited but it never loads anything. The laptop that works shows the animation immediately and perfectly.

    Hi,
    sorry for my English
    I think Your Local Path Stored in Member ex:"D:\\...." In Client machine that path is not available so
    Use Script
    member("xx").filename = _movie.path&"Foldername/filename.swf"
    or
    Import swf in local cast
    or
    If you are not use Projector.Use Shockwave html then use DSWMEDIA folder to store swf file.
    member("xx").filename = _movie.path&"DSWMEDIA/filename.swf"

  • Need help embedding photo gallery swf into main swf...

    So I am attempting to create a website in flash and have the
    main swf created for that. However, I've also created a photo
    gallery in a separate swf which I want to embed into one of the
    scenes in the main swf. I tried importing directly to stage, but
    quickly realized that the timeline from the photo swf would not get
    carried over. Basically, I know that it has to be accomplished
    using AS, but don't know what that script would be. Any help would
    be appreciated!

    OK, well, that wasn't really a tutorial as much as it was
    just a huge section of code I couldn't make sense of. Anyways,
    instead of loading the gallery externally now I decided to just
    make it in the actual main swf. So, basically, in the section of
    the main swf reserved for the gallery I created an empty movie
    clip, went inside the clip, created layers for script, thumbs and
    photos. The photos themselves were in a movieclip of their own.
    Each photo has a small fade in accomplished by staggering the
    keyframes for each photo with a stop(); action on the last frame of
    each photo where it comes to full opacity. The thumbnails are back
    in the main movieclip where each button has code telling it to go
    to the beginning of each photos transition and play. It is supposed
    to play until it hits that stop action, but it won't play at all.
    Suggestions?

  • Best way to draw thousands of graphic objects on the screen

    Hello everybody, I'm wanting to develop a game where at times thousands of graphic objects are displayed on-screen. What better way to do this in terms of performance and speed?
    I have some options below. Do not know if the best way is included in these options.
    1 - Each graphical object is displayed on a MovieClip or Sprite.
    2 - There is a Bitmap that represents the game screen. All graphical objects that are displayed on screen have your images stored in BitmapData. Then the Bitmap that represents the game screen copies for themselves the BitmapData of graphical objects to be screened, using for this bitmapData.copyPixels (...) or BitmapData.draw  (...). The Bitmap that represents the screen is added to the stage via addChild (...).
    3 - The graphical objects that are displayed on screen will have their images drawn directly on stage or in a MovieClip/Sprite added to this stage by addChild (...). These objects are drawn using the methods of the Graphics class, as beginBitmapFill and beginFill.
    Recalling that the best way probably is not one of these 3 above.
    I really need this information to proceed with the creation of my game.
    Please do not be bothered with my English because I'm using Google translator.
    Thank you in advance any help.

    Thanks for the information kglad. =)
    Yes, my game will have many objects similar in appearance.
    Some other objects will use the same image stored, just in time to render these objects is that some effects (such as changing the colors) will be applied in different ways. But the picture for them all is the same.
    Using the second option, ie, BitmapDatas, which of these two methods would be more efficient? copyPixels or draw?
    Thank you in advance any help. =D

  • Ghost image

    Hi All,
    I have developed a application in Director in which i have
    used both and flash and jpeg images. In my Main screen i have a
    Jpeg image as background and above that i have a Flash navigation
    menu.
    The Problem is when i leave the application idle for some
    time and working on other application like word or any other
    application. When i resume to our applictio i could not see any
    background image, its black and the flash navigation buttons or
    visible. Why this Ghost image happens.
    Can some one help me on this. Looking forward to Yout reply
    thanking you all.
    Rgds,
    P.Suresh kumar

    Are you using Direct To Stage on your Flash?
    Try this code in a movie script (pre-MX2004 syntax), it will
    foce the stage to redraw when your app comes to the front
    on activateApplication
    (the stage).bgcolor = (the stage).bgcolor
    end
    hth
    johnAq

  • Flash sprite in Director: slow, slow!

    It's not a new problem but maybe there's a new solution?...
    I have a Flash game in a Director projector. The Flash games
    works fine by itself (not embedded in Director), but inside
    Director, everything runs much slower. Is there any ways to speed
    things up?
    Thanks
    Serge

    Yea Flash tends to run a bit slower in director, be sure the
    default
    direct to stage flash member property is set.
    Mx 2004 has an updated flash xtra that runs a little more
    effeciently,
    with an option to run multiple flash sprites in the same
    memory space.
    There's a downloadable director update for flash 8.0

  • Long Delay when switching Flash cast members

    I have a movie that uses Flash cast members as sprites. The Flash members are static images and are optimized as best they can be, but they are using Background transpaerent ink and cannot be direct to stage so I know they use a lot rescources. These sprites are rotated randomly, and that is why I must use Flash members since bitmaps look terrible when they are rotated.  The user can select to change the sprite's members to display different images.  I do this by changing the memberNum property of each sprite.   When that happens on some systems there is a delay of up to 2 seconds while the new Flash cast members are substituted.  All Flash members are internal and are set to Preload before Frame 1.
    Can anyone think of what may be causing this delay?

    Firstly, I'd suggest that rather than rotating the Flash sprite it may be simpler to rotate the contents of the Flash using Flash functions built into the SWF... I'm pretty sure it would be more efficient in terms of processing. If necessary you could wrap your SWF's content into a MoveClip within the main SWF, and then spin the MovieClip using Actionscript in the SWF (if you see what I mean).
    As for the delay problem - have you tried using the sprite.member property rather than sprite.memberNum? For example:
    on changeMember me, aMemberName
         sprite(me.spriteNum).member = aMemberName
    end
    I don't know if this would side-step the problem because I've never come across it before, but it's a thought. Bare in mind that memberNum can be ambiguous because it doesn't specify which cast the member is stored in.
    Telling members to preload before frame 1 doesn't guarantee that they will be preloaded - you need to be sure that you've allocated enough preLoadRam. The following would allocate 1MB (1024 KB) of RAM for preloading
    on startMovie
         the preLoadRAM = 1024
    end
    If your SWFs are large then you may need to up the preLoadRAM value (assuming you can be sure that your users' systems will have enough free RAM).
    Finally, you can use the member.preload property to tell Director whether a SWF must load completely before it plays...:
    member("myMember").preload = true
    ... or whether the SWF can be streamed from disk as it plays...:
    member("myMember").preload = false
    I hope some of this helps.

  • MC container causes this code to fail...why ?

    Hi
    Flash CS5 as3
    We have settlements named with suffix _Level2 such as e.g. Mitre'sGate_Level2 as well as _Level3 as MovieClips that are in a container MovieClip called Map_Collection.
    The code below fails with the error shown if the code line shown in bold is used, it works with:-
    var clipName :String = String(e.item[s]).replace(r,"")+currentLevel;             if the settlements are placed directly on stage.
    The code identifies _Level2 or Level3 at end of button name e.g. DistrictA_Level2 and appends it to the dataGrid output on the MouseHover.
    What should the code read to resolve this problem that we have poured heart and soul into for 2 hours ?
    Error is:-
    Map_Collection.Mitre'sGate_Level2
    TypeError: Error #1010: A term is undefined and has no properties.
    at BusMap_fla::MainTimeline/ShowSymbols()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at fl.controls::SelectableList/handleCellRendererMouseEvent()
    at fl.controls::DataGrid/handleCellRendererMouseEvent()
    Code is:-
    dg.addEventListener(ListEvent.ITEM_ROLL_OVER,ShowSymbols);
    function ShowSymbols(e:ListEvent):void{
    makeAllVisibleF(false);
    var r:RegExp = /\W/g;
    for(var s:String in e.item){
    //trace(currentLevel)
    if(e.item[s]){
    var clipName :String = String(e.item[s]).replace(r,"")+currentLevel;
    trace(clipName)
    this[clipName].visible=true;
    trace(s,e.item[s])
    function makeAllVisibleF(b:Boolean):void{
    Mitre'sGate_Level2.visible=b;
    UpperDowning_Level2.visible=b
    //Map_Collection.Tamar Brook_Level3.visible=b;
    Map_Collection.Mitre'sGate_Level2.visible=b;
    This code works on sttmnts directly on stage.
    I show here an extract of the code visible=b; that follows it. we have such for every sttmnt. The first two lines are for those not in the MC container.
    if we use:-
    var clipName :String = "Map_Collection."+String(e.item[s]).replace(r,"")+currentLevel;
    which is our best stab after trying various options, it fails with error above.
    My compatriot says, in code !!!  
    // This is what we want
    Map_Collection.Mitre'sGate_Level2.visible=true
    //This doesn’t work
    Map_Collection.this[clipName].visible=true
    //This works, when Mitre'sGate_Level2 is placed on the stage
    Mitre'sGate_Level2.visible=true
    //Placing Mitre'sGate_Level2 in movie clip Map_Collection How do we get it to work
    We tried a variety of  options, even replacing 'this' with Map_Collection.., my best stab,  just what should the code be ?
    Envirographics

    Hi,
    Not sure of that, (also now have edited csv to no gaps or apostrphes, still it fails) ...because the code I posted is the code we are successfully running in a test file where there is a dataGrid fed a csv with such as Mitre's Gate Collet's Reach etc.  This code removes the  apostrophes and gaps when user hovers datagrid, MC's spelt MitresGate etc are identified and appear, then hide again when another row is hovered. Note also as said, Mitre's Gate outside of MC Map_Collection is found and shows.
    The code in this test file (which is 3 columns) is:-
    import flash.net.URLLoader;
    import flash.events.Event;
    import flash.net.URLRequest;
    import fl.data.DataProvider;
    import fl.controls.DataGrid;
    import fl.events.ListEvent
    makeAllVisibleF(false);
    var urlLoader:URLLoader = new URLLoader();
    urlLoader.addEventListener(Event.COMPLETE,completeF);
    urlLoader.load(new URLRequest("NamesWithNullCellsGapsApostrophes.csv"));
    var dg:DataGrid
    function completeF(e:Event):void{
        var dataS:String = e.target.data;
        var dataA:Array = dataS.split("\n").join("").split("\r");
        var dpA:Array = [];
        var itemA:Array;
    var r:RegExp = /\W/g;
        for(var i:int=0;i<dataA.length;i++){
            itemA = dataA[i].split(",");
             dpA.push({"col1":itemA[0],"col2":itemA[1],"col3":itemA[2]});
    var dp:DataProvider = new DataProvider(dpA);
        dg.columns = ["col1","col2","col3"]
        dg.dataProvider = dp;
    dg.addEventListener(ListEvent.ITEM_ROLL_OVER,ShowSymbols);
    function ShowSymbols(e:ListEvent):void{
    makeAllVisibleF(false);
    var r:RegExp = /\W/g;
    for(var s:String in e.item){
    if(e.item[s]){
    var clipName :String = String(e.item[s]).replace(r,"");
    this[clipName].visible=true;
    trace(s,e.item[s])
    function makeAllVisibleF(b:Boolean):void{
    We have introduced to that the code by Kglad, or so we hope, that appends to the output from OnHover  _Level2 or _Level3 depending on which District button is clicked on, DistrictA_Level2 or DistrictA_Level3.
    Just to recap/describe what we are aiming at, a map has 6 districts, user clicks District A button named in instance DistrictA_Level 2and is taken to that District, a dataGrid appears and when user hovers a row, the settlements for that layer of the map, e.g. Mitre's Gate_Layer2  appear. csv just has Mitre's Gate. user clicks on DistrictA_Level3 button and hover will show Mitre's Gate_L
     evel3 symbol. 
    Kglad code:-
    var currentLevel:String="_Level2";
    dg.addEventListener(ListEvent.ITEM_ROLL_OVER,ShowSymbols);
    function ShowSymbols(e:ListEvent):void{
    makeAllVisibleF(false);
    var r:RegExp = /\W/g;
    for(var s:String in e.item){
    if(e.item[s]){
    var clipName :String = String(e.item[s]).replace(r,"")+currentLevel;
    this[clipName].visible=true;
    trace(s,e.item[s])
    and when asked how one gets the Level2 into that var when user clicks on e.g. DistrictA_Level2
    we now have, for the 12 buttons we have named, reply from Kglad
     :-• DistrictA_Level2.addEventListener(MouseEvent.CLICK, clickF);
    DistrictB_Level2.addEventListener(MouseEvent.CLICK, clickF);
    DistrictF_Level2.addEventListener(MouseEvent.CLICK, clickF);
    DistrictA_Level3.addEventListener(MouseEvent.CLICK, clickF);
    DistrictB_Level3.addEventListener(MouseEvent.CLICK, clickF);
    DistrictF_Level3.addEventListener(MouseEvent.CLICK, clickF);
    var currentLevel:String;
    function clickF(e:MouseEvent):void{
    currentLevel="_"+e.currentTarnget.name.split("_")[1];
    for the moment we are focusing on getting it operational on just button DistrictA_Level2
    As said works fine if MC Mitre's Gate sits on stage, so the apostrophy and gap stripping is working as is the appending of the wording after and including the _ from the District button !  Place the settlement MC into Map_Collection MC and it fails.
    Envirographics

  • Multiple instance of UIscrollbar problem

    Hi,
    In a project I have 10 textfields that I turn visible or insivible according to need. Some of those textfields must scroll. I used the UIscrollbar and it worked fine until I added another textfield that used it. At first, I thought it was the variable names and changed them all but it still didn't work.
    The only way I can make this work right now is by putting all my text movieclips (containing the textfieldand, scrollbar, etc) directly on stage instead of all in one container MC for all my text movieclips. That's really impractical.
    Is there any reason the UIscrollbar refuses to work in more than one instance if the MC they are in is inside the same MC?
    To explain better here's a bit of my code:
    private function createTxt():void
                   var mcEncadre:MovieClip;
                   mcEncadre = new MovieClip();
                   mcEncadre.name="txt3";
                   //mcEncadre.alpha=0;
                   zoneTxt_mc.addChild(mcEncadre);              
                   creerEncadre(mcEncadre,1,668,181,0x676767,0,0);
                   txt = creerTxtfield(mcEncadre,txtExpl_arr[2],txtExpl_fmt,627,150,25,20);
                   txt.wordWrap=true;
                   var vScrollBar:UIScrollBar = new UIScrollBar();
                   vScrollBar.direction = ScrollBarDirection.VERTICAL;
                   vScrollBar.move(txt.x + txt.width, txt.y-19);
                   vScrollBar.height = txt.height+29;
                   vScrollBar.scrollTarget = txt;
                   mcEncadre.addChild(vScrollBar);
                   mcEncadre = new MovieClip();
                   mcEncadre.name="txt10";
                   //mcEncadre.alpha=0;
                   zoneTxt_mc.addChild(mcEncadre);              
                   creerEncadre(mcEncadre,1,668,181,0x676767,0,0);
                   txt = creerTxtfield(mcEncadre,txtExpl_arr[9],txtExpl_fmt,627,150,25,20);
                   txt.wordWrap=true;
                   var vScrollBar2:UIScrollBar = new UIScrollBar();
                   vScrollBar2.direction = ScrollBarDirection.VERTICAL;
                   vScrollBar2.move(txt.x + txt.width, txt.y-19);
                   vScrollBar2.height = txt.height+29;
                   vScrollBar2.scrollTarget = txt;
                   mcEncadre.addChild(vScrollBar2);
                   vScrollBar.update();
                   vScrollBar2.update();
    I tried .update() and it changes nothing. With this code only the first scrollbar works but if I add the second mcEncadre directly to the stage instead of to my text container (zoneTxt_mc) then they both work. Urgh!
    Anyone encountered this before?

    A spelling or punctuation mistake, or sometimes a trailing space usually causes this after the artists and/or song/album name, which fools the iPod into thinking that there are two different artists, albums or songs. The trailing space is the hardest to spot.
    Best way to cure this is to go into iTunes, highlight that artist and/or songs/albums, right click on them and select "get info".
    This brings up the multiple song info window. If you see the "artist" field is left blank, then there is a discrepancy with that name.
    So to correct this, retype the name, as you would like it, and then click ok. You should do this even if no mistakes are immediately visible.
    Re sync this new artist/song/album info to your iPod.
    If the above is not the issue, try this also. Highlight all the songs for that artist, right click on them and select "apply sort field/same artist".
    See if that works.

  • Move container sprite according to mouse movement

    Hi All,
    Currently I'm developing a game where there is a object which follows mouse. Also there are other objects and a map on the screen.I want all of background content(whole map and other objects) to move when user moves mouse left or right. That is, if user moves mouse on right side then all content(except object which moves as per mouse) should move left side so that user can see remaining part of map on the right side.
    As of now I have created new Container sprite in which I have added all of my objects and map. So when user moves the mouse right, I move the container sprite to left so it looks all stuff moves to left. Code looks like as below
    var pt:Point = new Point(character.x, character.y);
    pt = dori.localToGlobal(pt);
    if (pt.x > (stage.width * 0.5))
                        container.x -= 5;
    Structure of project is such that, I add Container directly to stage. and this container contains everything like map, character and other objects.
    Now issue is that as soon as mouse goes beyond middle of stage...it creates distance between mouse location and character..!! I mean it does move according to mouse but some distance get created between mouse and character. and this distance keeps increasing as I continue to move mouse away from center of stage!!
    I'm really stuck with this issue. Please someone help with this. I hope I have explained this well. Let me know if you need more info but please help.

    No see......I dont want ease in n all....and character following the mouse logic is working fine if I dont use above linear interpolation to move the container mc.....
    but I do want to move container mc as well so I will have to use what you gave to move the all background objects when user moves mouse....
    so Again to clarify, in the game when user moves mouse the character should follow and at the same time bakckground objects which are in container mc should move opposite to mouse movement so that remainng mape gets visible to the user....
    just now when I was debuggin the linear interpolation logic...I got to know that there something I need to change in it...because accroding to that logic...let say for example
    stageWidth is 480
    maze.width is 551
    then x1 will be  480
    y1 will be -71
    x2 will be 0 and
    y2 will be 0
    so m = (y1 - y2) / (x1 - x2) = -71 - 0 / 480 - 0
    m = -0.147
    b = y1 - m * x1 = -71 - (-0.147 * 480) = 0
    so on each enter frame when mouseX wil be multiplied with m....it will create lag in moving container(character is in container as well!
    bcoz
    container.x = m * stageRef.mouseX + b;
    so I'm confused!!
    where do u think shall correction be made??

Maybe you are looking for

  • If I change my Apple ID on my IPOD, will I lost my existing settings and game progress?

    I linked two IPODs to the same apple id and have been using them that way for a few months.  When I download something on one, and it shows up on the other.  Each ipod seems to have its own game prefs stored locally, but we cannot play multi-player g

  • Streaming video from Imac

    Brand new, 15 yrs.w/pc got tired replaced all w/apple,even iphone 3g. Anyway would like to stream things like fox strategy room, espn360.com ect.to my TV. Is there a setup that I could use to accomplish this ? Thanks again. Do kick myself for not swi

  • Disk Suite/ Solaris 8 Upgrade Problems

    Hello, I am trying to upgrade from Solaris Sparc 7 to 8 and I have Sun Disk Suite mirroring the boot device. When I try to upgrade the installation fails. Is there a way to upgrade from 7 to 8 without breaking the mirror and if not is there a utility

  • To make Column editable in incoming excise invoice form

    Dear All, i want user defined matrix column field to be editable in incoming excise invoice form . i tried oMatrix.Columns.Item("U_mnfDet").Editable = true; while use this code add-on failed. Give me any another solution on this or code to make that

  • Exporting problem in PE 4

    I combined muliple short footage videos (17) from a disk to the timeline, did the editing required, title, etc and sent it to a disk. No problems with anything here. The disk plays well as a DVD on computers and players. I tried to export the same fo