[flashxmlengine] Re: New Window

  • From: Martín Dobovsek <mdobovsek@xxxxxxxxxxxx>
  • To: flashxmlengine@xxxxxxxxxxxxx
  • Date: Wed, 27 Jun 2007 15:35:38 -0300 (ART)

Tenney:
   
  It was what we need.
  I will look and use already in our projects.
  Thanks again for excelent support.
   
  Martin
  

Tenney Julian <Julian.Tenney@xxxxxxxxxxxxxxxx> escribió:
      Maybe these are useful to you: a load of nice looking controls for use in 
Xerte and an example file showing how they all work...
   
  Open up the rlo file and play around. Maybe it helps with your interface and 
window things?

      
---------------------------------
  From: flashxmlengine-bounce@xxxxxxxxxxxxx 
[mailto:flashxmlengine-bounce@xxxxxxxxxxxxx] On Behalf Of Martín Dobovsek
Sent: 27 June 2007 12:51
To: flashxmlengine@xxxxxxxxxxxxx
Subject: [flashxmlengine] Re: New Window


  
  Excelent!
   
  In use and all functioning.
   
  Thanks for your support!
   
  Martin
  

Tenney Julian <Julian.Tenney@xxxxxxxxxxxxxxxx> escribió:
  In a script icon, use this, or simiar to create the window and populate
it with text and graphics / animations

//create a window... ...make sure it doesn't already exist
if (myWindow == undefined){
myWindow = myPage.newWindow(20,20,300,400,"My New Window");
}

//add a textfield to it and set the properties...
myWindow.createTextField('textField',20,20,40,100,50);
myWindow.textField.autoSize = 'left'
myWindow.textField.multiline = true;
myWindow.textField.wordWrap = true;

//set some text in the text field...
myWindow.textField.text = 'here is some text';

//format it with a textformat object...
myTF = new TextFormat('Verdana', 10, 0x000000);
myWindow.textField.setTextFormat(myTF);

//load up a png / swf / jpg file... use MovieClip loader, rather than
loadMovie
myWindow.createEmptyMovieClip('mc',99);
myWindow.mc._x = 100;
myWindow.mc._y = 40;
myLoader = new MovieClipLoader();
myLoader.loadClip(FileLocation + "image.png", myWindow.mc);

Any good?


Tenney:

I need to know how to insert content in new windows using 

id.newWindow(x,y,w,h,title).

I already generate it; the idea is to insert text and other content as
an aid (similar to help) to the content itself and how control colours
of the background and titles.

Thanks

Martin

This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



    
---------------------------------
  Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
  This message has been checked for viruses but the contents of an attachment 
may still contain software viruses, which could damage your computer system: 
you are advised to perform your own checks. Email communications with the 
University of Nottingham may be monitored as permitted by UK legislation. 


       
---------------------------------
 Preguntá. Respondé. Descubrí.
 Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
 ¡Probalo ya! 

Other related posts: