A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: onFocus LINKS - help

  1. #1
    Member
    Join Date
    Oct 2000
    Location
    California
    Posts
    45

    onFocus LINKS - help

    Hi There,
    I know how to do pop ups with onFocus so if a page has many links to external pages they will keep replacing each other, but is there a way to do this only in flash, or do I have to have code on the html page, too? Just wondering.

    right now my link looks like:

    on (rollOver) {
    if (_root.link<>2) {
    this.gotoAndPlay("s1");
    }
    }
    on (releaseOutside, rollOut) {
    if (_root.link<>2) {
    this.gotoAndPlay("s2");
    }
    }
    on (release) {
    getURL("http://www.visitorangecounty.net/", "_top");
    }


    I was wondering if there is a way to say _onFocus or something to that effect.
    thanks~

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    What does this mean:

    if (_root.link<>2)
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Member
    Join Date
    Oct 2000
    Location
    California
    Posts
    45
    good question.
    I guess it's old school
    <> is inequality operator

    <> inequality operator

    Deprecated since Flash Player 5. This operator has been deprecated. Macromedia recommends that you use the != (inequality) operator.

    It still works, so I haven't changed it.

    I should have left that part out, any idea how to do onFocus with out making a pop up?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center