//

PDF Xtra for Macromedia Director V 7.0

INM's PDF Xtra is an out-of-the-box solution that displays PDFs documents from Director with the true Adobe Acrobat/Reader look and feel.

  • Simplify content-heavy projects (e-learning projects, e-books, product presentations, reference tools).
  • Display and print stylized fonts, special characters, intricate layouts.
  • Repurpose existing documents from any source.
  • Light-weight download is ideal for Shockwave deployment (on Windows).
  • Supports PDFs containing Flash™, QuickTime®, and 3D.

Requires Adobe® Acrobat® or Reader at authoring and runtime.

//

Fastes way to detect if a radio button has been selected

There are times when you just need to pull the default value of a radio button selection, rather than creating and array and testing from it.

The quick and dirty solution is to place a hidden field right before those items you want to send with default values if nothing is selected.

PHP:
  1. <input type="hidden" name="NameOfYourRadio" value="Default Value"/>
//

createTextField and removeTextField

ActionScript:
  1. createTextFieldOnce = function(){
  2.    trace("---> Text Field Created");
  3.    _root.createTextField("cMagnitude",this.getNextHighestDepth(),0,0,100,30);
  4.    cMagnitude.text = "Hello World";
  5. };
  6.  
  7. deleteTextField = function(){
  8.    trace("----> Text Field Deleted");
  9.    _root.cMagnitude.removeTextField();
  10. };
  11. createTextFieldOnce();
  12. setInterval(deleteTextField,1000);
//

Loading a RSS feed into Flash

ActionScript:
  1. // create a new XML object
  2. var sports:XML = new XML();
  3.  
  4. // set the ignoreWhite property to true (default value is false)
  5. sports.ignoreWhite = true;
  6.  
  7. // After loading is complete, trace the XML object
  8. sports.onLoad = function(success) {
  9.   trace(sports);
  10. };
  11.  
  12. // load the XML into the sports object
  13. sports.load("http://rss.news.yahoo.com/rss/sports");
//

Removiing a Movie Clip on Stage with AS

ActionScript:
  1. //A square with id = square
  2. //A simple button named mca that removes the attached MCs
  3.  
  4. this.attachMovie("square", "square1",1);
  5. this.attachMovie("square", "square2",2);
  6.  
  7. square2._x =100;
  8.  
  9. mca.onRelease = function() {
  10.  square1.removeMovieClip();
  11.  square2.removeMovieClip();
  12. }
//

After a long brake

As many of you know, for a while I was away from message boards. but I am back to help a few of the newbies out there. Also I am looking forward to update the Flash Bits section along with the PHP and DW bits.