Typeof == "movieclip" ...some weird issue (please  help)

my movieclips (mc1, mc2, mc3, mc4, mc5, click) are this (mainMap.map.pan) deep. so when i am defining my movieclips i != "click" ie, should not be "click" movieclip inside mainMap.map.pan, however when i am tracing on rollover, it output "click" movieclip, please someone help me picking all other movieclips other than "click" from my mainMap.map.pan
(all i am trying to do is, when one rollover on any of the mc1, mc2, etc, in my toolTipMC should display information as per the XML elements.)
mc = mainMap.map.pan;
for (i in mc) {
    if (typeof (mc[i]) == "movieclip" && i != "click") {
        myBtn = mc[i];
        myBtn._alpha = 100;
        this.useHandCursor = false;
        myBtn.txt = titles[i];
        myBtn.txt2 = details[i];
        myBtn.img = images[i];
        myBtn.onRollOver = function() {
            if (miniMap._visible) {
                this.useHandCursor = false;
                toolTipMC._x = point.x;
                toolTipMC._y = point.y;
                toolTipMC._visible = true;
               trace(i); //for some reasons it is still giving me "click"
                toolTipMC.img.imgHolder.loadMovie(this.img);
                toolTipMC.tip.text = titles[this.txt2];
                toolTipMC.detail.text = details[this.txt];
            }else{
                this.useHandCursor = false;
            //myBtn._alpha=100;
            //myBtn.setRGB(0x003366);

becaues i is not "click" when that conditional resolves to true.  and that value of i is unrelated to the value of i when you click your button.
try the following if you still don't understand:
mc = mainMap.map.pan;
for (i in mc) {
    if (typeof (mc[i]) == "movieclip" && i != "click") {
        myBtn = mc[i];
        myBtn._alpha = 100;
        this.useHandCursor = false;
        myBtn.txt = titles[i];
        myBtn.txt2 = details[i];
        myBtn.img = images[i];
// save the value of i when this executes;
myBtn.ivar = i;
        myBtn.onRollOver = function() {
            if (miniMap._visible) {
                this.useHandCursor = false;
                toolTipMC._x = point.x;
                toolTipMC._y = point.y;
                toolTipMC._visible = true;
   trace("value of i when loop was running: "+this.ivar+" :: value of i after loop has long finished: "+i);
                toolTipMC.img.imgHolder.loadMovie(this.img);
                toolTipMC.tip.text = titles[this.txt2];
                toolTipMC.detail.text = details[this.txt];
            }else{
                this.useHandCursor = false;
            //myBtn._alpha=100;
            //myBtn.setRGB(0x003366);
p.s.  mark this thread as answered, if you can.

Similar Messages

  • Weird issue/ please help!

    So I am new with Adobe Premium CC 2014. I am editing my first video, a letsplay. The problem is with the facecam, that I put in corner of the video. At the beginning I synchronize facecam with sound of microphone and gameplay with its sound. So everything is together as it should be. But after few minutes, something is slowly happening with facecam part of the video. Even tho I did not cut or do enything to the video so far, the facecam is starting to being behind the sound and the gameplay. It was recordet together, so I don't understand why it is happening. And after like 10 minutes, the facecam is like 3-4 second behind other stuff! It is like it's slowing down or I do not know. :-/  Can you help me, because I was trying solve this for 2 days and I just do not know anymore. Maybe I am just stupid, but I don't think this is normal!! Please help / thanx.

    What recording software and codec are you using?
    Exactly what is INSIDE the video you are editing?
    Codec & Format information, with 2 links inside for you to read http://forums.adobe.com/thread/1270588
    Report back with the codec details of your file, use the programs below... A screen shot works well to SHOW people what you are doing
    http://forums.adobe.com/thread/592070?tstart=30 for screen shot instructions
    Free programs to get file information for PC/Mac http://mediaarea.net/en/MediaInfo/Download
    Does your video use a VARIABLE Frame Rate or a Constant Frame Rate?

  • Mid 2010 15" MBP i5 A1286 POWER ISSUE-PLEASE HELP-

    The MBP works fine when mains connected but the only issue is every time I take the charger out it shuts down on me!!! So I have checked with a multitester & looks good the only thing i find hard to check for power is the battery itself as its hard to get a good connection, also I took to local Apple store & they checked with a new battery but said its still same issue so the guy disconnected nearly all the connecters off to check if they causing issue & he said now the battery is charging.
    So they still have the laptop to do further tests etc, but I’m not sure what could be the problem hear as maybe there is some component which is bad so the battery’s not charging or what else could be the issue please help & advice as I’m really confused as if it was something to do with the logic board then surely it would not even charge even after checking with the multitester or like Apple genius done by disconnecting other components...
    ANY HELP OR ADVICE WOULD BE HELPFULL,
    THANKS GUYS

    THANKS FOR THE HELP GUYS!!! BEEN AROUND 5 DAYS & NOT ONE PERON HAS HELPED...
    BUT YEAH THANKS AGAIN...
    WASTE OF TIME THIS IS...

  • I work on the CompactRIO 9068 that the password is lost for some time. Please help me to reset it, for finish my end of study project. Thank you,

    I work on the CompactRIO 9068 that the password is lost for some time.
    Please  help me to  reset it, for finish my end of study project.
    Thank you,

    but the page of ni support does not work:
    https://sine.ni.com/srm/app/newrequest
    and I have the recovery.cfg file from NI with this steps :
    1.        Copy the recovery.cfg file, found in the zip folder attached at the bottom of the email, to the thumb drive. 
    2.        With the cRIO device powered off, plug in the USB drive to the controller.
    3.        Hold down the reset button while powering on the controller.  Continue holding the reset button until the status light turns on, then release the reset button.
    4.        Wait for the controller to boot.  This should take less than a minute.
    5.        Check that the password has been reset to the default. (you will still be prompted for a password even if the default is blank)
    6.        Reinstall software to the controller. Using the USB reset will leave the system in a state where it is unable to run LVRT
      I have followed the procedure as mentioned 
    Result: the LED "Status" is permanently blinking.
    Would you please provide as with another alternative so that we can fix this issue.

  • Can anyone tell me how to get rid of tlb search? it unfortunately entered into my mac. Whenever I use safari, a pop-up window opens with some ads. Please help me to find a way to remove this malware.

    Can anyone tell me how to get rid of tlb search? It unfortunately entered into my mac. Whenever I use safari, a pop-up window opens with some ads. Please help me to find a way to remove this malware.

    You installed the "DownLite" trojan, perhaps under a different name. Remove it as follows.
    Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "VSearch" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    /Library/LaunchDaemons/Jack.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /Library/PrivilegedHelperTools/Jack
    /System/Library/Frameworks/VSearch.framework
    ~/Library/Internet Plug-Ins/ConduitNPAPIPlugin.plugin
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot" or "Conduit" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    This trojan is distributed on illegal websites that traffic in pirated movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect much worse to happen in the future.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the DownLite developer has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. This failure of oversight is inexcusable and has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Transport Issue Please help

    Hello,
    I have got a major prolen during transport.
    I have GEMPLOYE1 Which is a time dependient master data. which has Attribute called 0COUNTRY_ID.
    I have a custome attribute Called Actual PSGroup/Grade GPAYSCGR which has a compounpunding attribute 0COUNTRY_ID
    Now when I am trying to transport PSGroup/Grade GPAYSCGR to QA that transport is failing , the log massage is
    Characteristic GEMPLOYE1: Attribute GPAYSCGR compounded to 0COUNTRY_ID has a diff. time-dpdncy
    If any one saw this issue, please help me to fix the same.
    Samit

    Hi Venu,
    We can't add authorisation objects on Individual servers.We need to add authorisations on BWD ie Dev system and transport to BWI QUA system.This is the Process we need to follow as per our rule set.
    So,As the problem mentioned above if i add some auth. objects on BWD DEV system and transport it to BWI QUA system,it is getting transported Successfully to BWI,but the auth.objects what i have added on BW DEV system is not found on BW QUA system.
    What could be the problem for that,Is that the problem with transports like TP error or is it related with some tables of auth.objects...................
    Could u please analyse the problem and tell me the solution for this..........
    Thanks Much
    Swapna.D

  • Trackpad Issue - Please Help!

    Hi there,
    Hope you can help me out here.
    I've recently purchased a 15" i7 Macbook pro. The machine is but 3 weeks old &, of course, very well looked after.
    A few days ago, the built-in trackpad started behaving eratically. Cursor moving by itself, not responding to touch, clicking and opening things involuntarily. Not good at all. Many users seem to have had this exact same issue.
    These problems seemed to miraculously stop after a few re-boots and possibly a software update? I really couldn't tell you what resolved the problem.
    Unfortunately I now have a totally different problem.
    There is a thin, possibly 8 to 10mm horizontal strip across the centre of the trackpad that no longer responds to touch. If I move my finger from the botom of the trackpad upwards (or vice versa), the cursor will stop momentarily as it passes over the horizontal strip. The buttons are fine and the rest of the trackpad is fine. For the moment, I've increased the cursor acceleration so that I can at least navigate round the screen with a smaller area of the trackpad. USB magic mouse seems to work fine.
    If anyone else has experienced this &/or found a solution for this issue, please help me out here. I have rifled through endless threads about MBP trackpad issues with little success & do not live close to an apple store/genius bar.
    This is a 3 week old machine that cost me a small fortune. To be getting software/hardware issues so early on in it's lifespan is really rather worrying for the future.
    Appreciate your help here.
    J

    I'm not sure what caused this, but I extended my lunch break and drove the machine down to the Westfield apple store. I didn't have an appointment with the Genius Bar but I managed to persuade one of the staff to speak to a technician in the workshop. She came back into the store and told me that they had replacement trackpads and that , considering the machine was only 3 weeks old, the technicians kindly sandwiched the repair into their timetable at zero cost. 2 Hours later, I now have a perfectly functioning trackpad/machine.
    I can't thank them enough.
    My only gripe is that I couldn't speak to a technician to find out what the problem was, how they resolved it or what causes these issues for future reference. Understanding why these problems occur often helps to build your own framework of understanding. Most of the threads i've read about trackpad issues are largely unresolved with people only speculating the problem/solution.
    The initial issue I had with the trackpad's erratic behaviour seemed to be a well known problem that many are associating with a trackpad firmware update. Unless by pure coincidence I had an immediate & major hardware fault after it, which is unlikely, my personal guess is that the two issues were related.

  • My iPhone 4S screen flash all the time. Like if its locked it turns on. I think some notification pop for some msc. Please HELP!

    My iPhone 4S screen flash all the time. Like if its locked it turns on. I think some notification pop for some msc. Please HELP!

    Basics from the manual are restart, reset, restore.
    Have you tried each of these?

  • After ios 5 update my iphone 3gs stopped writing some letters (t, f, c) and some 5 number. please help. !

    after ios 5.0.1  update my iphone 3gs stopped writing some letters (t, f, c) and some "5" number. please help. !
    and the unlock slider is not working properly, i have to slide many times to open the phone.

    Same problem.

  • Headerrenderer issue -Please help

    Headerrenderer issue -Please help
    hi
    I have a datagrid and I am  doing a custom sorting on the grid(by getting data from DB).
    I achieve this by capturing the headerrelease event of datagrid .In thee venthandler I will query from DB and do event.preventdefault to prevent standard grid sorting.
    Now I need to display my own custom ascending/descending arrows in the header.i have created an header renderer for this,
    In the headerrenderer I am lsitening to the headerrelease event of datagrid and in the eventlistener, as per the sortfield, i am trying to make the sort arrow visible/invisible.
    But somehow making the sort arrows visible/invisible is not working.The initial arrow works fine.it is shown the correct column(Name) as done in the init() method.
    The eventhandler is invoked on clicking the column headers and all the alerts are shown.
    Please see the headerrenderer code below and help me.(code is not complete only the relevant part is included)
    <?xml version="1.0" encoding="utf-8"?><mx:HBox   
    xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" horizontalScrollPolicy="off" creationComplete="init()" implements="mx.controls.listClasses.IDropInListItemRenderer">  
    public function init():void{
     headerLabel = dataField.label; 
    _dataGrid.addEventListener(DataGridEvent.HEADER_RELEASE,sortChanged,false);  
    if(_dataField.localeCompare('Name')==0)asc.visible=true; } 
    private function sortChanged(e:DataGridEvent){
     var dg:DataGrid=e.currentTarget asDataGrid;
    varcolumn:DataGridColumn = DataGridColumn(e.currentTarget.columns[e.columnIndex]);if(_dataField.localeCompare(e.dataField)==0)
    if(asc.visible ||(!asc.visible&&!desc.visible))
    Alert.show( 
    'in..');
    asc.visible=false;
    desc.visible=true;
    else if(desc.visible){
    asc.visible= true;
    desc.visible=
    false;
    else{
    asc.visible= 
    false;
    desc.visible=
    false;
    ]]>
    </mx:Script>
    <mx:Text text="{_headerLabel}" />
    <mx:Image source="{ascIcon}" id='asc' visible="false">
    <mx:Image source="{descIcon}" id='desc' visible="false"/>
    </mx:HBox>

    I got the solution!!
    i need to assign the headerrendereer to the columns dynamically inorder for this to work:
    if anybody wants to know details of solution let  me know

  • Is there any link between oe_order_headers_all and hz_cust_accounts tables. I need to find the cust_account_id for some order_number. Please help me with this

    Is there any link between oe_order_headers_all and hz_cust_accounts tables. I need to find the cust_account_id for some order_number. Please help me with this

    you can link
    OOH.invoice_to_org_id=CUST.cust_account_id   -- invoice customer
    OOH.sold_to_org_id=CUST.cust_account_id   -- sold to customer
    OOH.ship_to_org_id=CUST.cust_account_id   -- ship to customer

  • Weird Screen Issue, Please help

    Ok I have had my iBook G4 since Dec. 28, 2005 and until today everything was going just fine....
    Well this morning I went to wake it up to check my email and wham, the screen was all dark, I could see a faint image of my desktop, but barely visible. So I tried to wake it up, moved the mouse, tried the trackpad, spacebar and nothing worked, so I restarted. Then about an hour ago it did it again, and I had been using it about 15 mins before that. Only restarting remedied the problem, although the screen was dark until the apple apeard with the light blue screen behind it.
    Does anyone know what could be causing this or how to fix it, I've heard my friend say she has this prob with her Powerbook, would it be the same issue??
    Please help!!!
    iBook G4 14"   Mac OS X (10.4.2)   iPod Nano (white) Roland GX-24 plotter

    Hi Anch66,
    Welcome to Apple Discussions
    Do you have an d to be able to hook your iBook G4 up to a external monitor? You may want to try starting up in Safe Mode (<a href="<a href="http://docs.info.apple.com/article.html?artnum=107393">Knowledge Base Document #107393 on How to Startup In Safe Mode). It is a stretch, but it may work. Do you have anything connected to your iBook? Do you have it plugged in? Have you recently installed or updated any software on your computer? You may want to bring it to your local Apple Store/Reseller.
    Jon
    Mac Mini 1.42Ghz, iPod (All), Airport (Graphite & Express), G4 1.33Ghz iBook, G4 iMac 1Ghz, G3 500Mhz, iBook iMac 233Mhz, eMate, Power Mac 5400 LC, PowerBook 540c, Macintosh 128K, Apple //e, Apple //, and some more...  Mac OS X (10.4.5) Moto Razr, iLife '06, SmartDisk 160Gb, Apple BT Mouse, Sight..

  • I am having some serious wireless networking issues - please help!

    I had a working wireless network setup in my home until the laptop was dropped and the hard drive needed to be replaced.  The network consists of the laptop, desktop and wireless printer.  I am now unable to get my wireless network up and running again.  Is there anybody that can walk me through this.  Right now I have the laptop hardwired to the cable modem so I am able to use the internet.
    Please help!!!!!! 

    1. Go to Wireless. Set using Manual Config.
        Mode = Mixed
        SSID = Create your own SSID
        Channel = 9
        Broadcast = Enabled
    2.Go to Wireless Security
        Security = WPA Personal
        Passphrase = Type your 8 character long password
    3. Go to Security. Disable Block/Filter WAN Request
    4. Check if you are still online wired.
    5. Connect your laptop to the wireless network
    Regards,
    Lord Maxthor

  • Having some weird issues with logic 8

    i am almost Positive! that i pushed some buttons or selected something to mess it up, i would be indebted to anyone who can help me with like three issues i'm having
    I run my M-audio mobile pre into logic and am having these issues:
    #1. track 1 and two seem to be tied together even though i select mono tracks... so i need to leave track two blank otherwise it interferes with whatever is on track one. and on the bar where i drag the loop i was using it has two O's that make like a vinn diagram symbol.
    #2. the volume controll (the bottom left fader one) can increase the Db but not decrease...
    #3 through my headphones the signal only comes out the right side. i am inputting my guitar/vox into the right input on the mobile pre, but i thought if the tracks were mono, it wouldn't matter.
    please please please help, i need to get recording soon!
    thanks.

    i figured out the volume issue, with the weird stereo track, i needed to adjust it on both tracks (even though one was empty haha duh)

  • New Infinity connect issues - please help

    We are having ongoing issues with getting BT infinity installed to our new house.  I really need someone that can actually help us find out what is wrong and how we can resolve the issues we are having.
    It all started a few months ago when we ordered BT infinity and a new phone line to our new Chapel conversion house.
    Initially there were some issues with the engineer being unable to get the phone line to the house. After numerous phone calls and several engineers visits, we these have now been resolved and we do have a working telephone.
    The problem seems to be with the Infinity. Nobody can give me an answer as to why we have not yet got a connection.
    When the phone engineer visited he said that he would try and connect the Infinity in the green box. – When he went to do this he tried to obtain our patching information and was informed that there was no live order for infinity on our number… As there was nothing more he could do he left.
    We then checked with BT and they confirmed that we do have an order for infinity and that there was a problem that needed and engineer to look at. (We have a box and are paying for the service already…
    We were told last week that an engineer was going to attend on Monday 13th Jan and that we definitely would have a connection by last Monday at the latest… - no engineer attended despite my wife spending her 3rd day in the house waiting for an engineer!
    She phone BT on Tuesday and was told that there was a problem and she would be contacted by Thursday Morning at the latest. – Needless to say , No phone call!!
    We really need to sort this connection out.  Is there anyone who can take this and run with it until it’s sorted? – We are getting nowhere talking to random individuals who have no real history of our connection history.
    Please Help!
    Doug

    Hi dougchapel,
    Thanks for posting and welcome!
    I'm sorry for the problems you're having getting set up on BT Infinity.  I can help get you sorted from here.  Click on my username and under the "about me" section you'll see the link to get in touch with us.
    Cheers,
    Robbie
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry that we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

Maybe you are looking for

  • How to create a Region without Task Flow

    I want to create a Region without creating bounded task flow. I need to divide my page into some Regions, and I want to have Page Fragments under each region. I created one Region but not able to understand what I need to give as value attribute <af:

  • Queries regarding N:1 Mapping

    Hello XI Experts, I have gone through one the most popular weblog on N:1. /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm I have some queries regarding this... 1. In Step 3, while creating message interfaces...which messag

  • Last software for ibook g4

    what is the last software for the ibook g4

  • HT201263 iPhone 5 keep goes to Recovery Mode !!!!

    Hi , My iPhone 5 went into recovery time after time, I recovered it many times but it takes a two days or a day and sometimes even twice a day. it is really annoying and wasting time , effort and valuable multimedia. please help

  • I keep getting this message, please help!

    Could not save Preferences because the file is locked or you do not have the necessary access privileges. Use the 'Get Info' command in the Finder to unlock the file or change permissions on the file or enclosing folders. I can not figure this out.