Scene Problem

I am just beginning in Flash and am using CS4. I am creating
a rather long SWF with a total of 9 scenes in it. Each scene has
multiple sound files and videos within it. While doing a "Test
Movie" I ran into a problem I have been unable to resolve. The
scene has about 10 layers with a soundtrack that works great when
you do a "Test Scene". But the moment you do a "Test Movie" the
sound track in that scene starts playing 2 scenes early. All the
other scenes are working correctly and thier sound tracks start and
stop like they should. I have replaced the soundtrack with
different sound files, deleted the sound file, saved and then
reimported to library then created a new layer then added the sound
file. I have done this with several sound files within the same
scene, but still for some reason the soundtrack starts playing
about 2 scenes early. Has the scene corrupted or is there some way
to keep this from happening. The sound tracks are all streamed and
I have the same setup on all the soundtracks and all others seem to
work fine. I have tried action script to stop and start the
sound...and this works great as long as you do a "Test Scene"...but
when its a "Test Movie" the soundtrack starts playing 2 scenes
early again. Anyone know what I may have done wrong or if there is
anything I can do to resolve this?
Thanks in advance

Well I did a little experiment to check to see if in fact the
scene had corrupted and it seems to me it has. When I intially
created the problematic scene it was actually in the scene 3
position. I moved on and did a few other scenes past it. Then came
back finished it up and then decided I wanted a couple of scenes in
front of the problem scene. So I inserted 2 scenes before the
problem scene. This made it basicly scene 5 instead of scene
3...position wise. I moved the problematic scene back to its
original position and everything works fine. If I move the problem
scene to say scene 2 it works fine...if I move it to scene 1...it
works fine...but if I move it past the scene 3 position...say to 4
or 5 or 6 or 7 or 8 or 9....It starts messing up. Since I need this
to work flawlessly I think at this point I will eat it and rebuild
the scene by deleting it and recreating it...hoping that this may
cure the problem.-----EDIT---I deleted the scene...inserted a new
scene and only inserted the sound file and it does the same
thing...starts playing 2 scenes early at exactly where the deleted
scene was starting. Guess Ill try the preloader now.

