specify attributes

FLASH

    Next

  • 1. Print button - captivate swf within falsh swf
    Hi I have a nice problem and I hope someone might have an answer for me. I am making an interactive tool book. The design, backgrounds, button etc are all in flash. I have also done a quiz in captivate which has a bank of 50 questions but only 20 random ones appear each time you do the quiz. As you cannot import a random quiz captivate file into flash I have made a movie clip titled container that the captivate quiz swf. file loads into. This all works without a problem. However I have to make a print button also in flash so the user can print their result page (the result page is apart of the captivate file). I have tried every print Action script I can think of; however, none of them print the results. The page prints with all the flash created objects (background, buttons etc) but it will not print the end results page that appears in the movie clip titled: container, which is located in the middle of the flash stage. Although if I click print in the flash player file menu it does...... Can anyone help me or have I confused you all?? From Sez
  • 2. Actionscript 1,2 &3.0
    Hi, i'm new to flash and i want to know the easiest way to learn actionscript.:confused;
  • 3. flash loader questions
    hey all so i've got this movie clip that i made a load screen with : totalBytes = _root.getBytesTotal(); loadedBytes = _root.getBytesLoaded(); percentDone = int(loadedBytes / totalBytes * 100); percentBar.gotoAndStop(percentDone); ifFrameLoaded("Scene 2", 1){ percentBar.gotoAndPlay(percentDone); gotoAndPlay("Scene 2", 1); } // End of ifFrameLoaded the level0 of Scene2 is 1 frame for some reason all the rollovers that worked before the loader was placed in, no longer work any suggestions as to why this is happening?
  • 4. Problem printing from Flash on Macs
    Anyone ever have any problems printing from Flash on a Mac? I am pulling in jpgs and printing them via PrintJob in ActionScript 2. A client is saying that they are printing extremely pixelated on their Macs. Even when they print to PDF it looks bad so it?s not simply their printer. However I tested it on the one Mac I have but I can?t reproduce the same effect. This seems to work just fine on all the PCs I test on. The client is testing on these platforms: Mac OS X 10.4.11 with flash player 9. Mac OS X 10.5.4 with flash player 9 Mac OS X 10.4.10 with flash player 9 And in Camino, Firefox and Safari browsers. Any ideas?

specify attributes

Postby grover970 » Fri, 10 Feb 2006 08:50:06 GMT

I have a list of children that contain an image, name and a story and
 I want to randomly populate one of them at a time. I am able to get it
 to randomize, but I can't target the attributes, they always comeback 
undefined.

 Here is my xml structure:
 <children>
    <child imageURL="child0.jpg" childName="ben neal0" childStory="child 0 
story" />
    <child imageURL="child1.jpg" childName="ben neal1" childStory="child 1 
story" />     
    <child imageURL="child2.jpg" childName="ben neal2" childStory="child 2 
story" />
    <child imageURL="child3.jpg" childName="ben neal3" childStory="child 3 
story" />
    <child imageURL="child4.jpg" childName="ben neal4" childStory="child 4 
story" />
 </children>

 and here is my actionscript:
 function loadChildren(){
    for (var aChild in children) {
        var childData = children;
        var randomNode = Math.floor(Math.random() * childData.length);
                trace(randomNode); //this sends me back a number 0-4
        imageHolder.loadMovie(childData.imageURL);
    }
 }

 what do I have to do to single out the attributes of the randomly
 picked child node?


Similar Threads:

1.getURL specifying window attributes

Hi,

 I have a flash movie in which i am using getURL to load an html document 
containing a quicktime movie.  I would like to be able to specify the size of 
this new window as well as other attributes like no scrollbar, no toolbars, 
etc, like one could with the javascript window.open command.  Can I do this?

2.addressing *any* movieclip at a specified level

Hi. I'm trying to execute the unloadMovieClip() command for the movieclip lying 
inside of a movieclipHolder :

 _root.movieclipHolder. * ANY * .unloadMovieClip();

 But how should I do this? I'm stuck. I'm trying to create a sort of dynamic 
code structure, so I don't want to have a long "if, else if, else if, else 
if"-check... :)

 Thanks in advance. ;)

3.- Specifying text box background color..?

Anyone know where to specify the background color of a text box in Flash MX?
For some reason it applies a solid white instead of transparent.


4.Buttons lead user to a different label than the one specified

5.Device Fonts - specifying sans serif

Hi, i am trying to specify that some text in my movie should be sans serif, as 
a device font. i've never used device font before, and for some reason it is 
simply making it Times, or serif when i publish the movie, even thouggh i 
specified _sans as the font.

 any ideas?


 Thanks,
 Ray

6. opening a swf in a specified area

7. Flexibly specifying data series in charts

8. Specifying a USB Flashdrive as a device



Return to FLASH

 

Who is online

Users browsing this forum: No registered users and 86 guest