in FlashBuilder 4 beta 2, I've subclassed mx.containers.Panel, adding a public method to hide the titleBar:
public function hideTitleBar(): void {
if (null != this.titleBar){
this.titleBar.visible=false;
}
}
I step through the code and see that the method is being invoked and that titleBar exis...
I am trying to implement paypal payment in as3. But the return variable conflicts with an as3 keyword. So how to set return variable for returning from paypal to merchant site.
...
I know there is something I am doing wrong. In my controls I have keydown events that control my hero. As of right now, I am trying to rotate my hero but he refuses to turn . Below is my Hero Class, my control class, and gameobject class. pretty much all the classes associate with the controls class.
package com.Objects
{
import c...
Hello
Here's my current code:
if (Key.isDown(Key.UP)) {
//do stuff
}
What I want to do, is to detect if user presses a button. My code atm just detects if it's pressed down continueusly. Is there a way to detect when user only presses it down, doesn't hold it down?
And please, no AS3 answers here.
Martti Laine
...
It seems allot of questions for Flash/Flex are related to bugs in the Flash Player. What are some of the bugs and what is the workaround. It would be nice to compile a list of known bugs and common workarounds.
Example:
In Flash Player 10 the DoubleClick event does not trigger in Firefox. The workaround is to avoid using the DoubleClick...
I'm trying to read the width and height of a locally loaded image. This seems to work for images that do not exceed the dimensions limited by the Flash Player 10 (http://kb2.adobe.com/cps/496/cpsid_49662.html), but as soon as the images are bigger, the width and height remain 0. The strange thing is that now and then, I can read the dime...
I am creating a web service application which will serve charts (i.e. line graphs, bar charts, pie charts, etc) in either Flash or PNG/Jpeg format. Most users will of course want the Flash version. But for the small version that can't support Flash I would like to have the "Flash Screen Shot" rendered as a static graphic image.
I am s...
When i'm trying to mode flash via javascript inside tag it crashes in Opera 9.01
Working fine in 10.01 and 10.10. Working in the rest browsers too.
Is there a fix for that?
Linking object:
http://www.copypastecode.com/22095/
Someone had such issue?
...
This link will show you what I'm trying to do, but in AS3 and with additional features I've described below:
http://www.kirupa.com/developer/mx/slider.htm
Sliders will have different max and min values (5-100, 0-80, etc)
Need to be able to modify the text in the dynamic box, which also manipulates the slider. For instance, I'd like to ...
I am working on a department website that needs to be standards compliant (xhtml 1.0 transitional), but embedded flash keeps breaking the validation. We use the <embed> tag because we need to support most major browsers.
We can't use external tools, since the site is managed through a system and the admins don't like us putting extra to...
I created an image uploader for an app I am working on. I first used php for the server side script, and everything worked fine. I found out afterwards I had to use .net, so I created new serverside scripts. The problem I am having is that my event.COMPLETE listener is never firing. I can receive data back using a DATAEVENT listener, bu...
Alchemy allows users to compile C and C++ code that is targeted to run on the open source ActionScript Virtual Machine (AVM2). While this idea seems really promising has anyone had success with this - if so are there examples?
I was wanting to convert some old DOS programs to SWF so they could be ran in the browser.
...
With what I’ve got now, which which is “dynamic text” counting, how can I improve it with animation? I want “scrolling” like and odometer, and also want “ticking” like an LED.
Parts I’m having problems with
a. have the counter push array with different images “half understand this”
b. need animation to be a object I can change out “LE...
Hi there, Im new here and I got a question, I need to use a movieclip on a mesh, I mean, make that the shape of my movieclip fits in a mesh, my movieclip now have a rectangular form, and I want it to adopt a cylindrical one.
Obviously, I want that my moviecliip keep all its funcionality, buttons, animations, etc.
Thx in advance.
Cyas....
I'm trying to figure out the extent of flash 10's GPU acceleration capabilities. Is it possible to get 100% of your code GPU accelerated, or is only certain sandboxed functions? Even if I have to go outside the browser to get it, or to know exactly how much and what kind of GPU acceleration I can achieve inside the browser.
A link to a ...
I am using the blitting technique that jeff from 8bitrocket.com uses for creating tiles. I am trying to paint 2 layers of bitmapdata onto a bitmap. One the first layer is the background ( 1 image). and the second layer is the tiles. In that class below. the updateMap is the method that gets called in the loop to repaint the image.
packa...
Well that's the problem. Creating an RSS reader. One feature is that should parse several "category" nodes from a feed. But when I load a feed, the category doesn't shows up in the text area. Flash returns no errors.
Heres the code -
var curStory = rssXML.channel.item[evt.target.selectedIndex]
var catlist:XMLList = curStory.categor...
Hello.
I'm building wordpress blog themed in flash and I've already run into one problem.
this doctype:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Will not let me scale my .swf to 100% width and 100% height. Width is fine, but the height is not.
my c...
How to check if sth alr exist on stage? Shldn't it print out "doesn't exist" for the 1st one and "exist" for the second one? But it prints out "doesn't exist" for both.
I added a timer cos I thought need to wait for a while for it to add to the stage, but it doesn't work.
var idonnoe:TextField = new TextField();
if (Boolean(this.getCh...
This is my reference dress-up game website.
http://www.dressupgirl.net/dressup/1552/Christmas-is-Here.html
Anyone can tell me that is this game using the Actionscripts 3.0 or 2.0?
How to make the scrolling button and drag out the clothes inside the scrolling bar location?(is it need to use the actionscripts 3.0 or 2.0,which coding should...