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 Wanet Telecoms Ltd 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: *

  • Users: frozenpeas
  • Content: Threads
  • Order by date
  1. frozenpeas

    Conflict between .buttonMode and KeyboardEvent?

    Hello, I've made a game. But as soon as I enable buttonMode for my buttons ('play game', 'instructions', etc) it breaks my keyboard controls for the game. stage.addEventListener(KeyboardEvent.KEY_DOWN, keyIsDown); Once I set btnPlay.buttonMode = true, the keyIsDown function is no longer...
  2. frozenpeas

    DOM troubles and inconsistencies

    Hi, I'm building a Mac dashboard widget. My problem comes down to this line: var todaysTitle = todaysNode.getElementsByTagName("title").length+" title nodes"; On Mac OS 10.5.4, this returns a length value of 1. On Mac OS 10.4.11, this returns a length value of 0. Does anyone know why this is...
  3. frozenpeas

    Load external SWF with transparent background

    Hi, This is not about Flash being transparent in an HTML page, wmode, or anything like that. I'm importing an SWF but its white background is visible overtop of the other content. I need to see only the contents of the imported SWF and not its background. How can I do this? Thanks in advance...
  4. frozenpeas

    Parse Atom feed?

    Hi, I'm by no means a JS pro. I've been Googling for hours, trying to find a way to parse an Atom feed with JS, so I can display the most recent post of an Atom feed in an HTML page. Has anyone here done this who can provide some help? Thanks. frozenpeas
  5. frozenpeas

    Need help understanding scope in AS3

    Hi all, I am finally making the switch to AS3 but am having some problems. I think it boils down to a misunderstanding about scope. public class Main contains: public var xmlData:XMLLoader = new XMLLoader(); public class XMLLoader.as contains: public var myArray:Array = new...
  6. frozenpeas

    imagecopy cropping troubles

    I am trying to copy a part of one image to another. My trouble is that with portrait images, the aspect ratio gets squashed. I have tried the following: I figured it was because of $newwidth and $newheight... so I tried an if/else to swap them for portrait/landscape. But I got the same...
  7. frozenpeas

    trouble with imagecopymerge

    Hi, I am having trouble laying a PNG with transparency over a jpg using imagecopymerge. I believe I am having one of the following problems: 1. the PNG file is not being loaded with its alpha channel 2. I have an error in the way I'm using imagecopymerge The result I am getting is a jpg of...
  8. frozenpeas

    IE back button confused with Flash in page

    Hello, If you visit this page: http://www.sgi.sk.ca/sgi_pub/about_sgi/locations/locations_main.htm then in the right side menu click on "Find a Motor Licence Issuer" or "Find a Certified Vehicle Inspection Station"... the back button does not take you back; it reloads the current page. I...
  9. frozenpeas

    Pre-comp not rendering with Main comp

    Hello, I created a pre-comp that contains a PSD composition that has various effects. This pre-comp looks fine when I RAM preview it. But when I RAM preview (or export) the main comp that contains the pre-comp, the pre-comp does not render. Instead, it shows only the first frame of the pre-comp...
  10. frozenpeas

    Part of query is failing

    Hello, I am updating a record in my db with the following line (using PHP/MySQL): $query = "UPDATE users SET name='$name',level='$level',active='$active' WHERE id='$id'"; The trouble spot is the value for 'level'. This can be one of two options, 'limited' or 'full'. For some reason, I can...
  11. frozenpeas

    Glitch in dynamic drop down

    Hello, I searched the forum and FAQ section for help on this but came up empty. Each select item in my dynamically generated drop down is followed by a blank one. For example it looks like: Please select... (option 1) ( ) (option 2) ( ) (option 3) ( ) (option 4) I...
  12. frozenpeas

    Banned word filter?

    Hi, I am trying to disallow banned words in an input string. The trouble is that my function will catch the banned word only if it is the only thing entered. It will allow it if other characters are present in the string. For example, if the banned word is FACK: FACK as input is disallowed...
  13. frozenpeas

    String validation trouble

    Hello, I am trying to limit a string to only alphanumeric characters. The trouble is that it will allow illegal characters as long as legal characters are also in the string. "THIRTY" is allowed; "30" is allowed; "+" is not allowed; "30+" is allowed but should not be allowed; Here is the...
  14. frozenpeas

    Detect component type?

    Hi, Is it possible (FMX2004) to detect if an element is a checkbox? I would like to handle the checkbox values differently than other components. Thanks. frozenpeas -- Micfo.com Affiliate Program
  15. frozenpeas

    Dynamic image alpha from loop

    Hi, I have tried a few methods but I'll lead the post with this one. The value for j is tracing properly (100 through 0) but I cannot apply the value to picHolder's alpha property. If I set picHolder._alpha to a static value, it sets the alpha. But it refuses to take the j value. Thanks...
  16. frozenpeas

    Lost i value within loop

    Hi, Everything below works as expected, until the onRelease action is called. The instance names are correct, but the i value within the onRelease comes out as 4 (the length of my array) for every button. Any ideas? Thank you. for(i=0;i<picArray.length;i++){ //create button on stage...
  17. frozenpeas

    GIF stuck on first frame?

    Using ImageReady CS2, I have created two banner ads for a client. I sent them to him, and am told that one of them doesn't go past the first frame. Both banner ads can be viewed here: http://www.stephenpeasley.com/smallman/banners.html When the client views this page, both banners work fine...
  18. frozenpeas

    Dropdown menu help

    Hello, This seems to be working fine in IE, but a submenu (Shows > Now Playing) won't show in Firefox. The page is here http://www.hectik.ca/ I'm on Windows 2k. Firefox 1.0.7. Thanks! frozenpeas -- Micfo.com Affiliate Program
  19. frozenpeas

    Query problem

    Hello, For the life of me, I cannot get this to work. Can anyone see what is wrong? <?php require_once('connections/connect.php'); mysql_select_db($database_connect,$connect); $query = "SELECT * FROM hectik ORDER BY date DESC,id"; $myQuery = mysql_query($query) or die("Could not query...
  20. frozenpeas

    myVars.sendAndLoad issues

    Hi, I have created a survey in Flash MX 2004 (Win2k Pro) and am having problems communicating with the CGI script. The script is outputting, for example: &errMsg=Please fill in all fields; qCount = 14; //number of survey questions survey_name = "yac_survey_conf1"; //unique survey name myVars...

Part and Inventory Search

Back
Top