Flash Advisor logo
:: Desktop Shortcut
:: Flash Help
Advice from Experts

Closed Thread
Results 1 to 7 of 7

Thread: popup swf from a html document

  1. #1
    Join Date
    Nov 2003
    Location
    Adelaide, Australia
    Posts
    86

    Default popup swf from a html document

    Hey guys!,

    well making my new site (www.flashnoob.com) i hit a wall with displaying the movies that people submit. On nearly all flash info, movie, websites there are options of the size window that comes up then once you click that a box would come up and inside would be a movie not streched, deformed or anything. any idea on how to do that?

    well if that cant be done... or no 1 can answer it i was wondering about just a pop up with the swf inside with its true scale. i found this code lying around sumwhere around on the net where it can get the size in php
    Code:
    function getSWFDimensions($filename)
    {
      $image_info = getimagesize($filename);
      $width= $image_info[0];
      if("" == $width)
      {
        $zd = gzopen ($filename,"r");
        $contents = gzread ($zd, filesize($filename));
        gzclose ($zd);
        
        $image_string = swfdecompress($contents); // Decompress the file
        
        $tempHandle = fopen("temp.swf","w");
        fwrite($tempHandle,$image_string);
        fclose($tempHandle);
        
        $image_info = getimagesize("temp.swf");
        
        unlink("temp.swf");
      }
      
      return $image_info;
    }
    mite be a help ?

    i have no idea how to use it or put it to a use!

    Thanks in advanced, Blake

  2. #2
    Join Date
    Mar 2009
    Posts
    4

    Default

    In index.php.

  3. #3

    Default

    i think this is going to be useful to me,thanks..


    _________________
    Indianapolis seo

  4. #4

    Cool Very nice site!

    Very nice site!
    [url=http://www.honeyreplicas.com]replica handbags[/url]

  5. #5

    Default

    sounds good to me
    [url=http://www.selfprep.org/exam-70-552.htm]70-552[/url] [url=http://www.selfprep.org/exam-70-553.htm]70-553[/url] [url=http://www.selfprep.org/exam-70-554.htm]70-554[/url] [url=http://www.selfprep.org/exam-70-555.htm]70-555[/url]

  6. #6

    Default a special topic

    It's a special topic for me , I get much useful information from it .thanks very much !
    [URL="http://www.powerpoint-converter.com/"]powerpoint converter[/URL]
    [URL="http://www.pdf-converter-creator.com/"]pdf converter[/URL]

  7. #7

    Post From there

    From there, the apparently counterfeit sneakers McCoy “Real”, but certainly there is nothing *********. If you i***uence that a particular retailer has the reputation of the line. If you want to an UGG retailers locator to determine if a pile nears you. As an [***** ugg ****s uk***** uggugg *****ugg ****s on saleretailers locator, is the World Wide Web.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Popup or notification for timer?
    By coneybeare in forum Flash Scripting
    Replies: 1
    Last Post: 11-11-2006, 05:10 PM
  2. Replies: 1
    Last Post: 10-30-2006, 06:09 PM
  3. popup generator questions
    By lance1 in forum Newbies
    Replies: 1
    Last Post: 12-27-2005, 08:24 PM
  4. unable to open large flash MX pro.2004 document
    By Tish in forum General Flash
    Replies: 1
    Last Post: 06-20-2005, 01:07 PM
  5. passing variables to popup
    By el jefe in forum Flash Scripting
    Replies: 2
    Last Post: 04-08-2004, 08:09 AM

Bookmarks

Posting Permissions

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