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...
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...
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...
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
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...
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...
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...
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...
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...
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...
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...
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...
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...
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
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...
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...
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...
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
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.