Not sure if this is a code issue

Hello
I've had a fair bit of help from this and another forum to get my code working. Thanks to everyone.
Basically I've created a screensaver randomly selecting one of eight images registered as Movie Clips.
The issues that I have found are that the playing of the movie does not always work properly, ie it stops on a fade in or fade out.
The latest version I have is that if I create the swf and html file from my Virtual Machine (XP) at work the movi runs fine on my home (Vista) machine.
If I try and create these files from my home machine the test (Ctrl + Enter) freezes and also if I play the swf file that also freezes, the html file runs fine.
I had this also happen on the other way round on a previous version, things would stop on the Virtual Machine but when I copied the files to my home machine all worked fine.
Does anyone have any thoughts on this?
I've listed the full code below on what I am running.
Paul
import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;
import flash.events.TimerEvent;
import flash.utils.Timer;
import flash.utils.setTimeout;
var mc0:mcClip0 = new mcClip0(); // each mc is associated with its' own class, whose base class is MovieClip();
var mc1:mcClip1 = new mcClip1();
var mc2:mcClip2 = new mcClip2();
var mc3:mcClip3 = new mcClip3();
var mc4:mcClip4 = new mcClip4();
var mc5:mcClip5 = new mcClip5();
var mc6:mcClip6 = new mcClip6();
var mc7:mcClip7 = new mcClip7();
var mcList:Array = new Array (mc0, mc1, mc2, mc3, mc4, mc5, mc6, mc7);
var imgCount:uint = 8;
var currentImage:uint = 0;
var myTimer:Timer = new Timer(1500, 1);
addChild(mcList[currentImage]);
mcLogoStart();
myTimer.addEventListener(TimerEvent.TIMER_COMPLETE, timerHandler);
function mcLogoStart():void{
    mcList[currentImage].x= Math.floor(Math.random()  * (stage.stageWidth-400))  + 200;
    mcList[currentImage].y= Math.floor(Math.random()  * (stage.stageHeight-400))  + 200;
    var mcLogoTween:Tween = new Tween(mcList[currentImage], "alpha", None.easeIn, 0, 1, 2, true);
    mcLogoTween.addEventListener(TweenEvent.MOTION_FINISH, freezeImage);
function freezeImage(e:TweenEvent):void{
    if(mcList[currentImage].alpha==1){
        myTimer.start();
    if(mcList[currentImage].alpha==0){
        currentImage=Math.floor(Math.random()  * (imgCount-1))  + 1;
        addChild(mcList[currentImage]);
        mcLogoStart();
function timerHandler(e:TimerEvent):void{
    mcLogoFinish();
function mcLogoFinish():void{
    var mcLogoTweenOut:Tween = new Tween(mcList[currentImage], "alpha", None.easeOut, 1, 0, 2, true);
    mcLogoTweenOut.addEventListener(TweenEvent.MOTION_FINISH, freezeImage);

for example:
import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;
import flash.events.TimerEvent;
import flash.utils.Timer;
import flash.utils.setTimeout;
var mc0:mcClip0 = new mcClip0(); // each mc is associated with its' own class, whose base class is MovieClip();
var mc1:mcClip1 = new mcClip1();
var mc2:mcClip2 = new mcClip2();
var mc3:mcClip3 = new mcClip3();
var mc4:mcClip4 = new mcClip4();
var mc5:mcClip5 = new mcClip5();
var mc6:mcClip6 = new mcClip6();
var mc7:mcClip7 = new mcClip7();
var mcList:Array = new Array (mc0, mc1, mc2, mc3, mc4, mc5, mc6, mc7);
var imgCount:uint = 8;
var currentImage:uint = 0;
var myTimer:Timer = new Timer(1500, 1);
addChild(mcList[currentImage]);
mcLogoStart();
myTimer.addEventListener(TimerEvent.TIMER_COMPLETE, timerHandler); var mcLogoTween:Tween;
function mcLogoStart():void{
    mcList[currentImage].x= Math.floor(Math.random()  * (stage.stageWidth-400))  + 200;
    mcList[currentImage].y= Math.floor(Math.random()  * (stage.stageHeight-400))  + 200;
    mcLogoTween = new Tween(mcList[currentImage], "alpha", None.easeIn, 0, 1, 2, true);
    mcLogoTween.addEventListener(TweenEvent.MOTION_FINISH, freezeImage);

Similar Messages

  • I am not sure if this is a Firefox issue or Yahoo, but I am trying to transfer a picture from an obit to a Yahoo group and I can't get it to move over, it either comes up with a url or logo words. Am I missing something?

    I am not sure which issue this falls under. I am posting obits to a yahoo group and when there is a picture or flag it won't transfer over. I am not sure what to do to correct this.

    Nope, though it did allow me to get some missing songs back onto my iPod. That's something. But neither "Back in Black" or "Dirty Deeds" show up anywhere on the Touch. Could this be because iTunes has no deal with AC/DC?
    Quite frankly, at this point, I'd really rather not have the "ease of use" of iCloud attached to the iPod. It's not like I change my playlists that much. It would just be nice to get what I want onto my MP3 player. Not sure which one it was: iCloud, Music Match or the Air Port but the only real result of all the $ I plunked down is seeing all of my Wife's 231 Christmas songs popping up on my laptop. Really don't want them here. She SURE AS **** is sick of seeing all of my stuff on her computer.
    Thanks again.
    B.

  • I'm not sure if this is a Firefox issue, but in the last week or so, whenever I do a search on Google or Bing, when I click on one of the results, I get redirected to a site like Tazinga!, instead of taking me to my destination.

    For example, I did a search on Google for :
    "resume have summary and objective - Google Search"
    It returned several options. I clicked on :
    "Summary and Objective statements | Magic Pot of Jobs (http://www.magicpotofjobs.com/2005/07/30/summary-and-objective-statements/)
    And instead ended up at:
    http://www.gimmeanswers.net/search/v5_1/searchabc.php?search=Resume+Have+Summary+And+Objective&affiliate=mx1-33371
    This has been occurring with almost every search I do.

    Do a malware check with some malware scan programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of the database before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

  • Not sure if this a Time Machine issue or not... Please help!

    So I updated my iMac to Snow Leopard. I went from about 186GB to about 205GB AFTER I installed SL.
    Then I did my first back up in TM after the install and I noticed something funny...
    The space of my Mac HD was getting smaller and smaller as the back up was going.
    I have a 1TB external drive I designated for TM and this back up was there when it was finished.
    Now, since doing that backup and I think one or two since, the space on my Mac HD is down to 190 or around 188.
    I have NOT installed hundreds of pictures, movies. I didn't really change anything much.
    I noticed this change while TM was doing its thing. I can't account for anything else that may have caused it.
    I reset Safari, clear logs and caches using Terminal.
    It seems like the space is still going down a little here and there even when I'm not really using Safari or anything. And I mean just a little.
    But that first drop was significant! I want that space back!
    Any suggestions?!
    Thanks!
    Robert

    There's a possibility that your TM drive got disconnected at just the wrong time, and TM started putting your backups in the hidden /home directory of your internal disk.
    Click here to download the +Tinker Tool+ app. It allows you to change the Finder to show hidden files (among many other things). Select the first option under Finder, then click +Relaunch Finder+ at the bottom. Reverse this when done.
    Do not use any of the other options unless you know the possible consequences.
    Open a Finder window to your internal HD. Look for the /Home directory. It should be zero kb, and have no contents.
    If, however, it contains a folder named the same as your TM drive/partition, containing a Backups.backupdb folder, that's what's happened. Delete the folder named the same as your TM drive (it may contain many files and take a very long time).

  • Not sure if this is a mac issue or yahoo issue.  I cannot veiw pictures sent through email from a friends ipad.

    I am having trouble viewing pictures through e-mails sent from a friends ipad to my imac.  Where picture should be is a blue ? mark.  Can anyone help. 

    Are you really using a G3, if so you're on the wrong forum. This forum is for Intel based machines. If you have updated you may want to update your profile, here is a link to tips on how to do that: Profile Update
    However regardng the photo's you aren't providing any infomraiton, such as what mail tool is being used. Please provide more details and someone may be able to help you out. If you have a newer iMac remember OS X no longer has Flash installed so you may need to go to Adobe's website and download Flash..

  • I'm having issues loading Youtube on my MacBook Pro for about a week now.  I'm not sure if this is because of my computer or internet but my sister's PC loads Youtube completely fine.  Can someone help me figure this out?

    I'm having issues loading Youtube on my MacBook Pro for about a week now.  I'm not sure if this is because of my computer or internet but my sister's PC loads Youtube completely fine.  Can someone help me figure this out?

    Hi, I had been having the same problem for over a week, but both my window's HP and my 2011 macbook pro barely could load youtube.  What kind of router you have?  I was using a belkin play router that was only 8 months old, switched to a new AirPort Extreme Base Station and now everything works perfect.

  • All my photos in the iphoto have disappeared, not sure if this related to any iphoto upgrade or other issue, tried to find the photos through the finder (JPG or photo) but failed, can you help me to get back my photos please?

    All my photos in the iphoto have disappeared, not sure if this related to any iphoto upgrade or other issue, tried to find the photos through the finder (JPG or photo) but failed, can you help me to get back my photos please?

    Help us to help you: There are 9 different versions of iPhoto and they run on seven different versions of the Operating System. The tricks and tips for dealing with issues vary from version to version and OS to OS. So before anyone can help, they need information to work with. Basic stuff:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. What were you doing when the problem arose?
    - Did it ever work properly?
    - Are there error messages?
    - What steps have you tried already to solve the issue.
    Anything else you can think of that might allow someone else to understand your issue.
    With this kind of information somebody can develop a starting point for troubleshooting the issue.
    Posts that consist of "iPhoto doesn't work. Help" or "iPhoto won't print" or "Suddenly I have no photos!!!!!!!!!!" mean that any helper is simply guessing. More information means you get better assistance. (And no, more exclamation marks do not get help faster or make your issue seem urgent. They just make it seem like you have a stuck key )

  • Even after adding the country code i can't seem to make any international calls.im not sure if this is relevant but apparently, the option dial assist is not to be found on my setting.pls direct me...thank you.and my phone moddle is 5s(A1457)gold

    even after adding the country code i can't seem to make any international calls.im not sure if this is relevant but apparently, the option dial assist is not to be found on my setting.pls direct me...thank you.and my phone moddle is 5s(A1457)gold  eddition.

    Hi, Thilina66.  You say you have entered the country code but still cannot make international calls.  I suppose you are adding the international access code before the country code.  This internaltional access code (011 in the US, 00 in Europe, etc.) can be substituted by adding a + sign before the country code.
    For example, to call a number in the UK from the US you have to dial:
    011 44 7540 267898
    or
    +44 7540 267898
    To call a number in the US from the UK you have to dial:
    00 1 212 456 1470
    or
    +1 212 456 1470
    Please check that the contact number in your address book is correctly written if you are dialing directly from the address book or that you enter the correct numbers in the keyboard if you are dialing from the keyboard.

  • HT1595 i can't see my apple tv on my screen? i'm not sure if this is an apple tv issue or a tv setup issue? (although it appears nothing has changed on my tv setup since the last time i used it?)

    i can't see apple tv on my screen? i'm not sure if this is an apple tv issue or a tv setup issue? (although it appears nothing has changed on my tv setup since the last time i used it?)

    As far as the flashing question mark and globe icons are concerned, your computer had lost track of its startup volume and was searching through the possibilities. The globe icon indicates that it is looking for a network to start from and the question mark indicates that it is looking for an OS X volume. To fix this, if you haven't already, go to System Preferences > Startup Disk and reselect your internal HD as the startup volume.
    From what you have described, this issue does seem to have corrected itself, and the faster start up is what one would normally expect. I think that you have absolutely no reason to reinstall your system.

  • Recently, iPhoto will no longer allow my to export photos onto my folders on my desktop. It just says that it is unable to create file. Not sure why this is happening?

    iPhoto is no longer allowing me to export & resize photos into a file on my desktop. It just states that it is Unable to create file on desktop. I'm not sure what this means on how to correct this issue. Any support would be greatly appreciated!

    Then do the following:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Select the options identified in the screenshot.
    If Fix #1 fails to help continue with:
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download IPhoto Library Manager 4 for OS XC 10.6.8 and iPhoto  8.1.2 and later  or iPhoto Library Manager 3 (for OS X 10.5.8 and iPhoto 7.1.5 and earlier) and launch.
    Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu (iPLM 3) or Library ➙ Rebuild Library menu (iPLM 4) option.
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.

  • Not sure if this is my phone or network that's the problem, but I keep getting messages saying I don't have any voicemails. Any help to make it stop will be appreciated!!

    I'm not sure if this is an issue with my phone or with Vodafone, but I am getting a message every minute to tell me I don't have any voicemails. I'm pretty sure it's not spam as it comes from my normal voicemail number and doesn't show as multiple messages. Any help would be greatly appreciated as it's driving me mental!!

    voicemail is a carrier feature, not an Apple feature, contact your carrier.

  • Crackling audio (not sure if this is the "same" problem)

    I have been experiencing crackling audio under certain circumstances with my Soundblaster X-Fi XtremeMusic. I am no audio expert, but it seems to me that the problem occurs when multiple?"types" of audio are played at the same time. For example, in a game, when voices are played over pre-existing background music, the audio on the voices will get crackly and staticky. This is recreatable in GTA4; that game uses a third-party interface (Microsoft Li've) to track game progress and post updates inside of the game. The game's internal audio is fine, but any sounds "inserted" into the game by Microsoft Li've will be all crackly because they seem to be "competing" with the existing sound effects from the game. It gets really annoying at times.
    The "trigger" for this issue?was when I upgraded to a newer NVidia driver for my 7950GX2 graphics card. My sound was fine for years until I updated the driver to 72.xx and newer. However, I am not just talking about the newest driver. This has been happening since June and continues to happen with every NVidia release since then. This happens with every driver beyond 72.xx and now I am using 80.xx. Reverting drivers back to pre June 2008 is most definitely not an option, because I play current games and I update NVidia drivers on a weekly basis as new ones are released.
    When the new X-Fi driver came out, I thought finally this problem would be resolved. However, the new driver did nothing to resolve the problem at all. I have tried all versions of the X-Fi driver from 2004 to the present. Nothing fixes the problem.
    Suggestions are welcome... :smileyindifferent:

    FRe: Crackling audio (not sure if this is the "same" problem)? Hi, I used to post in these forums a couple of years ago, after an Audigy 4 literally corrupted my hard disk and nearly killed my motherboard's SATA controller.
    Anyway, after a lot of debate etc. it turned out that post-Audigy Sound Blasters, including X-Fis, are extremely sensiti've to PCI timing issues and have horrible bus mastering themselves, something which was NEVER quite fixed and keeps popping up time and again. In the best of cases you will get static, in the worse cases you will get BSODs, corrupted data, or even actual damage to the hardware. Not much you can do, really, than putting up with it, like many other users before you did.
    P.S.: I'm sure that shortly after this post, a certain user will chime in and start raving about how most chipsets and RAM modules are garbage, and how he uses a super-duper "golden pick" reliable system with a chipset that does everything "nice and slow" and super-reliably and ofc works wonders with ANY "problematic" CL card to date,? and how it's not really CL's fault but that of the garbage mobos, chipsets, ram etc.

  • Why does my hypem (hype machine) extension/add-on just keep saying "waiting" ?? ( not sure if this is a crash xD )

    Downloaded the HypeM extension/add-on.
    When i log on to the site and attempt to use this add-on it just keeps saying "waiting".
    When clicked, "waiting" just sends me to the home page of HypeMachine.
    Not sure if this is an issue on Mozilla's end or HypeM's.
    No matter the reason... i would like to see this issue resolved (:
    got music ?

    hello, if you have issues using an addon, please directly contact the extension's developers, because they can likely give you more detailed guidance and are the only ones who can fix bugs or make necessary adjustments in the addon. thank you...

  • A31p problems... not sure if this is normal

    I have a thinkpad A31p which is apparently able to be upgraded to 2 gb of RAM.  After upgrading the ram to one 1 gb (pc 2700) and one 512 mb (pc 2100), the graphic card seemed to act up.  It only recognised 32 mb of the 64 mb on the adapter and the colours constantly would screw up unless I restarted the computer multiple times.  That day I also upgraded the wireless card to an Intel 2200 BG card.  I am not sure if this is a strange coincidence but in order to test out if the ram had anything to do with it.  I put the 1 gb in an A31 and the same thing happened.  Only 8 of the 16 mb of the graphics card are recognised and the colours are all wacky.  In a somewhat related issue, I was trying to upgrade the HD of the A31p as well... I was trying t use a Hitachi Travelstar 160 GB drive.  All seemed to go well for installing XPbut after installing SP2 on the machine, the drive stopped responding, almost as if the computer realised that it was a 160 GB drive and did not like it.  The old 30 GB drive still worked great so I am not sure what caused that.  The Hitachi drive tested fine when teasted on another computer.  It is almost as if, the larger the drive gets the more the computer doesn't like it.  Has anyone ever had these problems before or know of any solutions?

    Welcome to the forum!
    You're not going to like what I'm about to say...
    GPU in your A31p has started going bad, which is a very common problem with this machine type. If you're lucky, solder re-balling or re-flowing will solve the problem. If you're not and it's the actual VRAM going haywire, you'll need a new motherboard.
    Your upgrades have done aboslutely nothing to harm your ThinkPad, so don't worry about that aspect of the story.
    Good luck.
    Cheers,
    George
    In daily use: R60F, R500F, T61, T410
    Collecting dust: T60
    Enjoying retirement: A31p, T42p,
    Non-ThinkPads: Panasonic CF-31 & CF-52, HP 8760W
    Starting Thursday, 08/14/2014 I'll be away from the forums until further notice. Please do NOT send private messages since I won't be able to read them. Thank you.

  • I tried updating my iPod 5th gen to iOS 8 but it only shows me a picture of the iTunes logo and a charger at the bottom, I'm not sure what this means or what I need to do. Can someone please help me?

    I tried updating my iPod 5th gen to iOS 8 but it only shows me a picture of the iTunes logo and a charger at the bottom, I'm not sure what this means or what I need to do. Can someone please help me?

    After restoring to factory settings/new iPod you will then have to restore from backup
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes       
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:                         
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

Maybe you are looking for