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. sherwoodclark

    Assigning actions to multiple buttons

    This should be fairly straight forward with Actionscript. Are you familiar with Actionscript? Are you putting your images on different frames on the timeline? If so, then you would put code on each button that directs the playhead to go to that frame. If you're using classic buttons (not v2...
  2. sherwoodclark

    LocalConnection not working with hidden layer

    I'm using a LocalConnection to communicate between a SWF file in a popUp window (actually several popUp windows created by using divs with styles = position:absolute and visibility:hidden when the popUps are not in use) and the main SWF file on the main page. The popUp contains some combo boxes...
  3. sherwoodclark

    What is the 'var' keyword used for

    Thanks so much. This was the data I was looking for. It appeared that the 'var' keyword was deprecated, but I just couldn't find the documentation to back it up.
  4. sherwoodclark

    What is the 'var' keyword used for

    Thanks for the feedback. I assumed as much. I went to http://us2.php.net and searched high and low for the 'var' keyword to understand just exactly what it was supposed to mean, and I could NOT find any reference to this keyword other than in a few code snippets. If you have a link to some...
  5. sherwoodclark

    What is the 'var' keyword used for

    I see the 'var' keyword used in some PHP class code before declaration of variables, but I can't find documentation anywhere on what this keyword is actually doing. Can anyone point me to documentation for this keyword? Thanks
  6. sherwoodclark

    MouseWheel problems in FireFox 1.5.0.7

    The Mousewheel doesn't seem to work in FireFox on a fairly complex SWF file I've created on a webpage. I have a v2 DataGrid in the SWF file as well as components I have created in which I have implemented mousewheel functionality. When the mouse is over the DataGrid, the mousewheel will not...
  7. sherwoodclark

    run movie once only

    The simplest way is to put the actionscript 'stop()' command on the last frame of your movieclip. Add a layer in your movieclip and call it Actions. Open the actions panel under the 'windows' menu and in the last frame of your movieclip insert a keyframe on the Actions layer then type 'stop()'...
  8. sherwoodclark

    Title colours

    If you're using a TextField, you need to set up TextFormat variable in your receiving file to receive the color for the font... var myFmt:TextFormat = new TextFormat(); myFmt.color = 0x000000; // = black font then set the TextField format and background color title_txt.setTextFormat(myFmt)...
  9. sherwoodclark

    Help with angles

    If you can come up with a formula for the trajectory, then you can write a function that triggers on the onEnterFrame event and have the formula continually update the bullet's _x and _y properties until the bullet hits its target. onEnterFrame = function(){ <your trajectory code here> }...
  10. sherwoodclark

    Making a flash object not clickable

    Please check out the link I included in my last post. It will explain everything. Here it is again. http://www.adobe.com/designcenter/popular_topics/click_to_activate/
  11. sherwoodclark

    Dynamic Text Embed Fonts

    Works like a champ. Thanks a million!!!!!!!!! [2thumbsup]
  12. sherwoodclark

    Help with angles

    Use a motion guide to define the path of the bullets.
  13. sherwoodclark

    Dynamic Text Embed Fonts

    One last question. How do I bold the text? If I issue a setTextFormat in actionscript with a bold TextFormat, the text disappears again. I assume I have to embed bold fonts, but I'm not sure how to do that. Thanks.(-:
  14. sherwoodclark

    Making a flash object not clickable

    When you say the flash at the top gets in the way, I'm not sure what you mean. I was able to navigate through your site just fine, although the flash file did have the "click to activate" tooltip pop up along with the highlighted border. However, once you click on it, it disappears. Why not...
  15. sherwoodclark

    Dynamic Text Embed Fonts

    Yes, I had bold enabled in the authoring environment. Removing that fixed the problem. Thanks!!!
  16. sherwoodclark

    Help with angles

    I assume the tank gun is a movieclip. Now make sure the movieclip rotate point is at the end of the gun. Do this by selecting your movieclip, pressing the letter Q and then moving the rotate point, which should be the circle currently in the center of the movieclip to the roate point desired...
  17. sherwoodclark

    Dynamic Text Embed Fonts

    I can't get dynamic text to work with embedded fonts. I put a dynamic text field, 'my_txt' on the stage and entered 'Sample Text' into the text field with Arial 12 pt bold. I then clicked on 'Embed...' and included upper and lower case characters. The text shows up fine when I test movie...
  18. sherwoodclark

    Using PrintJob in Flash with FireFox browser

    OKAY, I found the problem. I had the SWF file wmode set to 'transparent.' I had to set it to 'opaque' to get the printing to work as I would like. Everything works as I expect now in both FireFox and IE6-7
  19. sherwoodclark

    Using PrintJob in Flash with FireFox browser

    Thanks for the suggestion. I added {printAsBitMap:true} to and that didn't fix the problem. Here's some more info. The flash file containing the movieclip I want to print is on an HTML page enclosed in a <div> tag. If that is the only <div> I have on the HTML page, printing works fine in...
  20. sherwoodclark

    Using PrintJob in Flash with FireFox browser

    I am using PrintJob to print a movieclip that is masked by another movieclip. I rotate the movieclip (and the mask) to get a landscape orientation when I print. Then I rotate it back. I move the content movieclip under the mask and print multiple pages using the PrintJob.addPage method. The...

Part and Inventory Search

Back
Top