#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2003
    Posts
    2
    Rep Power
    0

    Drop Target with masking technique


    I'm trying to get the planchette (the magnifier) to launch a pop up window once the user scrolls over any of the letters/numbers. I've tried using the drop target command with a an if/else statement once the magnifier collides with the letter "A." I put a button called a and named the instance "a." It works for the else statement but not the drop target.
    You can view the project at:
    http://www.twisted-designs.com/mm_365/ouija.html
    This is the version without AS but it should give anyone an idea what I'm trying to accomplish.
    I've also attached the AS version.
    Any ideas or suggestions would be much help.
    Thanks,
    jon
    Attached Files
  2. #2
  3. No Profile Picture
    flash junkie
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2003
    Location
    CO, USA
    Posts
    172
    Rep Power
    12
    hey, you'll need to change the on(release) function of your myMagnifier clip to:
    PHP Code:
    //actionscript
    on (releasereleaseOutside) {
        
    stopDrag ();
        if (eval (
    this._droptarget) == _root.a) {
            
    getURL ("http://www.twisted-designs.com");
        }

    and your "a" instance should be a MovieClip, not a button. then it should all work.

    cheers,

    bret

IMN logo majestic logo threadwatch logo seochat tools logo