Similar Messages

  • Multiple Scenes problem

    Hello all,
    Currently i'm writing a game and i need to change the scene (or stage??): between the
    welcome scene, the game scene, level-change scene etc...
    Now, maybe i'm doing it in the wrong way, but what i did so far, is that i wrote a very simple scene manager that handle MyScene classes (which extends Scene) and everything works fine... except for one thing: objects that i expected to be deleted when no one has references to them anymore, are
    apparently NOT being deleted
    It looks like running Timelines are not cleared or even stopped, even if no one refers to them and the scope where they were created is just "dangling" in the air.
    What i did, is to explicitly clear the obsolete scene's content (content=null) and all "nullify" all it's members. It helped with the objects - but the timelines still
    running. i can, of course, explicitly stop the timelines, but i feel that all the C++ style manual deletion is not exactly the right way to do it.
    What am i doing wrong?
    Thanks!
    Edited by: dharmax on Sep 7, 2009 7:30 AM

    i think i found out the root of the problem (it's just a theory):
    1. When a timeline instance is created, it may have two owners (two entities that reference it): one is the general runtime context and the optional second, is the object within which it was created.
    2. Now, the timeline also reference the object within which it was created. Thus, as long as the timeline instance exists, that object will also live.
    3. Even if the scene where the objects where originally placed in is gone, these objects will live as phantoms, held by virtually circular referencing (virtual, because the timeline is still associated with the general runtime context).
    Conclusion: maybe it is a feature, but to me it looks like a mis-feature: having the general runtime context as one of the timeline's owner.
    Proposed solutions:
    - Option A: the active scene or stage should take the general context's job as the parent of the timeline
    - Option B (maybe better): if a timeline was created within the scope of another object - this object should be its soul owner.
    In my specific application, i found no solution except doing it brute force and i don't like unclean code...

  • Keyboard events and scenes problem

    I have 2 scenes. In both scenes, I have a movie clip that moves via keyboard control.  If the goto next scene is triggered by the movie clip in the first scene the keyboard control works in the second.  However, if I use a button to move to the next scene then there isn't any control over the movieclip in that scene.  I've traced the keyCode in the second scene and it is picked up but the switch statement doesn't run. I'm migrating to Actionscript 3.0 and updating something I created in 2.0.  I would like to do it without writing a class.
    Scene 1 code:
    stop();
    stage.addEventListener(KeyboardEvent.KEY_DOWN, doKeyDown);
    function doKeyDown(e:KeyboardEvent):void {
    switch (e.keyCode) {
      case Keyboard.LEFT :
       b1_mc.x-=5;
       break;
      case Keyboard.RIGHT :
       b1_mc.x+=5;
       if (b1_mc.x>350) {
        stage.removeEventListener(KeyboardEvent.KEY_DOWN,doKeyDown);
        gotoAndPlay(1,"Scene 2");
       break;
    next_btn.addEventListener(MouseEvent.CLICK, goNextScene);
    function goNextScene(e:MouseEvent):void {
    stage.removeEventListener(KeyboardEvent.KEY_DOWN,doKeyDown);
    gotoAndPlay(1,"Scene 2");
    Scene 2 code:
    stop();
    stage.addEventListener(KeyboardEvent.KEY_DOWN, doKeyDown2);
    function doKeyDown2(e:KeyboardEvent):void {
    switch (e.keyCode) {
      case Keyboard.LEFT :
       b2_mc.x -= 5;
       break;
      case Keyboard.RIGHT :
       b2_mc.x += 5;
       break;

    does it work the same if you use the following?  if yes, there's something other than the code you're showing that's causing the problem.
    Scene 1 code:
    stop();
    stage.addEventListener(KeyboardEvent.KEY_DOWN, doKeyDown);
    function doKeyDown(e:KeyboardEvent):void {
    switch (e.keyCode) {
      case Keyboard.LEFT :
       b1_mc.x-=5;
       break;
      case Keyboard.RIGHT :
       b1_mc.x+=5;
       if (b1_mc.x>350) {
    goNextScene(null);
       break;
    next_btn.addEventListener(MouseEvent.CLICK, goNextScene);
    function goNextScene(e:MouseEvent):void {
    stage.removeEventListener(KeyboardEvent.KEY_DOWN,doKeyDown);
    gotoAndPlay(1,"Scene 2");
    Scene 2 code:
    stop();
    stage.addEventListener(KeyboardEvent.KEY_DOWN, doKeyDown2);
    function doKeyDown2(e:KeyboardEvent):void {
    switch (e.keyCode) {
      case Keyboard.LEFT :
       b2_mc.x -= 5;
       break;
      case Keyboard.RIGHT :
       b2_mc.x += 5;
       break;

  • My Many Irritations (story) and a New Solved Problem (video playback)

    This topic is just going to ramble through the many things that have irritated me about my iPod since the purchase only three weeks ago. Don't get me wrong, though, I still love the thing. For the most serious problems, check out Numbers 3 and 11.
    Lets see... where to begin...
    I originally had no interest in the iPod, but some time after the unveiling of the fifth generation's new capabilities a friend of mine started talking about it quite a lot. And so, some time in early November, my hype for the video iPod had grown greatly. I downloaded Videora iPod converter and started converting music videos like crazy.
    By the time December rolled in I had successfully converted almost all of my 150 or so music videos and imported them into iTunes. With Christmas coming up I was wondering if I should just ask for it as a gift, but impatience set in and I bought it on the fifth of December, and have greatly enjoyed it since.
    Sounds peachy, but there's a fair bit that I left out.
    Number 1. I love viewing movie trailers on Apple's website. But with the recent update to the quicktime software, it was required to get the updated version. With that came iTunes, a program that was at the time unwanted and an irratation.
    Number 2. Videora iPod Converter has it's fair share of bugs. While I successfully converted many a video with it, I found it would 100% of the time fail to convert files of the .wmv format (Windows Media). As well, I would later find a more serious problem.
    Number 3. On the first day of using the iPod I had a serious error. I had been watching videos just fine all day, and the iPod was working perfectly. I then chose a video to play and inexplicably the iPod froze. These are the symptoms: black screen, backlight on, no responce from controls.
    Tired, as it was the end of the day, I was unwilling to go to the computer room and attempt to find a solution online. And so, I gambled that the backlight would drain the battery and hoped that upon a recharge, everything would be fine. As the backlight was illuminating my bedroom, I put the iPod in it's sleeve to dim it a bit and went to sleep.
    As you can imagine, this was kind of scary. I was afraid that I had bricked my iPod on it's first day.
    In the morning, the battery had died and I was able to recharge it by syncing it with my computer. After charging, I tried a few videos and then tried the offending video. Again it froze, but this time I was confident that the backlight would drain the battery and it would be fine.
    I then looked at the folder wherin I had saved the converted video. Among all my other videos was the offending one. I played it in Quicktime 7, and everything was fine until I realized the length of the video was double what it should be. After what should be the end of the music video came two minutes of a white screen. The file size was also abnormally large, compared to the other videos.
    It turns out that Videora iPod Converter can sometimes produce corrupt files, and these corrupt files will not be detected by iTunes as corrupt. Such files can be trasferred to iTunes and to your iPod without any error or problem, but will lock up your iPod when played. Now, when converting batches of videos with Videora, I scan the file-sizes to see if any are abnormally large; after all, using the same settings on a batch of similar in length videos should produce files of similar size.
    It occurs to me now that the method for resetting the iPod might have worked as an alternative to draining the battery.
    Number 4. I should mention that the battery life on this thing was (for me) unexpectedly low when playing videos. I'm not saying that mine is defective or anything, but I just found that the battery runs down pretty quick when playing videos; quicker than I had thought it might. Not a big problem, though.
    Number 5. In a search to find something to convert my .wmv videos to an iPod compatible format I found the ImToo converter. It works quite well, but the trial version is limited to videos of five minutes or less in length. I'm considering paying for the full version, but if someone knows of another reliable .wmv converter, I'd be glad to try that. For now, ImToo is good enough as most music videos are less than five minutes long, but I do have some other videos in the .wmv format that I would like to transcode.
    Number 6. In mid December I went out of town for three days. Of course, I brought along my new favorite portable media player. Not surprisingly, the battery soon ran low and I was without my computer to recharge it. So I went out to a store and bought Apple's official USB Power Adapter. I thought it was kind of expensive, especially considering that they used to be BUNDLED with the older iPod models, but I was happy to find I would now be able to charge my iPod. Wrong. Something that was not made obvious to me by the package description (if it is even mentioned there) is that the darn thing needs the USB cable that came with the iPod. It does not come with one, and so if all you have is a wall socket, the USB Power Adapter, and an iPod, you're screwed. Unless it's the iPod shuffle, which apparantly is the only thing that works with the USB Power Adapter out of the box. As far as portability goes, I feel this hurts. I would have liked to keep my USB cable attached to my computer. After all, it is a pain to get to the back of my computer and keep plugging it in or unplugging it.
    Number 7. I'm rather irritated with certain aspects of the iPod's interface considering music videos and regular song files. I spent a good amount of time adding artist and album tags to all of my music videos. These tags make sorting the videos in iTunes much easier.
    First, the iPod's interface does not allow for the search of videos through album tags, but does through artist tags.
    Second, going to Music>Albums> gives a long, cluttered list of Albums because of all of my music videos and one-hit songs that belong to only one album each.
    I suppose there is a workaround.
    Number 8. I recently bought another accessory for my iPod. The LOGiiX Amplified Fold-Up Speakers. A very attractive and portable set of speakers for the iPod. It comes with a little stand that holds the iPod in place, and works off of either 4 AAA Batteries or AC Power. Yet again, this is a product that DOES NOT come with the power adapter. Now, I think I MAY have one somewhere in my house... perhaps the power adapter that CAME WITH my SONY MD that is being replaced with the iPod will work....
    Oh, and that little clip-on stand I mentioned? I expect it to be lost soon because when I fold up my portable speakers there is no way to clip the stand onto the outside of the speakers.
    Now, as far as portability goes, I have to carry with me (at the most) seven things: the iPod, the headphones, the USB connector, the USB power adapter, the fold-up speakers, the little stand, and an AC power adapter.
    Number 9. Minor irritation in my control of the clickwheel. After this long, I still accidentally select the wrong thing, and often take a fair time to get the highlight where I want. Meh, this one I'll figure out eventually.
    Number 10. There was something irritating about entirely forgetting my login for my Apple ID and having to create this brand new one for today.
    Number 11. Just today, I have come across a problem with the video not playing. I watched one video just fine, went to the Videos>Movies> tab and, as mentioned above, accidentally highlighted a video I did not wish to play and hit the Select button. Normally when this happens I wait until the video has loaded - when the screen goes black and the white Play symbol appears in the top left. But this time, I immediately hit the Menu button to go back to the Movies tab. The video's loading was interrupted and I went back to the Movies tab.
    Now, when I select and play ANY video, after a noticable but short wait the screen goes black, another noticably longer wait and the play symbol appears, and then a black screen for a few seconds and the iPod skips ahead to the next video, which behaves in the exact same way.
    I have powered down the iPod using the method of holding the pause button, but the problem persits.
    My music videos can be played as songs by finding them under the Music tab, but no videos play as videos.
    I am not at my home computer, and so running iPod updater or just trying to sync is not an option right now.
    I will soon try to reset the iPod using the method described on Apple's support website.
    EDIT Okay, the reset did the trick. Videos are playing fine now. I still want to share my iPod story, so I'll leave this here, but have changed it from being a question. Below are the instructions I followed for the reset.
    RESETTING THE IPOD
    1. Toggle the Hold switch on and off. (Slide it to Hold, then turn it off again.)
    2. Press and hold the Menu and Select buttons until the Apple logo appears, about 6 to 10 seconds. You may need to repeat this step.

    Nice Rant session:
    "It turns out that Videora iPod Converter can sometimes produce corrupt files, and these corrupt files will not be detected by iTunes as corrupt. Such files can be trasferred to iTunes and to your iPod without any error or problem, but will lock up your iPod when played. Now, when converting batches of videos with Videora, I scan the file-sizes to see if any are abnormally large; after all, using the same settings on a batch of similar in length videos should produce files of similar size."
    What did you expect for freeware? Nice effort but because it's free everyone thinks it's a gem. It's not. This web site has been flooded with questions that should be directed at the authors website. Video conversion and editing is not for the beginner. Sounds to me that you have a bunch of badly converted videos that are causing a lot of problems. Videora problems:
    Known Bugs
    Audio/Video sync
    Problem - Output files can be out-of-sync. While no set pattern has been established, it seems to be more frequent with input files of 23.976 fps, non-DVD rips, and WMV/MPG filetypes.
    Workaround solutions - Try the custom option '-async 1'. If the disconnect gradually increases over time, setting 29.97 fps sometimes gets rid of the problem regardless of the input fps. You can also use AviSynth to assume the FPS and have the audio sync to that. If it's a sudden disconnect, check your VOB Cell settings in DVD Decrypter settings per this thread. Otherwise, test with an AviSynth script per the DaProphecy's method in the FAQ. For non-DVD files, PSPVideo 9 may be a good short-term solution until the converter stabilizes some more or try something like AviDemux.
    Audio track not getting picked up
    Problem - The IFO stream rip is fine, but the converted file has no sound. The debug info showed to audio track getting picked up. The most obvious case with this is the Madagascar DVD.
    Workaround solution ideas - Test with an AviSynth script per the DaProphecy's method in the FAQ (untested). Use a different DVD ripper.
    Program doesn't start (.NET issue?)
    Problem - Converter errors upon starting with an extended dump.
    Solution ideas - Update .NET framework (in all languages you're using!) to most recent solution. Clean out registry. Neither of these have worked for some.
    Progress meter incorrect
    Problem - During transcodes, the progress meter can be incorrect; thus, transcoding continues after the meter hits 100% and time remaining is zero. People have been seeing this more often with VOB files and/or the H.264 codec.
    Workaround - Figure out the length of your movie in seconds and compare that to the 'Processed' field. A 2-hour movie will not finish until Processed hits 7200 seconds.
    Artifacts (bad video quality) in darker scenes
    Problem - Scenes with darker background colors tend to have more artifacts (blocked video). It's much more obvious on the iPod, so this may be an Apple firmware problem.
    Workaround ideas - Use a VBR setting (FQ->VBR, two-pass A->VBR) to improve video quality. The custom option '-mbd 2' might help.
    Desktop icon
    Problem - When installing, the desktop icon does not appear/stick when using lower color setups.
    Workarounds - Select a 32-bit color scheme in your desktop settings, or change the icon in the shortcut.
    Profile changes don't always stick
    Problem - If you make a change to a profile, click apply, and immediately trancdoe with that profile, the transcode might not use the new settings.
    Workarounds - Once you click apply, swtich to another profile and back again to make sure the change is still there. If that doesn't work, create a new profile.
    Can only install/use with admin rights
    Problem - There have been reports of non-admin users not being able to use the converter.
    Workarounds - Separate installs or give all users admin rights.
    Who in their right mind would use a program that has these many critical bugs to convert files for the IPOD. People who are cheap, kids with no money and people who are just plain gullably.
    A little research and downloading a trial from this site would have solved your video problems early on;
    http://www.divmm.com/
    The 5th Gen IPOD was designed to support video content that was purchased on the ITunes web site. For everything else, you are on your own.

  • New Videora Converter Questions

    Hi, I have the dvd decrypter and the videora converter. I have had success in one of the movies I put on there. (Shrek 2) However when I want to put longer movie on, it says at the beginning of the decryption that I have like 51,548,000 kb of free space but when it gets down to 46,000,000 kb it says Not enough free space on disk? Can someone please explain to me what that means and how maybe I can get more space for my movies. I have one problem with the ipod converter as well, it sometimes goes to like 22 hours remaining. Does anyone know why it does that? lol The last thing is, when I put "The Forgotten" on my computer, for some reason, it put the "director's Commentary" on the movie. Does anyone know what is wrong with that? lol I seem to have a lot of problems but I'm getting the hang of it! Please answer back..Thanks
    Gateway   Windows XP  

    Known bugs (Stuff that don't work) posted on the Videora web site for all to read prior to installing:
    Known Bugs
    Audio/Video sync
    Problem - Output files can be out-of-sync. While no set pattern has been established, it seems to be more frequent with input files of 23.976 fps, non-DVD rips, and WMV/MPG filetypes.
    Workaround solutions - Try the custom option '-async 1'. If the disconnect gradually increases over time, setting 29.97 fps sometimes gets rid of the problem regardless of the input fps. You can also use AviSynth to assume the FPS and have the audio sync to that. If it's a sudden disconnect, check your VOB Cell settings in DVD Decrypter settings per this thread. Otherwise, test with an AviSynth script per the DaProphecy's method in the FAQ. For non-DVD files, PSPVideo 9 may be a good short-term solution until the converter stabilizes some more or try something like AviDemux.
    Audio track not getting picked up
    Problem - The IFO stream rip is fine, but the converted file has no sound. The debug info showed to audio track getting picked up. The most obvious case with this is the Madagascar DVD.
    Workaround solution ideas - Test with an AviSynth script per the DaProphecy's method in the FAQ (untested). Use a different DVD ripper.
    Program doesn't start (.NET issue?)
    Problem - Converter errors upon starting with an extended dump.
    Solution ideas - Update .NET framework (in all languages you're using!) to most recent solution. Clean out registry. Neither of these have worked for some.
    Progress meter incorrect
    Problem - During transcodes, the progress meter can be incorrect; thus, transcoding continues after the meter hits 100% and time remaining is zero. People have been seeing this more often with VOB files and/or the H.264 codec.
    Workaround - Figure out the length of your movie in seconds and compare that to the 'Processed' field. A 2-hour movie will not finish until Processed hits 7200 seconds.
    Artifacts (bad video quality) in darker scenes
    Problem - Scenes with darker background colors tend to have more artifacts (blocked video). It's much more obvious on the iPod, so this may be an Apple firmware problem.
    Workaround ideas - Use a VBR setting (FQ->VBR, two-pass A->VBR) to improve video quality. The custom option '-mbd 2' might help.
    Desktop icon
    Problem - When installing, the desktop icon does not appear/stick when using lower color setups.
    Workarounds - Select a 32-bit color scheme in your desktop settings, or change the icon in the shortcut.
    Profile changes don't always stick
    Problem - If you make a change to a profile, click apply, and immediately trancdoe with that profile, the transcode might not use the new settings.
    Workarounds - Once you click apply, swtich to another profile and back again to make sure the change is still there. If that doesn't work, create a new profile.
    Can only install/use with admin rights
    Problem - There have been reports of non-admin users not being able to use the converter.
    Workarounds - Separate installs or give all users admin rights.
    When will known bugs get fixed? When will new features get added?
    The textbook answer is "whenever they get fixed/added." My honest, direct answer is "I don't know." I am not officially associated with Videora or any of its employees. I only have mod rights because I asked for them in order to organize this forum a bit.

  • Probleme changing the value of a variable in movieclip from my scene

    Hello,
    i have a probleme changing the value of a variable in movieclip from my scene. i explain: I have combobox on my scene containing categories, and in the scene i load an xml file containing links to php files that work with the combobox.
    Also on the scene i have a movieclip "filmstrip", inside this movieclip on the first frame i have a script loading the php file selected in the scene . i use a load() function with a variable "theUrl" inside like this : T.load(theUrl);.
    In my scene i want to change the value of "theUrl" inside the movieClip filmstrip. I tried filmstrip.theUrl = url; But it doesnt work
    the xml file
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <slideshow>
    <area title1="10 Last updated" link1="link1.php"/>
    <area title1="special" link1="link2.php"/>
    </slideshow>
    here is the code on my scene:
    var link1:Array = new Array();
    var LINK:String;
    var url:String;
    var whoOn:Number;
    whoOn=0;
    var x:XML = new XML();
    x.ignoreWhite = true;
    x.onLoad = function(success) {
    var photos:Array = this.firstChild.childNodes;
    for (i=0; i<photos.length; i++) {
    _root.link1.push(photos[i].attributes.link1);
    url=link1[whoOn];
    filmstrip.theUrl=url;//<<--HERE
    x.load("category.xml");
    var cbListener:Object = new Object();
    cbListener.change = function(event_obj:Object) {
    trace(select.selectedItem.label);
    if (select.selectedItem.label == "Last updated") {
    whoOn=0;
    } else if (select.selectedItem.label == "Special") {
    whoOn=1;
    url=link1[whoOn];
    filmstrip.theUrl=url; //<<-----HERE  
    select.addEventListener("change",cbListener);
    here is the code inside the movie clip "filmstrip"
    var T:XML = new XML();
    T.ignoreWhite = true;
    T.onLoad = function(xml) {
    etc etc etc }
    T.load(theUrl);    //<<---HERE it still undefined

    YESSSS . Thanks you very much Kglad it wotk i put all in a function inside the filmstrip function Tload(theUrl){etc ect}and in the root i call it like this filmstrip.Tload(theUrl);   and it works
    code in the root var link1:Array = new Array();
    var LINK:String;
    var url:String;
    var whoOn:Number;
    whoOn=0;
    var x:XML = new XML();
    x.ignoreWhite = true;
    x.onLoad = function(success) {
    var photos:Array = this.firstChild.childNodes;
    for (i=0; i<photos.length; i++) {
    _root.link1.push(photos[i].attributes.link1);
    url=link1[whoOn];
    theUrl=url;
    filmstrip.Tload(theUrl);//<<--HERE
    x.load("category.xml");
    var cbListener:Object = new Object();
    cbListener.change = function(event_obj:Object) {
    trace(select.selectedItem.label);
    if (select.selectedItem.label == "Last updated") {
    whoOn=0;
    } else if (select.selectedItem.label == "Special") {
    whoOn=1;
    url=link1[whoOn];
    theUrl=url;
    filmstrip.Tload(theUrl);//<<-----HERE
    select.addEventListener("change",cbListener);

  • I just installed the latest Security update and now I can't open iPhoto. I keep getting a message that it quit unexpectedly because of a problem with the scene kit plugin. I have no access to my photos.

    I just installed the latest security update and now I cannot access iPhoto. I keep getting a message that it quit unexpectedly due to some conflict with the Scene Kit plugin.
    I'm using a Macbook Pro  Mavericks Version 10.9.5

    Probably the reboot used to log into the Guest account and then your account again fixed the problem.  If often will.

  • When I make a project in iDVD'09, there are sometimes green blocs with points flickering in some scenes of my iMovie-film. In iMovie there is no problem with this film, but the problem begins by exporting to iDVD and making a project there.

    When I make a project in iDVD'09, there are sometimes - at voluntary moments - green blocs with points flickering in some scenes of my iMovie-film.
    In i-Movie there is no problem with  this film, but the problem begins by exporting to iDVD and making there a project.
    Who can help me, then I cann't find everything about this in any forum?

    Hi
    Can be a problem that get multiplied and visible when iDVD encode for DVD.
    A. See if problem can be isolated to a single frame in the movie and re-import this clip and see if it's better
    B. When free space on Start-Up hard disk goes low - strange things like this might occure. I never go under 25Gb free space on this Start-Up Mac OS hard disk !
    C. Does this problem arises what ever encoding quality You use ?
    Yours Bengt W

  • Problems coding a button within a movie clip to navigate scenes

    Hello there! I've got another probably noobish question to ask about CS6.
    My goal is very similar to the one mentioned in this previously discussed forum question: http://forums.adobe.com/message/837995#837995 and also in this question http://forums.adobe.com/message/4172919#4172919
    I am attempting to make a button inside a movie clip in my first scene go when clicked to the first frame of my second scene. I named the button's instance menu_button_1 and I believe Scene 1 and Scene 2 are the names of the scenes. (If they should have special names or instance names, I did not see where to type them.) Because of the similarities, I attempted to follow the suggestions on those pages. However I probably did some small thing wrong, (Or heck, maybe a huge thing.) which I what I'd like help with to find.
    stop();
    myButton.addEventListener(MouseEvent.CLICK, clickHandler);
    function clickHandler(evt:MouseEvent):void {
    gotoAndStop(1, "Scene 1");
    This seemed to be what was suggested to enter. I attempted to modify it to work for me as well. This is what I typed for the button's action.
    menu_button_1.addEventListener(MouseEvent.CLICK, clickHandler);
    function clickHandler(evt:MouseEvent):void {
    gotoAndPlay(1, "Scene 2");
    (I removed the stop function because I have music looping in the movie clip that I want to play until the mouse is clicked.) (Also, I picked gotoandplay because I wanted scene 2 to start playing immediately when clicked rather than stopping.)
    I tried variations, including "2" instead of "scene 2" and whatnot. I also tried linking it to differnet places just to see if that would work. It seems like it could link if I only asked for a frame within the movie clip itself, but it couldn't go to any other frames in scene 1 or scene 2. When I attempt, this message is displayed in the output:
    ArgumentError: Error #2108: Scene 2 was not found.
        at flash.display::MovieClip/gotoAndPlay()
        at interactivestgermant_fla::menu_1/clickHandler()
    It seems it cannot find my Scene 2. (It also cannot seem to find Scene 1 when I prompt it to do that.) I'm afraid I'm not sure of what I've entered incorrectly, though I'd imagine it involves how I typed the scene navigation. Should it have an instance name or something? I'd very muchappreciate a push in the right direction. If you need any more info I'll be happy to provide it. Thanks for the help! I very much appreciate it.

    I bet you're absolutely right. However I am not sure how I am misnaming it, as to my ametuer eyes, it seems to be entered properly into the properties box? It does show up as "menu" written in white over the keyframes and also in the properties slot. I can include some images here to help out in correcting me.
    http://girlfoxgirl.deviantart.com/art/Flash-Help-1-395704638   This image shows my movie clip. This seems to be the problem it's having, identifying "menu." Did I do that incorrectly? It looks to be in order.
    http://girlfoxgirl.deviantart.com/art/Flash-Help-2-395704633 This is inside of the movie clip named menu. You can see I did the same to name the button menu_button_1.
    http://girlfoxgirl.deviantart.com/art/Flash-Help-3-395704627   This shows the action I gave to menu_button_1 in which I attempt to have it naviagte to Scene 1 frame 493.
    http://girlfoxgirl.deviantart.com/art/Flash-Help-4-395704623  This shows where I'd like the button to go to. (It is hard to tell if that's frame 493 or 492. I figured that it should be ok either way and if this frame is 492 then it's easily changed once I get the darn thing working in general) (Also, I named the layer "peanuts." I tired entering the name "peanuts" as well but it didn't seem to work either, so I figured "493" is easier since I know that you can go to a specific frame by doing gotoandplay("scene 1" , #) and I'm not sure if it requires any additional stuff to go to a name.
    http://girlfoxgirl.deviantart.com/art/Flash-Help-5-395704687    These are the errors I get. I totally agree with you- It seems very much to be an issue of getting it to recognize the "menu." However I am unsure where I named something wrong. Is this enough info to help you perhaps point out where that is?

  • IDVD 08 - problem with scene selection tabs not working after "burn"

    I have a movie that is about an hour long (made in iMovie08 using mostly still photos). I wanted to have "chapters" -- but with that option gone, I used the Scene Selection option in iDVD08. This created menus with 15 scene selection buttons (I chose every 4 minutes). The menus were automatically created by iDVD and I did nothing to change them, except to type in scene info (two-three words).
    The buttons all worked fine on the computer, and I burned a DVD. The DVD worked great in my VCR player. I'd select Play Movie and it would go. I'd select Scene Selection and I'd get the menus for that. But when I'd highlight one of the scene selections and "enter" (select) -- it wouldn't go to that scene. I could go back and forth between menus, and could move around and highlight the scene buttons, but selecting would not start the scene to play. The movie played fine from start to finish, and the other remote features worked (stop, pause, menu, etc.).
    I went back to iDVD and chose a different theme (thinking maybe I'd inadvertently done something to mess things up. The only thing I did differently in addition to the new theme, was to add two small movie clips - and I rearranged the buttons on the menu (dragging) to get them positioned where I wanted them. So my first menu says "Play Movie". The second menu has: Play Movie, Scene Selections, Little Movie 1, Little Movie 2. Everything worked greated in iDVD. Then I created a disk image to view using DVD Player (rather than waste another DVD). Same problem -- only worse. This time I couldn't even highlight Scene Selection to get to the scenes' menus.
    Any thoughts on why I'm not able to get the "Scene Selection" buttons to work after a burn? Am I missing a step somewhere in iDVD?
    Thanks.

    I am not sure, but does your post concerning the problem, that all Remote Control function will work properly within iDVD'08 but after burning the DVD absolutely not with the RC of your set top DVD player connected to your TV?
    If this is it:
    Meanwhile I could figure out - after many nights of not been very productive and only working out on all the iDVD'08 problems - that **ALL** of the *7.0 Themes* have a major problem in generally.
    The following points are concerning iDVD'08 using any of the 7.0 Themes:
    - Complete deep freeze of your Mac under Leopard when rendering/coding/burning a movie which has chapters and you use movies instead of still images in drop zones. (LeopardiDVD087.0Themes)
    - Functions on remote control of your set top DVD player are not working correctly when making a movie with chapters. This is generally on Tiger and Leopard the same problem using iDVD08 with any of the 7.0 Themes.
    Quick and dirty workaround:
    You may avoid this if you simply use a 6.0 Theme or lower version of the Themes.
    But this is of course not the clue...
    It is VERY DISAPPOINTING, having software at such a low quality level deliverd by Apple. And somehow it looks like they DO NOTHING against it. No statement, no excuse, they really remain silent.
    This may also be a thread you could be interested in:
    http://discussions.apple.com/thread.jspa?threadID=1203323
    Cheers,
    Roland

  • Problem with Scene navigation

    I am using Flash 8 to develop mobile applications for Nokai
    6600. I have three scenes in my FLA file and i am using the
    navigation keys to navigate to the scenes. When I test my
    application in the emulator, the first and second scenes are
    working properly, but the third scene is not coming, when i press
    the next button in the second scene. Instead the second scene is
    replaying. Could any one help me in this problem?.

    Hi Thomas,
       First of all could you tell me r u working in central portal or locally installed portal - becose we had the same problem because of local portal installation.
    DATA: ls_hrobject TYPE hrobject.
      FIELD-SYMBOLS: <event_data> TYPE hrobject.
      DATA: bo TYPE string.
      DATA: wa_key_value TYPE powl_namevalue_sty , "lso_key_value_s,
            it_key_value TYPE powl_namevalue_tty, "lso_key_value_t,
            it_key_value_table TYPE wdy_key_value_table.
      DATA: operation TYPE string.
             bo = 'ZTEST123' .
             operation     = 'Display3' .
    *  READ TABLE event_parameters INTO ls_params WITH KEY key = 'SEGMENT_NAME'.
      wa_key_value-key = NAME'.
      wa_key_value-value = LV_CONTENT.
      APPEND wa_key_value TO it_key_value.
      CLEAR:wa_key_value.
      wa_key_value-key = 'PURCHASE_ORDER'.
      wa_key_value-value = lv_test.
      APPEND wa_key_value TO it_key_value.
      CLEAR:wa_key_value.
    DATA LO_API_COMPONENT  TYPE REF TO IF_WD_COMPONENT.
    DATA LO_PORTAL_MANAGER TYPE REF TO IF_WD_PORTAL_INTEGRATION.
    LO_API_COMPONENT = WD_COMP_CONTROLLER->WD_GET_API( ).
    LO_PORTAL_MANAGER = LO_API_COMPONENT->GET_PORTAL_MANAGER( ).
    CALL METHOD lo_portal_manager->NAVIGATE_TO_OBJECT
        EXPORTING
          system                 = 'ABC'
          object_type            = bo
          operation              = operation
    *      object_value_name      = navigation_data-object_value_name
    *      object_value           = navigation_data-object_value
          business_parameters    = it_key_value.
    *      forward_obn_metadata   = navigation_data-forward_obn_metadata.
    Regards
    Sathish

  • Problem scene builder xchart or areachart FXML

    Hi.
    Always when I use xchart or AreaChart FXML is not possible execute in Netbeans. But scene builder the preview is ok. The error is:
    Abr 13, 2012 4:22:19 PM javafx.fxml.FXMLLoader logException
    Grave: java.lang.UnsupportedOperationException
    /C:/Landis/Landis%202011/TC65/1-Desenvolvimento/candidate/C750ConfigGW/build/classes/c750configgw/layouts/CenterDashBoard.fxml:208
    at java.util.AbstractMap.put(AbstractMap.java:203)
    at com.sun.javafx.fxml.builder.XYChartBuilder.put(Unknown Source)
    at com.sun.javafx.fxml.builder.XYChartBuilder.put(Unknown Source)
    at javafx.fxml.FXMLLoader$Element.applyProperty(Unknown Source)
    at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(Unknown Source)
    at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(Unknown Source)
    at javafx.fxml.FXMLLoader$ValueElement.processStartElement(Unknown Source)
    at javafx.fxml.FXMLLoader.processStartElement(Unknown Source)
    at javafx.fxml.FXMLLoader.load(Unknown Source)
    at javafx.fxml.FXMLLoader.load(Unknown Source)
    at javafx.fxml.FXMLLoader.load(Unknown Source)
    at javafx.fxml.FXMLLoader.load(Unknown Source)
    at javafx.fxml.FXMLLoader.load(Unknown Source)
    at javafx.fxml.FXMLLoader.load(Unknown Source)
    at javafx.fxml.FXMLLoader.load(Unknown Source)
    at c750configgw.C750ConfigGW.carregaLayoutCenter(C750ConfigGW.java:123)
    at c750configgw.controllers.TopController.actionBotDashboard(TopController.java:45)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(Unknown Source)
    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
    at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
    at javafx.event.Event.fireEvent(Unknown Source)
    at javafx.scene.Node.fireEvent(Unknown Source)
    at javafx.scene.control.Button.fire(Unknown Source)
    at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(Unknown Source)
    at com.sun.javafx.scene.control.skin.SkinBase$4.handle(Unknown Source)
    at com.sun.javafx.scene.control.skin.SkinBase$4.handle(Unknown Source)
    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
    at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
    at javafx.event.Event.fireEvent(Unknown Source)
    at javafx.scene.Scene$MouseHandler.process(Unknown Source)
    at javafx.scene.Scene$MouseHandler.process(Unknown Source)
    at javafx.scene.Scene$MouseHandler.access$1600(Unknown Source)
    at javafx.scene.Scene.impl_processMouseEvent(Unknown Source)
    at javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
    at com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
    at com.sun.glass.ui.View.notifyMouse(Unknown Source)
    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
    at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:722)
    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
         at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(Unknown Source)
         at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
         at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
         at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
         at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
         at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
         at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
         at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
         at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
         at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
         at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
         at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
         at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
         at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
         at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
         at javafx.event.Event.fireEvent(Unknown Source)
         at javafx.scene.Node.fireEvent(Unknown Source)
         at javafx.scene.control.Button.fire(Unknown Source)
         at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(Unknown Source)
         at com.sun.javafx.scene.control.skin.SkinBase$4.handle(Unknown Source)
         at com.sun.javafx.scene.control.skin.SkinBase$4.handle(Unknown Source)
         at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
         at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
         at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
         at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
         at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
         at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
         at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
         at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
         at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
         at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
         at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
         at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
         at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
         at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
         at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
         at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
         at javafx.event.Event.fireEvent(Unknown Source)
         at javafx.scene.Scene$MouseHandler.process(Unknown Source)
         at javafx.scene.Scene$MouseHandler.process(Unknown Source)
         at javafx.scene.Scene$MouseHandler.access$1600(Unknown Source)
         at javafx.scene.Scene.impl_processMouseEvent(Unknown Source)
         at javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
         at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
         at com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
         at com.sun.glass.ui.View.notifyMouse(Unknown Source)
         at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
         at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
         at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:722)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:601)
         ... 50 more
    Caused by: java.lang.UnsupportedOperationException
         at java.util.AbstractMap.put(AbstractMap.java:203)
         at com.sun.javafx.fxml.builder.XYChartBuilder.put(Unknown Source)
         at com.sun.javafx.fxml.builder.XYChartBuilder.put(Unknown Source)
         at javafx.fxml.FXMLLoader$Element.applyProperty(Unknown Source)
         at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(Unknown Source)
         at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(Unknown Source)
         at javafx.fxml.FXMLLoader$ValueElement.processStartElement(Unknown Source)
         at javafx.fxml.FXMLLoader.processStartElement(Unknown Source)
         at javafx.fxml.FXMLLoader.load(Unknown Source)
         at javafx.fxml.FXMLLoader.load(Unknown Source)
         at javafx.fxml.FXMLLoader.load(Unknown Source)
         at javafx.fxml.FXMLLoader.load(Unknown Source)
         at javafx.fxml.FXMLLoader.load(Unknown Source)
         at javafx.fxml.FXMLLoader.load(Unknown Source)
         at javafx.fxml.FXMLLoader.load(Unknown Source)
         at c750configgw.C750ConfigGW.carregaLayoutCenter(C750ConfigGW.java:123)
         at c750configgw.controllers.TopController.actionBotDashboard(TopController.java:45)
         ... 54 more
    Exception in thread "JavaFX Application Thread"
    Someone have the same problem?

    Hi,
    I suspect that the JavaFX version SceneBuilder is using and the JavaFX version your app runs on in NetBeans are different.
    You may want to try using JavaFX 2.2 developer preview available from here: http://www.oracle.com/technetwork/java/javafx/downloads/devpreview-1429449.html.
    - daniel

  • Scene Selection Menu Page Problem

    I just installed iLife 06 on my computer, updating me from iLife 05. When I opened an old project with iDVD and selected a new theme page(s), "Refection White Chapters" the scenes in the preview scrolled out of order. Instead of going from left to right they went diagonally; not in the sequence they were set. That doesn't seem right.

    Don;t know how to fix your problem, but I never upgrade in the middle of iMovie/iDVD projects.....

  • **URGENT** Scene button problem!

    Why my 'maps' and 'video' buttons do not play the movie? I use this code:
    on(release){gotoAndPlay("play");}
    I have labelled "play" in other scene, but it does not play the movie!
    I have tried this code:
    on(release){gotoAndPlay("Scene 36", "play");}
    Still, it does not work as well! I got deadline this week, so I need your help ASAP!
    I got other button problems on every scene! It's frustrating!
    Please download my flash file to look at my flash product!
    http://www.4shared.com/file/24177440...6d/Maps_1.html

    Nope it doesn't work , I got my deadline this week and if you got a spare time, would you please download my flash and check and repair it please! Only two buttons need refitting and nothing else! I asked my teachers, they tried their best and couldn't find what the problem is. I looked through other forum website, I tried the solutions and it doesn't work! I am really behind as there are many failure in my project! This is my first flash creation.

  • Scene appearance problem

    Hi, all
    I built some polyhedrons using IndexedTriangleArray, the normal for each
    vertex point is (0.0, -1.0, 0.0). I used the following code to set the
    appearance:
    PolygonAttributes pa = new PolygonAttributes();
    pa.setCullFace(PolygonAttributes.CULL_NONE);
    pa.setBackFaceNormalFlip(true);
    Appearance app = new Appearance();
    app.setPolygonAttributes(pa);
    I also applied the lights and MouseZoom to my TransformGroup object using
    the following code:
    //add AmbientLight and DirectionalLight to objScale
    AmbientLight lightA = new AmbientLight(new Color3f(0.2f,0.2f,0.2f));
    lightA.setInfluencingBounds(new BoundingSphere());
    objScale.addChild(lightA);
    DirectionalLight lightD1 = new DirectionalLight();
    lightD1.setInfluencingBounds(new BoundingSphere());
    Vector3f direction = new Vector3f(0.0f, -1.0f, 0.0f);
    direction.normalize();
    lightD1.setDirection(direction);
    lightD1.setColor(new Color3f(0.0f, 1.0f, 0.0f));
    objScale.addChild(lightD1);
    MouseZoom behavior2 = new MouseZoom();
    behavior2.setTransformGroup(objScale);
    objScale.addChild(behavior2);
    behavior2.setSchedulingBounds(bounds);
    Now my trouble is, if I keep zooming in, I can not see some sides of the
    polyhedrons. It seems that the normals changed. I do not have this trouble
    if I keep zooming out. I am not sure if this is normal, lighting, or appearance
    problem.
    Any help will be highly appreciated.
    Gaoming

    gaoming,
    It's unlikely your normal orientation has changed.
    The Java3D API Specification, Appendix E, Equations, specifies that lights do not illuminate the "back sides" of surfaces, i.e. if the dot product of the vertex normal and the unit vector from the vertex to the light is negative.This leaves the back sides of meshes dark.
    Since you state that the problem is only for "some" of the polygons while zooming, I assume we're not talking about a clipping plane issue here.
    So put two directional lights in the scene, pointing in opposite directions.
    You have one already:
    DirectionalLight lightD1 = new DirectionalLight();
    lightD1.setInfluencingBounds(new BoundingSphere());
    Vector3f direction = new Vector3f(0.0f, -1.0f, 0.0f);
    direction.normalize();
    lightD1.setDirection(direction);
    Now create another thusly:
    DirectionalLight lightD2 = new DirectionalLight();
    lightD2.setInfluencingBounds(new BoundingSphere());
    direction.negate();
    lightD2.setDirection(direction);
    This may solve your problem, provided that your mesh has been generated correctly.
    Jim

Maybe you are looking for