How I can stop the spinning of images.

//****************************************Dot Net Variable**********************************************
var reel_array:String = ("3,1,2,7,10,8,6,7,4,2,3,8,5,3,1,9,@10,6,1,8,4,3,5,9,1,2,2,8,3,7,3,7,@2,4,2,1,1,3,8,3,7,1 0,9,3,8,7,5,6,@2,6,5,8,1,7,2,9,4,10,3,8,7,1,3,3,@8,3,4,1,7,2,1,2,10,8,6,3,3,9,7,5,@");
//****************************************Dot Net Variable**********************************************
var my_array:Array = reel_array.split("@");
var randomno:Array = new Array(my_array.length-1);
var reel_array:Array = new Array(my_array.length-1);
for (var k = 0; k<(my_array.length-1); k++) {
    reel_array[k] = my_array[k].split(",");
    randomno[k] = random(16);
var my_str:String = "1,2,3,4,5,6,7,8,9,10,1,2,3,4,5";
var display_array:Array = my_str.split(",");
_root.createEmptyMovieClip("sq_mc",this.getNextHighestDepth());
sq_mc._x = 147;
sq_mc._y = 336;
var myObj:Object = new Object();
myObj.rows = 16;
myObj.columns = 5;
myObj.space = 61;
myObj.depth = 1;
myObj.path = _root.sq_mc;
myObj.path.swapDepths(0)
function createGrid():Void {
    for (var j:Number = 0; j<myObj.rows; j++) {
        for (var i:Number = 0; i<myObj.columns; i++) {
            var name:String = "cell"+i+"_"+j;
            var x:Number = (i)*myObj.space;
            var y:Number = (j)*myObj.space;
            myObj.path.attachMovie("box_mc",name,++myObj.depth);
            myObj.path[name]._x = x;
            myObj.path[name]._y = -y;
            myObj.path[name].createEmptyMovieClip("holder_mc",this.getNextHighestDepth());
            var ind:Number = randomno[i]+(j-1);
            if (ind<0) {
                ind = 15;
            } else if (ind>15) {
                ind = 0;
            myObj.path[name].holder_mc.loadMovie("images/jackpot/"+reel_array[i][ind]+".jpg");
createGrid();
spinImages = function () {
    setImages();
    setImages1();
    setImages2();
    setImages3();
    setImages4();
matter_mc.btnSpin.onRelease = function() {
    spinImages();
setImages = function () {
    for (var i:Number = 0; i<myObj.columns; i++) {
        for (var j:Number = 0; j<myObj.rows; j++) {
            var str:String = "cell"+0+"_"+j;
            var ind:Number = randomno[i]+(j-1);
            myObj.path[str].holder_mc._alpha = 100
            myObj.path[str]._y++
            trace("y="+myObj.path[str]._y)
            if(myObj.path[str]._y>60){
                myObj.path[str]._y=-915
    setTimeout(this,'setImages',1)
setImages1 = function () {
    for (var i:Number = 0; i<myObj.columns; i++) {
        for (var j:Number = 0; j<myObj.rows; j++) {
            var str:String = "cell"+1+"_"+j;
            var ind:Number = randomno[i]+(j-1);
            myObj.path[str].holder_mc._alpha = 100
            myObj.path[str]._y++
            if(myObj.path[str]._y>60){
                myObj.path[str]._y=-915
    setTimeout(this,'setImages1',5)
setImages2 = function () {
    for (var i:Number = 0; i<myObj.columns; i++) {
        for (var j:Number = 0; j<myObj.rows; j++) {
            var str:String = "cell"+2+"_"+j;
            var ind:Number = randomno[i]+(j-1);
            myObj.path[str].holder_mc._alpha = 100
            myObj.path[str]._y++
            if(myObj.path[str]._y>60){
                myObj.path[str]._y=-915
    setTimeout(this,'setImages2',10)
setImages3 = function () {
    for (var i:Number = 0; i<myObj.columns; i++) {
        for (var j:Number = 0; j<myObj.rows; j++) {
            var str:String = "cell"+3+"_"+j;
            var ind:Number = randomno[i]+(j-1);
            myObj.path[str].holder_mc._alpha = 100
            myObj.path[str]._y++
            if(myObj.path[str]._y>60){
                myObj.path[str]._y=-915
    setTimeout(this,'setImages3',15)
setImages4 = function () {
    for (var i:Number = 0; i<myObj.columns; i++) {
        for (var j:Number = 0; j<myObj.rows; j++) {
            var str:String = "cell"+4+"_"+j;
            var ind:Number = randomno[i]+(j-1);
            myObj.path[str].holder_mc._alpha = 100
            myObj.path[str]._y++
            if(myObj.path[str]._y>60){
                myObj.path[str]._y=-915
    setTimeout(this,'setImages4',20)
displayImages = function () {
    for (var j:Number = 0; j<myObj.rows; j++) {
        for (var i:Number = 0; i<myObj.columns; i++) {
            var str:String = "cell"+i+"_"+j;
            myObj.path[str].holder_mc._y=-50
            myObj.path[str].holder_mc.loadMovie("images/jackpot/"+display_array[i+(j*5)]+".jpg");
        heighLight()
//******************************************HeighLight Image********************************************
this.createEmptyMovieClip("line_mc",this.getNextHighestDepth());
line_mc.lineStyle(2,0x00000,100);
var line_details:Array =new Array(25);
line_details[0] = "2,2,2,2,2,";
line_details[1] = "1,1,1,1,1,";
line_details[2] = "3,3,3,3,3,";
for(var i=3; i<line_details.length;i++){
    line_details[i] = "2,2,2,2,2,";
var reelBlink_string:String = ("Line:1:0.1:2,Line:2:0.1:3,Line:3:0.1:4,");
var lines_array:Array = reelBlink_string.split(",");
var reelBlink_array:Array = new Array(4);
heighLight=function(){
    for (var k = 0; k<(lines_array.length-1); k++) {
        reelBlink_array = lines_array[k].split(":");
        var line_no:Number = reelBlink_array[1];
        var high:Number = reelBlink_array[3];
        var line_string = line_details[line_no-1];
        var col_array:Array = line_string.split(",");
        for (var n:Number=0;n<high;n++){
                var str:String = "cell"+n+"_"+(col_array[n]-1);
                myObj.path[str].holder_mc._alpha = 30
(setImages) is function of first column for spinning of images, but i want to stop column wise on specifc speed.

Hi,
You can check the flash help for that
here is the small example for that
import mx.transitions.Tween;
var myTween:Tween = new Tween(img1_mc, "_y", mx.transitions.easing.Strong.easeOut,0, Stage.height, 50, false);
var theDuration:Number = myTween.duration;
trace(theDuration);

Similar Messages

  • How do I stop the spinning ball that keeps going and going and going

    How do I stop the spinning ball that keeps going and going and going.  I think I have to remove cookies, but I don't know how.

    I think I solved it.
    I searched my extensions folder (in my profile) for all image files (PNG and JPG), and found the pop-up images to be in an extension folder related to Firefox Sync (not an external extension, actually). But even though I had already disabled it and un-linked this computer from Firefox Sync, the message still popped-up.
    I think the image filename was SYNC.PNG, or something like that. Close Firefox, find the folder where that image is in, and rename the main folder (the one right under the extensions folder) to some other name (such as "original name_copy"). Then start Firefox. Check if it works OK and if the pop-up ceases to appear. If everything OK, then you can delete that folder.
    If something goes wrong, just rename the folder to what it was before.

  • How I can stop the combo box with list of values from fireing validations

    Hi I'm using Jdeveloper 11.1.2.3.0
    Using Hr Schema employees table
    I Display employees data in af:table
    and I make List Of values on Department_id filed to easy change the employee department
    and another one on Job_id filed
    and Imake them UI Hints as ( combo box with list of values ) in the employeesVO
    the problem is when I Select a value from department or jobs ( combo box with list of values )
    fires the entire filed validations for mandatory atributes
    Note : the af:table Property ( contedelivery) is set to (immediate )
    How I can stop the combo box with list of values from fireing validations

    check it out.,
    http://andrejusb.blogspot.in/2012/09/what-to-do-when-adf-editable-table.html

  • How i can stop the automatically empty trash?

    How i can stop the automaticall empty trash?
    when i move a file to trsh , i recieve the massage from the finder asked me the password, thereafter, i do Ok , then the file move to trash, when i open the trash i found it empty automatically  

    i did  already , but still the same problem .
    when i do move the trash, i recieved a massage titled " Finder wants to make changes. type your password to allow this" , i do Ok , then the file directly moved to trash , but when i go to the trash i found it empty.

  • How do I stop the spinning ball?

    How do I stop the spinning ball? It has just begun in the last couple of days. Very annoying. Must wait 10-20 seconds to access an Internet site or information into a Google site. It even stopped me in the midst of typing this message.
    JunieB

    Troubleshoot the spinning beach ball

  • How do I stop the spinning wheel that replaced the cursor in a Word document?

    How do I stop the spinning wheel that replaced the cursor in a Word document?

    Something is causing Word to lock up.  Restart the laptop and/or reinstall Office/Word to fix the instability.  Maybe even a bad plugin or document could be causing this if it's only happening when you open a particular doc.

  • Hi, I like using Firefox more than I do IE, but I've been using IE lately because of all the pop-up pages I'm getting. Do you have any idea how I can stop thes

    Hi,
    I like using Firefox more than I do IE, but I've been using IE lately because of all the pop-up pages I'm getting. Do you have any idea how I can stop these pop-up tabs from happening?
    Thanks

    Do a malware check with some malware scanning programs on the Windows computer.<br>
    Please scan with all programs because each program detects different malware.<br>
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • How do I stop the "Spinning Wheel?!?!" (screenshot included)

    I have ran into this many times and thought it was just a glitch with my machine, But was surprised to see that it is still doing it on my brand new macbook that I set up fresh.
    Whenever I have iMoive open and plug in an SD card, Flash drive, etc, I will get this on my desktop:
    (the colored thing in the background is my desktop wallpaper)
    And it does NOT go away unless I quit iMovie completely!
    Is there anyway to fix this?

    I had maybe same problem. I had the spinning red rainbow ball with imovie during export to imovie. Stopped exporting the last two minutes, but other projects worked fine to export. I had delete the project the stopped in the last two minutes and import again, what a pain. Now it works fine. Good luck...

  • HOW DO YOU STOP THE SPINNING WHEEL OF DEATH?

    How do you eliminate the Wheele of Death?  I have a Mac mini. OS X 10.9.2?

    This is the MacBook Pro forum, neither the Mac mini forum nor the Mavericks forum.
    If I were you, I would post on the Mavericks forum -> https://discussions.apple.com/community/mac_os/os_x_mavericks.
    Clinton

  • How do I stop the Yosemite desktop image showing through unoccupied space on the Illustrator CS6 screen?

    Loading Ai - the toolbars display around the Yosemite desktop image? A new page will open but the Yosemite image appears in unoccupied spaces on the screen If I click on these areas, the toolbars disappear?? Help!

    that's normal behaviour on Mac OS. it used to be the way all software worked, but the application frame a la Windows is default in the other CC software for some reason. to use that way, go to Window > Application Frame.

  • How to stop the spinning wheel?

    How to stop the spinning wheel?

    Back up your documents and everything else important to you, not that there is any reason to believe your hard disk may be failing, but the symptoms you describe may presage an impending disk failure, and you should have backups anyway.
    Boot OS X Recovery by holding ⌘ and r (two fingers) while you start your Mac. At the Mac OS X Utilities screen, select Disk Utility. Select your startup volume (usually named "Macintosh HD") and click the Repair Disk button. Describe any errors it reports in red.
    When it finishes restart your Mac and test again for operation. If it's still not behaving as you expect it should, please post the results of EtreCheck in accordance with the following instructions:
    Apple Support Communities contributor etresoft wrote a very useful app to quickly gather certain system information that may help point to a cause of this problem. Go to his website, download and run EtreCheck:
    http://www.etresoft.com/etrecheck
    Etrecheck will be in your Downloads folder. Open it from there. You may see the following dialog box:
    Click Open - etresoft contributes to this forum frequently and can be considered a trustworthy developer.
    It will take a moment to run as it collects its data.
    Copy and paste its output in a reply.
    Do not be concerned about anything that says "Problem" or "failed".
    EtreCheck was designed to remove any personal information (such as your computer's name and serial numbers) but if you see anything that looks like an email address or any other personal information that should not be divulged to others, please delete or obscure that information when you post the reply.
    When you are finished with EtreCheck, quit the program. It occupies very little space, and you can keep it or drag it to the Trash as you wish.

  • I have a macbook pro.How do I stop the color wheel from spinning?

    I have a macbook pro.How do I stop the color wheel from spinning? I can not get the computer to shut down w/out doing a force quit.

    I suggest you download and install EtreCheck from http://etresoft.com/etrecheck
    Run EtreCheck and publish report here
    Allan

  • Every time I right-click an image in Firefox 3.6.12 to view image size info it says "Unknown (not cached)". Any ideas on why this could be happening and how I can stop it? My OS is Ubuntu 10.10. If you need any more info let me know.

    Every time I right-click an image in Firefox 3.6.12 to view image size info it says "Unknown (not cached)". Any ideas on why this could be happening and how I can stop it? My OS is Ubuntu 10.10. If you need any more info let me know.

    Is the disk cache and the memory cache enabled?
    You can check these prefs on the about:config page.
    * http://kb.mozillazine.org/browser.cache.disk.enable
    * http://kb.mozillazine.org/browser.cache.memory.enable
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    Your More system details list shows two outdated Flash plugins that you should remove and update to Flash 10.1 r102 or at least remove 10.0 r45 and wait until your distribution offers a 10.1 r102 update.
    # Shockwave Flash 10.0 r45
    # Shockwave Flash 10.1 r85
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • How to stop the spinning ball/pizza that is stalling repairs to project on imovie 09? on macosx10.5.8 using iomega and superspeed ext h.d. as storage for the events and projects archive of a wedding video that has had audio sync problems on all share form

    How to stop the spinning ball/pizza that is stalling repairs to project on imovie 09? on macosx10.5.8 using iomega and superspeed ext h.d. as storage for the events and projects archive of a wedding video that has had audio sync problems on all share formats (iDVD, mp4, and last of all iTunes). The project label now carries signal with yellow triangled exclamation “i tunes out of date”.
    To solve the sync problem I’m following advice and detaching sound from all of the 100 or so short clips.  This operation has been stalled by the spinning ball. Shut down restart has not helped.
    The Project is mounted from Iomega and superspeed ext hd connected to imovie09 on macosx 10.5.8.
    What to do to resume repairs to the audio sync problem and so successfully share for youtube upload?

    How to stop the spinning ball/pizza that is stalling repairs to project on imovie 09? on macosx10.5.8 using iomega and superspeed ext h.d. as storage for the events and projects archive of a wedding video that has had audio sync problems on all share formats (iDVD, mp4, and last of all iTunes). The project label now carries signal with yellow triangled exclamation “i tunes out of date”.
    To solve the sync problem I’m following advice and detaching sound from all of the 100 or so short clips.  This operation has been stalled by the spinning ball. Shut down restart has not helped.
    The Project is mounted from Iomega and superspeed ext hd connected to imovie09 on macosx 10.5.8.
    What to do to resume repairs to the audio sync problem and so successfully share for youtube upload?

  • How to stop the spinning  ball after trying to install 10.7.3?How

    How to stop the spinning ball after trying to install V10.7.3?

    Boot from your recovery partition by holding down the key combination command-R at the startup chime. Release the keys when you see a gray screen with a spinning dial.
    When the Recovery desktop appears, reinstall the Mac OS. You don't need to erase the boot volume, and you won't need your backup unless something goes wrong. If your Mac didn’t ship with Lion, you’ll need the Apple ID and password you used to upgrade, so make a note of those before you begin.

Maybe you are looking for

  • How are the source code in the functions? Blank?

    In my SAP the source code of the some functions are blank. Is this correct? Can you view in your Systems and put the result, please? Functions: LSO_COL_GET_ROOM_PRIVACYTYPES LSO_COL_GET_ROOMS So, when i will to test, the functions return System Failu

  • CS3: Leaks.txt - How can I find the reason for the memory leaks?

    Hi<br /><br />I get the following messages in Leaks.txt, created from the memory tracker (Windows):<br /><br />------------------------------------------------------------------------<br /><br />Leaks!  13 leaks, 845468 bytes<br /><br />65036 bytes a

  • Log and transfer problem with prores files

    Working on RED project. Started several months ago. Shooting and logging as we go. Project setup on FCP, RED media converted to prores422 proxy with RED software(rocketcineX) and saved on Internal 2 TB RAID. NO problems for past 4 months. Moving pror

  • MDT Deployment for Windows 8 (Sysprep failes with generalization setting)

    Here's my issue... I'm trying to capture and redeploy Windows 8.  In of itself, the capturing and deploying works well.  Except for one thing, I can't default the desktop nor can I default the Start Tiles for the start tiles.  Upon a visit with Micro

  • Spam is being sent with my email address on it!

    I get a few spam messages re drugs every day.  What concerns me is that they may be using my email address to send these messages to others.  How do I stop them from posting messages with my email address on them?  How do I deal with this?  Any hints