Detecting MOUSE_OVER on a line

I have some trails data that I am adding to an interactive map.  The trails were imported from Illustrator and are lines that have been converted to movieclips upon import.  I'd like to add effects and some interactivity to the lines upon click and mouse_over.  The difficult piece is that Flash treats movie clip like a box making it dificult to click on just the trail you'd like info for.  For example, if there are two trails next to one another, clicking on the one you want can be difficult. 
Is there a way that I can make it so that only the line part of the MC is the piece that responds to mouse action (rather than the whole box which encompasses its extent)?
thanks in advance...
-josh

If you only have the lines in the movieclips, and not the backgrounds of the illustrator files, then only the lines should interact with the mouse.  Try creating some in Flash using the pencil tool and you should see this is the case.

Similar Messages

  • Is the modem supposed to automatically detect a busy phone line?

    My modem is set to automatically dial-out when it needs to. Sometimes it is able to detect when the phone line is in use, sometimes it isn't. Is this normal?

    I does what a modem usually does when you pick up the phone. I makes a bunch of annoying noises when you are having a conversation. I'll try to get a pattern but it's only happened a couple of time so far. Maybe it's the update.
    It seems to happen when the screen is either locked-out (but not asleep) or another time when I was unlocking the screen after waking up my system, the system must have immediately dialed-out when I woke it up.

  • HasMoreTokens detecting and counting empty line

    Hi programmers!
    how can i count empty line in a text file which has the data?
    suppose the text file with data is as follows:
    =====================
    c 500
    c 2100
    // <== empty line
    p 550
    c 5950
    c 3000
    =====================
    I want to display "Invalid record" when that empty line comes
    I tried following to execute "IO.print("Invalid record") line
    if(str.equals(" "))  / / also/  if (str.nextToken == false) /also / if (string.hasMoreTokens())
                   IO.print("Invalid record");
             }

    If (line.equals(""))
    or
    if (line.trim().length() == 0)

  • Detect DIO line change on PCI-6250

    Using Visual C++ how can I detect when a digital line goes high on a NI PCI-6250 M-series board? I want to make a loop that will cycle each time a digital input goes high (with millisecond or better accuracy).
    Thanks,
    Mark

    Actually, there are two ways to do this, if your card supports Digital Change Detection timing. Unfortunately the PCI-6250 does not, but the following cards do: PCI-6509, PXI-6509, PCI-6510, PCI-6511, PXI-6511, PCI-6514, PXI-6514, PXI-6514, PCI-6515, PXI-6515, PCI-6518, PCI-6519, PCI-6527, PXI-6527, PCI-6528, PXI-6528, PXI-6533, PCI-6533, PXI-6534, PCI-6534, and perhaps others.
    In any case, if you do have one of these cards with hardware support for Digital Change Detection timing, then you can do one of the following:
    a) Create a DI channel on your task, and then configure digital change detection timing using CNiDAQmxTiming::ConfigureChangeDetection(). Then perform either synchronous or asynchronous single-sample reads; when one of the digital lines of interest changes, then the blocking synchronous read will finish or the asynchronous read will call your callback. This is demonstrated with the Digital \ Read Values \ ReadDigChan_ChangeDetection example.
    b) Create a DI channel on your task, configure digital change detection timing, and then set up a Digital Change Detection event on the task. This is demonstrated with the Digital \ Read Values \ ReadDigChan_ChangeDetection_Events example, although (a) is the preferred method.
    Since the PCI-6250 doesn't support hardware digital change detection, what you have to do instead is to continuously read the status of the digital lines, and check to see if the lines went high programmatically. If you do not explicitly configure the timing for the acquisition, then the timing mode will be on-demand and the data will be read as fast as possible. You also have the option of calling CNiDAQmxTiming::ConfigureSampleClock() to configure the clock rate based off of another signal, such as PFI7. Here's a sample:
    try
    CNiDAQmxTask t("");
    t.DIChannels.CreateChannel("6250/port0/line7:0", "", DAQmxOneChannelForAllLines);
    t.Timing.ConfigureSampleClock("/6250/PFI7", 0,
    DAQmxSampleClockActiveEdgeRising,
    DAQmxSampleQuantityModeContinuousSamples, 1);
    CNiDAQmxDigitalSingleChannelReader reader(t.Stream);
    bool stopLoop = false;
    while (!stopLoop)
    CNiBoolVector data;
    reader.ReadSingleSampleMultiLine(data);
    for (unsigned int i = 0; i < data.GetSize(); i++)
    if (data[i])
    MessageBox("Went high.");
    stopLoop = true;
    break;
    catch (CNiDAQmxException* ex)
    ex->ReportError();
    ex->Delete();
    Hope this helps,
    Hexar Anderson
    Measurement Studio Software Engineer
    National Instruments
    Hexar Anderson
    Measurement Studio Staff Software Engineer
    National Instruments

  • Detecting Clicks on Lines

    Hello,
       I am building a canvas application that allows users to drag and drop different icons on the canvas and connect them through edges. I am using the graphics of the canvas to draw these lines.
    However, one of my requirements is to detect clicks on the lines and enable users to modify edge properties. Since lines are not first class objects, it is hard to add click listeners on them. I would like to avoid doing my own click detection through MBRs, etc. Here are my questions:
    1) Is using the graphics object in the canvas to draw the lines a recommended approach? It seems cumbersome and requires me to maintain too much state
    2) Do you have suggestions on how I can detect clicks on these lines without writing my own code to see if each click interested with any of the lines?
    Thanks in advance.

    Thanks Alex. I will give that a shot. On a related note, I decided to do this in gumbo to learn my way around it. I can't seem to use Sprites properly in gumbo.
    I tried the following:
    var s: Sprite = new Sprite();
    s.graphics.clear();
    s.graphics.moveTo(0,0);
    s.graphics.lineTo(10,10);
    p.addChild(s);
    But I get the following error:
    Error: addChild() is not available in this class. Instead, use addElement() or modify the skin, if you have one.
    at spark.components.supportClasses::SkinnableComponent/addChild()[E:\dev\beta1\frameworks\pr ojects\flex4\src\spark\components\supportClasses\SkinnableComponent.as:953]
    at Test/handleCreate()[/Users/ksshams/dev/workspaces/Adobe Flash Builder Beta2/Test/src/Test.mxml:18]
    at Test/___Test_Application1_creationComplete()[/Users/ksshams/dev/workspaces/Adobe Flash Builder Beta2/Test/src/Test.mxml:3]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[E:\dev\beta1\frameworks\projects\framework\src\mx\co re\UIComponent.as:11260]
    at mx.core::UIComponent/set initialized()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:1513]
    at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\beta1\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:759]
    at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\beta1\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1067]

  • Edge Detection vision output, how to use it?

    Hello Developer Zone,
    I'm working on a school project that will use labview, labview vision, and labview Mindstorms. to make a robot drive along a line of black tape on the ground.
    Problem is, the line detection output of dision is confusing me. Teachers cant help me, and i am not that experienced yet.
    I want to know that (within area of interest) There is Either a staight line, or a diagonal line (or any / or \ kind of line).
    I dont know the posabilitys, but it either detects what kind of line there is and just output instructions to turn left or right or straight forward.
    Or it could detect like: The line is there, but 5cm (5 pixels ) whatever it measures in, to the right. and instruct to re-locate to the position the line is pointing, or is at.
    I hope this isnt to confusing, and i hope someone can help me to output the lines detected, to something i can instruct the drive system with.
    With this i will post an image of my project on a test.
    note: the drive system isnt designed yet, it willbe using 2 servo motors, controlled by Mindstorms. i intend on instructing how long, 1 or 2 of the motors should turn and at how much % of the power.
    Though if i can get the vision line system to output in like 5 different conditions ( straight, left,right,hard left, hard right. ) based on how the lines are recorded. this should be no problem at all.
    Thanks in advance,
    Vince Houbraken
    Student at ROC Eindhoven NL
    Message Edited by Smileynator on 11-06-2009 08:08 AM

    To get the output from within LabVIEW you have to use the IMAQ (Vision) functions within LabVIEW, not Vision Assistant.  Vision Assistant will create the VI from your script for you if you select Tools>Create LabVIEW VI. 
    I have also attached a very simple VI that will find edges for you.  The output called Straight edges is an array of edges that includes the coordinates and angle of the edges. 
    Be sure to select the ROI before you run the VI
    Tim Elsey
    LabVIEW 2010, 2012
    Certified LabVIEW Architect
    Attachments:
    Untitled 1.vi ‏94 KB

  • Mkinitcpio: ERROR in HOOKS= line

    Hello,
    I am using archboot usb image to install from net (following https://wiki.archlinux.org/index.php/GR … I_systems). When I examine mkinitcpio.conf during system configuration, the HOOKS line is empty: HOOKS=""
    When I edit it and save, the installer replies: ERROR: Detected error in 'HOOKS=' line, please correct HOOKS= in /etc/mkinitcpio.conf!
    I edited the HOOKS line to read: HOOKS=”base udev autodetect scsi sata filesystems usbinput". I also tried editing 'HOOKS=' to various reasonable choices, yet I always get the same error.
    MODULES="ahci libahci xhci-hcd ehci-hcd ext4 vfat"
    'BINARIES=' and 'FILES=' are empty.
    Please advise,
    Thank you.
    PS Copied below are notes taken during the install, in case I am making any errors, this may or may not be useful.
    Grub 2 GPT install on ASUS UEFI
    boot archboot usb image (UEFI option x86_64, not LTS)
    gdisk /dev/sda
    x for expert mode
    z for zap
    partition 1    400MB EF00
    partition 2    2GB      Linux swap
    partition 3    25GB    Linux filesystem (/)
    partition 4    25GB      Linux filesystem (/home)
    w for write
    recheck: all good
    MBR: protective
    GPT: present
    mkfs.vfat -F32 /dev/sda1
    modprobe efivars
    lsmod | grep efivars
    output: efivars        10338    1
    [Arch Linux: /]# mkdir -p /boot/efi
    [Arch Linux: /]# mount -t vfat /dev/sda1 /boot/efi
    [Arch Linux: /]# mkdir -p /boot/efi/efi
    mkfs.ext4 /dev/sda3
    mkfs.ext4 /dev/sda4
    mkswap /dev/sda2
    Swith to installer
    setting mountpoints:
    partition 2: swap
    partition 3: /
    partition 4: home
    partition 1: /boot
    All successfully mounted to: /tmp/install/ e.g. /home mounted to /tmp/install/home
    Select source: network
    modprobe e1000e
    use dhcpcd
    select mirror: http://ftp.osuosl.org
    generate package list: core only
    install packages
    Configure system:
    use network settings from before
    preconfiguration? Use hwdetect for: '/etc.rc.conf' and 'etc/mkinitcpio.conf'?
    Recommended to say 'YES': yes
    boot from usb: no
    mkinitcpio.conf
    Hooks=”base udev autodetect scsi sata filesystems usbinput”
    ERROR: detected error in 'HOOKS=' line

    Thank you for the suggestion Lone_Wolf. I was using the above partition configuration as a test. I now am running Arch off an SSD, with /var mounted from another disk. I still encounter the same issue with mkinitcpio.conf in the installer. I still can only boot through the UEFI BIOS firmware.
    My system is updated (pacman -Syu) and here is the output of mkinitcpio -p linux:
    Building image from preset: 'default'
    -k  /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    Starting build: 3.2.13-1-ARCH
    Parsing hook: [base]
    Parsing hook: [udev]
    Parsing hook: [autodetect]
    Parsing hook: [scsi]
    Parsing hook: [sata]
    Parsing hook: [filesystems]
    Parsing hook: [usbinput]
    Generating module dependencies
    Creating gzip initcpio image: /boot/initramsfs-linux.img
    Image generation successful
    Building image from preset: 'fallback'
    -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    Starting build: 3.2.13-1-arch
    Parsing hook: [base]
    Parsing hook: [udev]
    Parsing hook: [scsi]
    Parsing hook: [sata]
    Parsing hook: [filesystems]
    Parsing hook: [usbinput]
    Generating module dependencies
    Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    Image generation successful
    Now, when I reboot, I get a message "Filesystem Check Failed". I saw this before and fixed it by:
    remounting / rw (as instructed by the prompt)
    editing mkinitcpio.conf and including lvm2 in the HOOKS line: HOOKS="base udev autodetect scsi sata lvm2 filesystems usbinput"
    # mkinitcpio -p linux
    I am now able to boot, using the firmware boot loader and the mkinitcpio.conf that includes lvm2. Note that the only partitions mounted on lvm are /var and /sgmedia (custom made directory - btrfs).
    Any suggestions welcome,
    thank you.

  • How can I read the request to send line state continually?

    Hello,
    I new in LV and I'm trying to control a monochomator using RS232 serial port. The problem is that when the apparatus is in operation, sends signals to the request to send line (rs232) whit pulses of inactivity of 30 microseconds. How can count these pulses?

    Hello-
    The rs232 port is designed to send/receive command bytes to an instrument. Unfortunately, the rs232 hardware is not able to detect pulses in a line. National Instruments sells a variety of Data Acquistion (DAQ) cards that may be better suited for such an application. It sounds like a Digial I/O board may work great for this application. See our online catalog at ni.com/catalog for more details.
    Randy Solomonson
    Application Engineer
    National Instruments

  • Vanishing Point Detection on Images

    Hello
    I'm curious if anybody here has done any work with vanishing point detection on images in Labview.  Or i'd like to know of people have recomendations for specific vanishing point detection methods.
    I'd like to use this for robot navigation similar to this video: http://www.youtube.com/watch?v=nb0VpSYtJ_Y  It looks like the steps for vanishing point detection would be to detect straight edges in the image, superimpose vectors on top the the edges, then find the intersection of those vectors.

    This webpage from Drexel University explains one approach to vanishing point detection that could work with the NI Vision Development Module. The basic approach is to use edge detection to find the lines and then to calculate the intersection of the lines.
    I suggest that you start with the Straight Edge Detection example VI that is provided with installation of NI Vision Development Module. In this example, you will see how the software automatically finds the edges of some match sticks. The software could be modified to return the position and angle information about the detected edges. You could use this information to find the projected intersection of the lines in order to estimate the vanishing point.
    Jeremy P.
    Applications Engineer
    National Instruments

  • Realtek HD Audio Manager - no Line input

    SR5710Y desktop
    Realtek HD Audio Driver 6.0.1.5910
    Windows 7 Home Premium
    Microphone input to front or rear panel jacks works and appears in Realtek Audio Manager display and in Windows Sound Recorder.
    Line input to rear jack (no Line front jack) does not appear in Realtek display nor in Sound Recorder, but Realtek senses a connection being made to the Line input as it is highlighted in the ANALOG section of the display, and a flag message also appears in Windows indicating that a device has been plugged in.
    Also, AUDACITY program detects neither microphone nor line input device.

    Hi:
    Did you try the latest HD audio driver directly from the RealTek website?  That has solved various issues.
    If you haven't here it is.  Accept the agreement, download and install the first driver on the list.
    http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=24&PFid=24&Level=4&Conn=3&DownT...
    Paul

  • Siri no me detecta la voz

    Buenas!! Tengo un problema con un iphone 5C, cuando pulso para hablar con siri se abre la aplicación pero no me detecta la voz (la linea se queda recta, no detecta ningun sonido)  tengo todoas las opciones marcadas para siri... ¿que puedo hacer? tampoco me funciona la opción de dictar mensajes (whatsapp, emails...) ¿alguien sabe como arreglarlo? Muchas gracias de antemano!

    Hola Canzaca,
    Si otras PC's tampoco la reconocen, entonces seguramente si hay una falla de hardware. Si estas en México puedes comunicarte al 01 800 010 0793 con el numero de serie de la tarjeta para solicitar una reparación.
    Que tengas un excelente día!

  • Optimal hub restart times to allow line speed to b...

    Simple question, I have recently got a new hub (hh3) which when first connected, linked at 3500kb, after a 8 days there was no change in line speed, while doing some house electrical work I had to turn the power off, upon hub restart it reconnected at 10500kb..Great. Obviously getting close to the max possible line speed of my old hub (16000kb or thereabouts). I know if you keep restarting your hub the DSLAM at the exchange detects this as a line speed issue and reduces you IP profile. As the hh3 obviously cannot on the fly or dynamically adjust its link speed to the exchange eg. It requires the hub to be restarted. The question is raised, how often should you restart your hub to allow IP profile link speed increases to be detected, but at the same time no to often for the DSLAM to thinks you have a poor connection and slow you IP profile down?
    Sure one of the BT tech team has the answer..i am sure there is a reconnection tolerance before IP profile reduction eg. 2x/week.
    Thanks
    Andrew

    hi you can safely restart about 5 times in an hour without much problem some people turn there hub off each night with no problem try a restart between 8am and 1300  that should give you the best speed  for a restart
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • Cc got assertion error, when compiling emacs-23.3

    I got an assertion error with cc as follows, when compiling emacs-23.3.
    It compiles fine without the "-O" option.
    I can provide a CPP processed file which reproduces it.
    ;; I could not find a place to report bugs, and I put it here.
    ;; Sorry if it is not an appropriate place.
    % cc -V
    cc: Sun C 5.12 SunOS_i386 2011/11/16
    % cc -c -Demacs -DHAVE_CONFIG_H -I. -I/work/emacs/emacs-23.3/src -I/usr/dt/include -g -O font.c
    "font.c", line 185: warning: integer overflow detected: op "<<"
    "font.c", line 197: warning: integer overflow detected: op "<<"
    "font.c", line 215: warning: integer overflow detected: op "<<"
    "font.c", line 2995: warning: integer overflow detected: op "<<"
    "font.c", line 3422: warning: integer overflow detected: op "<<"
    "font.c", line 3920: warning: assignment type mismatch:
    pointer to char "=" pointer to unsigned char
    "font.c", line 3945: warning: assignment type mismatch:
    pointer to char "=" pointer to unsigned char
    "font.c", line 4026: warning: integer overflow detected: op "<<"
    assertion failed in function pg_first_pass_do_block_rec() @ post_gen.c:3758
    assert(blk_sp_offset_(nextb) == (current_offset + get_prologue_size() + BITS2BYTES(be_cur_local_size)))
    cc: ube failed for font.c

    Got it ...
    Reduced testcase:
    % cat c.c
    enum Lisp_Type
    Lisp_Int0 = 0,
    Lisp_Float = 7,
    struct Lisp_Float
    union
    double data;
    struct Lisp_Float *chain;
    } u;
    struct Lisp_Vector
    unsigned int size;
    struct Lisp_Vector *next;
    int contents[1];
    int
    font_unparse_xlfd (font, pixel_size, name, nbytes)
    int font;
    int pixel_size;
    char *name;
    int nbytes;
    char *f[21];
    int val;
    int i, j, len = 0;
    val = ( ( struct Lisp_Vector * ) ( ( unsigned int ) ( ( ( font ) ) & ( ( ( ( int ) 1 ) << ( 32 - 3 ) ) - 1 ) ) ) ) -> contents [ 5 ];
    if ( ( ( ( enum Lisp_Type ) ( ( ( unsigned int ) ( ( val ) ) ) >> ( 32 - 3 ) ) ) == Lisp_Float ))
    i = ( ( ( void ) 0 , ( struct Lisp_Float * ) ( ( unsigned int ) ( ( val ) & ( ( ( ( int ) 1 ) << ( 32 - 3 ) ) - 1 ) ) ) ) -> u . data + 0 ) * 10;
    f[2] = __builtin_alloca ( 12 );
    else
    f[2] = "*-*", len += 4;
    % cc -g -O c.c -V
    cc: Sun C 5.12 SunOS_i386 2011/11/16
    acomp: Sun C 5.12 SunOS_i386 2011/11/16
    "c.c", line 41: warning: implicit function declaration: __builtin_alloca
    "c.c", line 41: warning: improper pointer/integer combination: op "="
    iropt: Sun Compiler Common 12.3 SunOS_i386 2011/11/16
    ir2hf: Sun Compiler Common 12.3 SunOS_i386 2011/11/16
    ube: Sun Compiler Common 12.3 SunOS_i386 2011/11/16
    assertion failed in function pg_first_pass_do_block_rec() @ post_gen.c:3758
    assert(blk_sp_offset_(nextb) == (current_offset + get_prologue_size() + BITS2BYTES(be_cur_local_size)))
    cc: ube failed for c.c
    Bug 7167252 filed. If we find a work-around I'll post it.

  • Quicktime Player Ver 7.1.6 buffer overrun error during update

    Using XP pro and Quicktime player open, I try to update existing software... under the help tab. All I get is a Microsoft Visual C++ Runtime Library Box with Buffer overrun detected!
    The next line has Program: C:\program files\Quicktimeplayer.exe the it tells me the programs internal state is corrupted. Then the whole progame shuts down.
    Next I try to use the update tab in Quicktime preferences and I get A rundllBox with An exception occurred trying to run "shell32.dll,control+rundll "c:\program files\Quicktime\qtsystem\quicktime.cpl" After I click on ok the box goes away and the program still works.
    If i click on the Apple Software Update shortcut the progam updates with no problem.
    Movies seen to work fine and the program seems to be ok except for the problem above.
    Need help!
    Zanthax

    That's my excact problem, only I don't have the pro version.

  • When filling a Digital Signature field from a mobile app, signature does not show  Reader or Acrobat

    Scenario :
    1. Receiving a pdf form with digital siganture field.
    2. Signing form using various pdf apps. " PDF EXPERT for iPad/iPhone"
    3. After signing and emailing the document, opening in reader or Acrobat, the signature does not display but the field is gone, as if it was signed.
    * Is reader /acrobat requiring a validation that it is not receiving to show the signature?
    Did verify that the signature shows in Chrome, using chromes default pdf viewer.

    New Feature came in the last update.
    Here is the reference material to disable it:
    Signing with EchoSign
    These preferences allow IT to remove signing options from the product's user interface.
    http://www.adobe.com/devnet-docs/acrobatetk/tools/PrefRef/Windows/FeatureLockdown.html?zoo m_highlight=echosign#idkeyname_1_6294
    Summary table
    bEnableEchoSignDetection
    Displays the Document Message Bar when a blank signature field is detected.
    bEnableFillSig
    Specifies whether to remove the Sign Now panel from the Sign Pane.
    bEnableSignPane
    Specifies whether to remove the Sign task pane button from the toolbar.
    bEnableEchoSignDetection 
    Top>FeatureLockdown>Signing with EchoSign>bEnableEchoSignDetection
    Data type
    boolean: DWORD value > REG_DWORD
    Default
    1
    Version #
    11.0.03
    Lock Path
    HKLM\SOFTWARE\Policies\Adobe\(product name)\(version)\FeatureLockdown\cServices
    Summary
    Displays the Document Message Bar when a blank signature field is detected.
    Details
    When enabled, the product tries to detect if a document may need to be signed. If the words "Sign" or "Signature" are detected next to any line, a document message bar appears with an "Open Sign Pane" button. Possible values include:
    0: Don't detect signature fields.
    1: Do detect signature fields.

Maybe you are looking for