Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
CD Door Close, Open - MCI
Checking for an internet connection
Button Animator on how close cursor is to it
Version
Double Char Fix - D 7.0
Mastermind
Get Visual Line Count and Current Visual Line of Insertion
goMU-LE (free)
Urdu text editor
Pulser
 

 

 

Behavior Open a window from inside shockwave

Added on 9/14/1999

 

Compatibilities:
behavior D6_5 D7 D8 Mac PC Shockwave

This item has not yet been rated

Author: MarkDaggett

Use with the following Javascript...

function shockOpen( theURL, winName, features) {
  window.open( theURL);
}
Currently only works in netscape. More info availalbe at http://www.flavoredthunder.com/diredu/

-- Written by Mark Daggett 1999 (mark@flavoredthunder.com)
-- Copyright 1999 Flavored Thunder Media. All rights reserved.
-- For more free code go to: Http://www.flavoredthunder.com
-- Use it till it is obsolete :)
-- this behavior will open a browser window with the properties that you specify.

property pSource
property pMenuBar
property pToolbar
property pLocation
property pStatus
property pScrollbars
property pResizable
property pWidth
property pHeight
on beginSprite me
end

on mouseUp me
  externalEvent "shockOpen("" & pSource & "",',"toolbar=" & pToolBar & ",location=" & pLocation & ",status=" & pStatus & ",menubar=" & pMenuBar & ",scrollbars=" & pScrollbars & ",resizable=" & pResizable & ",width=" & pWidth & ",height=" & pHeight & "")"
end
on getPropertyDescriptionList me
  set Browserlist to [:]
  addprop Browserlist, #pSource, [#comment:"file to open", #format:#string, #default:"http://www.flavoredthunder.com"]
  addprop Browserlist, #pMenuBar, [#comment:"MenuBar Yes or no", #format:#string, #range:["yes", "no"], #default:"yes"]
  addprop Browserlist, #pToolbar, [#comment:"ToolBars Yes or No", #format:#string, #range:["yes", "no"], #default:"yes"]
  addprop Browserlist, #pLocation, [#comment:"Location Yes or No", #format:#string, #range:["yes", "no"], #default:"yes"]
  addprop Browserlist, #pStatus, [#comment:"StatusBar Yes or No", #format:#string, #range:["yes", "no"], #default:"yes"]
  addprop Browserlist, #pScrollbars, [#comment:"Scrollbars Yes or No", #format:#string, #range:["yes", "no"], #default:"yes"]
  addprop Browserlist, #pResizable, [#comment:"Resizable Win Yes or No", #format:#string, #range:["yes", "no"], #default:"yes"]
  addprop Browserlist, #pWidth, [#comment:"Win Width", #format:#integer, #default:0]
  addprop Browserlist, #pHeight, [#comment:"Win Height", #format:#integer, #default:0]
  return Browserlist
end getPropertyDescriptionList

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail