A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: CS4: 2 simple problems

Threaded View

  1. #1
    Follower squidlips's Avatar
    Join Date
    Oct 2001
    Location
    Rockhampton, Queesland, Australia
    Posts
    664

    CS4: 2 simple problems

    So I had an link in a website that was working like this...

    Code:
    <a href="images/1.jpg" rel="lightbox[Portfolio]" title="GALLERY">
    <img src="images/link.jpg" width="800" height="533" />
    </a>
    Then I decided I wanted to use a Flash file instead of the picture, so I changed this to...

    Code:
    <a href="images/1.jpg" rel="lightbox[Portfolio]" title="GALLERY">
    <object width="800" height="533"><param name="movie" value="gallery.swf"><embed src="gallery.swf" width="800" height="533"></embed></object>
    </a>
    This created a problem. My face boiled over in rage because apparently you cannot simply just drop a swf in like that.

    What's going to be the most simple solution to this? Some sort of

    Code:
    on(release)
    {
    
    getURL("http://www.example.com");
    
    }
    or can I simply change the HTML?

    Thanks in advanced
    Last edited by squidlips; 03-24-2010 at 06:32 AM.
    subgenius.com

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