Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
password field
RegistryReader
MIAW Event Leak
Valentina
Clock Hands Behavior
MIDI Class
Tracking save attempts
Close Box MIAW behavior
FileXtra
Easy Help
MediaMacros Xtras Mall
 

 

 

Behavior Get Least Common Denominator

Added on 2/15/2000

 

Compatibilities:
D6_5 D7 D8 Mac PC Script Shockwave

This item has not yet been rated

Author: Macromedia (website)

From Technote #14060 at Macromedia.com

on GetLCD num1, num2
    theMin = float(min(num1, num2))
    theMax = max(num1, num2)
    i = 1
    repeat while i < theMin
      thisFactor = theMin/i
      if thisFactor = integer(thisFactor) then
        if theMax/thisFactor = integer(theMax/thisFactor) then
          return integer(thisFactor)
        end if
      end if
      i = i + 1
    end repeat
    return VOID
end

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail