Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. pmoorey

    Associate input text with array

    Can I use this to associate a sound clip to the picture and text also? Thanks Peter CCNA, Cisco Qualified Specialist
  2. pmoorey

    sound clips

    Does that still apply if you have a different sound for each of the movie clips? Peter CCNA, Cisco Qualified Specialist
  3. pmoorey

    sound clips

    Is there a more efficient way of adding sounds to movie clips than var mySound = new Sound(); mySound.attachSound("sound"); if there are a lot of different movie clips? Peter CCNA, Cisco Qualified Specialist
  4. pmoorey

    Associate input text with array

    This is what I have done so far, picNumber = 0; //trace(picNumber); correct._visible = false; pictureArray = [{image:"images1/badger", text:"badger"}, {image:"images1/butter", text:"butter"}, {image:"images1/computer", text:"computer"}, {image:"images1/cooker", text:"cooker"}]; while (n) {...
  5. pmoorey

    Associate input text with array

    I tried it with picNumber but I still cant seem to get it to work Peter CCNA, Cisco Qualified Specialist
  6. pmoorey

    Associate input text with array

    Thanks, you were right about if deleting the previous object if it is replaced by another object on the same depth. I am trying to get a button to check if the answer written in the text box is the same as the answer associated with the picture in the array checkAnswer_btn.onRelease =...
  7. pmoorey

    Associate input text with array

    No it doesn't your right I must have done something wrong. Is it possible to delete the previous picture when you press the button to get the next picture? Peter CCNA, Cisco Qualified Specialist
  8. pmoorey

    Associate input text with array

    I managed to figure out why it was returning undefined. When the button is pressed to go to the next picture you have to press it twice before it goes to the next one in the array. It does this the way I have done it and I tried the way you stated above but both seem to do this? Thanks a lot...
  9. pmoorey

    Associate input text with array

    When I tried to get the picture on the screen it is coming back as undefined, any idea what the problem would be? Thanks again! Peter CCNA, Cisco Qualified Specialist
  10. pmoorey

    Associate input text with array

    This is what I have done so far would this be easy to adapt to use the text within the array too? _global.picNumber = 0; pictureArray = ["images1/badger", "images1/butter", "images1/computer"]; var n:Number = pictureArray.length; while (n) { var k:Number = Math.floor(Math.random()*n)...
  11. pmoorey

    Associate input text with array

    Hi I was just wondering, I have a an array of pictures that I randomise. I also have an inout tect box. I display a picture from the array for example a picture of an apple and I want the user to type the correct answer into the text box. I am not sure how to check the answer is correct if I...
  12. pmoorey

    Creating random words using movie clips?

    Cool, I havn't tried to do it that way before, do you know of any online tutorials that will help me with this? Thanks Peter CCNA, Cisco Qualified Specialist
  13. pmoorey

    Creating random words using movie clips?

    Is there a way to generate movieclips rather than just making lots of them. For example is it possible to have an instance of a movieclip that is made up of a dynamic text box then have an array of strings that you want in the text box. When you press a button it will choose a random string to...
  14. pmoorey

    Creating random words using movie clips?

    oops sorry never noticed that, I usually copy and paste so that doesn't happen. thank you! :) Peter CCNA, Cisco Qualified Specialist
  15. pmoorey

    Creating random words using movie clips?

    This is what I have done so far, I have commented some parts out just to make things smaller to make it easier when I was testing it out. var position:Array = [{_x:100, _y:100}]; //{_x:200, _y:200}, {_x:300, _y:300}]; var correctArray:Array = ["bandMC", "bendMC", "brandMC"]...
  16. pmoorey

    Creating random words using movie clips?

    I have made an array with the positions that I want them in and I have added the array to the end of the attatch movie statement but the movieclips appear in the top left hand corner on top of each other Peter CCNA, Cisco Qualified Specialist
  17. pmoorey

    Creating random words using movie clips?

    Cool thanks, so if I make an array with the positions that I want to put them in how would I insert this within the attatchMovie()? Thanks for the help Peter CCNA, Cisco Qualified Specialist
  18. pmoorey

    Creating random words using movie clips?

    I wanted to have them sort of scattered on the stage Peter CCNA, Cisco Qualified Specialist
  19. pmoorey

    Creating random words using movie clips?

    Is there a way to set the position of each movieclip separately I have tried a number of different ways but can't seem to do it? Peter CCNA, Cisco Qualified Specialist
  20. pmoorey

    Creating random words using movie clips?

    Mine seems to be working too now, not sure what was wrong. To change the position of the movieclips on the screen do I just change the paramaters at the end of the attatchmovie statement? Peter CCNA, Cisco Qualified Specialist

Part and Inventory Search

Back
Top