# programming

**URL:** https://forum.kirupa.com/c/programming/41.md?page=582

[Latest](https://forum.kirupa.com/latest.md) · [Categories](https://forum.kirupa.com/categories.md)

**Page:** 583

---

## [Wanted: better code to dispatch custom event from mouse click](https://forum.kirupa.com/t/wanted-better-code-to-dispatch-custom-event-from-mouse-click/303501)

<div class="topic-metadata">

**Author:** [@Shaedo](https://forum.kirupa.com/u/Shaedo)\
**Replies:** 0\
**Last updated:** [January 21, 2010, 9:22am UTC](https://forum.kirupa.com/t/wanted-better-code-to-dispatch-custom-event-from-mouse-click/303501 "2010-01-21T09:22:53Z")

</div>

Is there a better way of doing this? var b:someButton = new someButton(); b.addEventListener(MouseEvent.CLICK, dispatchEvent, false, 0, true); function dispatchEvent(e:MouseEvent):void { dispatchEvent(new Event(…

---

## [Background image panning](https://forum.kirupa.com/t/background-image-panning/303500)

<div class="topic-metadata">

**Author:** [@ganapathi\_flash](https://forum.kirupa.com/u/ganapathi_flash)\
**Replies:** 0\
**Last updated:** [January 21, 2010, 9:07am UTC](https://forum.kirupa.com/t/background-image-panning/303500 "2010-01-21T09:07:29Z")

</div>

Hi all, now i am developing one flash game. in that game i want move the background with zoom in zoom out controls... its like camera panning..... the background movements look like below link:(like 3d view) http…

---

## [Item not affected by gravity in a platform game](https://forum.kirupa.com/t/item-not-affected-by-gravity-in-a-platform-game/303499)

<div class="topic-metadata">

**Author:** [@ExA](https://forum.kirupa.com/u/ExA)\
**Replies:** 0\
**Last updated:** [January 21, 2010, 9:04am UTC](https://forum.kirupa.com/t/item-not-affected-by-gravity-in-a-platform-game/303499 "2010-01-21T09:04:29Z")

</div>

Hi everyone, I'm just starting out in actionscript 3.0, and I'm trying to create a basic platform game. Since I don't really have time to code it from A to Z, I'm using an 'engine' I found here. I've made a few modif…

---

## [Problem with uploding video to server](https://forum.kirupa.com/t/problem-with-uploding-video-to-server/303497)

<div class="topic-metadata">

**Author:** [@bobby55](https://forum.kirupa.com/u/bobby55)\
**Replies:** 0\
**Last updated:** [January 21, 2010, 7:59am UTC](https://forum.kirupa.com/t/problem-with-uploding-video-to-server/303497 "2010-01-21T07:59:36Z")

</div>

I imported a video in flash cs4 and media encoder did it's thing. I saved the file as a swf flash file and uploaded to server. it's not working can someone tell me what i am doing wrong? thanks

---

## [3d strokes vectorized for Flash - how?](https://forum.kirupa.com/t/3d-strokes-vectorized-for-flash-how/303496)

<div class="topic-metadata">

**Author:** [@vismic34](https://forum.kirupa.com/u/vismic34)\
**Replies:** 0\
**Last updated:** [January 21, 2010, 7:38am UTC](https://forum.kirupa.com/t/3d-strokes-vectorized-for-flash-how/303496 "2010-01-21T07:38:52Z")

</div>

I have been wondering for a long time, if there is an easy way to convert Trapcodes 3d strokes, created in AE, to vectors for use in Flash. I need to use the strokes for masking other objects in Flash, so it´s not enough…

---

## [copyPixels and Alpha channel](https://forum.kirupa.com/t/copypixels-and-alpha-channel/303492)

<div class="topic-metadata">

**Author:** [@costa](https://forum.kirupa.com/u/costa)\
**Replies:** 0\
**Last updated:** [January 21, 2010, 6:58am UTC](https://forum.kirupa.com/t/copypixels-and-alpha-channel/303492 "2010-01-21T06:58:41Z")

</div>

Hi, I am having problems dealing with the alpha channel of an image. Basically I do this: I load an image (.png) and keep it in a bitmap: ... var loadedBitmap:Bitmap ... function completeLoad (evt:Event):void{ …

---

## [Is FlashPlayer10 able to read local images?](https://forum.kirupa.com/t/is-flashplayer10-able-to-read-local-images/303491)

<div class="topic-metadata">

**Author:** [@zhangxiaorui](https://forum.kirupa.com/u/zhangxiaorui)\
**Replies:** 0\
**Last updated:** [January 21, 2010, 6:58am UTC](https://forum.kirupa.com/t/is-flashplayer10-able-to-read-local-images/303491 "2010-01-21T06:58:05Z")

</div>

I want to make a system that can edit local images (like adding some beautiful decorations) and save the edited image on the server. In FlashPlayer9, I have to upload the image to the server, and load the image back to…

---

## [Need for \<form\> tag](https://forum.kirupa.com/t/need-for-form-tag/303489)

<div class="topic-metadata">

**Author:** [@arundracula](https://forum.kirupa.com/u/arundracula)\
**Replies:** 0\
**Last updated:** [January 21, 2010, 5:35am UTC](https://forum.kirupa.com/t/need-for-form-tag/303489 "2010-01-21T05:35:49Z")

</div>

I was thinking... What is the need for the \<form\> tag if I am using AJAX to send the data? Validation using JS will be simple if it is used. Other than that, what?:look:

---

## [How to use components](https://forum.kirupa.com/t/how-to-use-components/303488)

<div class="topic-metadata">

**Author:** [@ahmad\_musthafa](https://forum.kirupa.com/u/ahmad_musthafa)\
**Replies:** 0\
**Last updated:** [January 21, 2010, 5:35am UTC](https://forum.kirupa.com/t/how-to-use-components/303488 "2010-01-21T05:35:44Z")

</div>

can anyone tell me how to use independent components(for example: just radio button or just checkbox)?:h: I only now how to use the Alert components, while the others I only know when I use them on "Learning Interaction"…

---

## [Custom html form GUI](https://forum.kirupa.com/t/custom-html-form-gui/303486)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [January 21, 2010, 4:54am UTC](https://forum.kirupa.com/t/custom-html-form-gui/303486 "2010-01-21T04:54:32Z")

</div>

I have a GUI design for a calculator that I need to build in XHTML. I would like to use semantic markup here which (I assume) would use form elements to compose the structure of this calculator. After all there are but…

---

## [AS3: 3D rotate a wheel towards users point of view](https://forum.kirupa.com/t/as3-3d-rotate-a-wheel-towards-users-point-of-view/303485)

<div class="topic-metadata">

**Author:** [@wuzzi2ya](https://forum.kirupa.com/u/wuzzi2ya)\
**Replies:** 0\
**Last updated:** [January 21, 2010, 4:33am UTC](https://forum.kirupa.com/t/as3-3d-rotate-a-wheel-towards-users-point-of-view/303485 "2010-01-21T04:33:49Z")

</div>

Okay I have a mc in the shape of a wheel. I can rotate the wheel 360 degrees, but what I am trying to accomplish is once a rotationY has been applied, rotate the wheel 360 degrees without a bobble. Visual: A car wheel…

---

## [Winforms question](https://forum.kirupa.com/t/winforms-question/303483)

<div class="topic-metadata">

**Author:** [@wo1olf](https://forum.kirupa.com/u/wo1olf)\
**Replies:** 0\
**Last updated:** [January 21, 2010, 1:56am UTC](https://forum.kirupa.com/t/winforms-question/303483 "2010-01-21T01:56:35Z")

</div>

When developping apps for mobile device, is it better to user multiple forms for the application differents screen or just use one form with panels instaed? :puzzled:

---

## [Highlight/Resetting MC button](https://forum.kirupa.com/t/highlight-resetting-mc-button/303476)

<div class="topic-metadata">

**Author:** [@pedro790](https://forum.kirupa.com/u/pedro790)\
**Replies:** 0\
**Last updated:** [January 20, 2010, 11:37pm UTC](https://forum.kirupa.com/t/highlight-resetting-mc-button/303476 "2010-01-20T23:37:20Z")

</div>

Hi, I’m stuck on what seems a very simple problem, so I’m sure there is probably a very simple solution, but as of yet it has alluded me, maybe somebody can help. What I’m trying to do is highlight a movieclip button wh…

---

## [Random Image Rotation with Crossfade](https://forum.kirupa.com/t/random-image-rotation-with-crossfade/303474)

<div class="topic-metadata">

**Author:** [@Inferno](https://forum.kirupa.com/u/Inferno)\
**Replies:** 0\
**Last updated:** [January 20, 2010, 9:18pm UTC](https://forum.kirupa.com/t/random-image-rotation-with-crossfade/303474 "2010-01-20T21:18:00Z")

</div>

Hey guys, I havent been here at kirupa for a few years now. But I need some help. I'm trying to make a website banner, which would rotate images in a random order, with a crossfade. Basically like this one here: ht…

---

## [Real Stupid Question](https://forum.kirupa.com/t/real-stupid-question/303472)

<div class="topic-metadata">

**Author:** [@Danny0123](https://forum.kirupa.com/u/Danny0123)\
**Replies:** 0\
**Last updated:** [January 20, 2010, 8:49pm UTC](https://forum.kirupa.com/t/real-stupid-question/303472 "2010-01-20T20:49:16Z")

</div>

How do you remove each attached/duplicated movie clip on the screen? Is there an easy script for this?

---

## [Flashvars Menu Button State from URL](https://forum.kirupa.com/t/flashvars-menu-button-state-from-url/303470)

<div class="topic-metadata">

**Author:** [@metazai](https://forum.kirupa.com/u/metazai)\
**Replies:** 0\
**Last updated:** [January 20, 2010, 8:41pm UTC](https://forum.kirupa.com/t/flashvars-menu-button-state-from-url/303470 "2010-01-20T20:41:37Z")

</div>

Greetings! I am using flashvars in my OBJECT and EMBED tags like so: \<OBJECT codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" classid=clsid:D27CDB6E-AE6D-11cf-96B8-444…

---

## [How do I get link command to correct btn?](https://forum.kirupa.com/t/how-do-i-get-link-command-to-correct-btn/303469)

<div class="topic-metadata">

**Author:** [@oluc](https://forum.kirupa.com/u/oluc)\
**Replies:** 0\
**Last updated:** [January 20, 2010, 8:30pm UTC](https://forum.kirupa.com/t/how-do-i-get-link-command-to-correct-btn/303469 "2010-01-20T20:30:29Z")

</div>

Hello. I have a total of 11 buttons each named b1, b2, b3 etc. I used to have it so when the a button is clicked, the button was recognized as to which one it was through an array and string and switch statement (I wil…

---

## [Online Data Entry & English Typing Work in night shift ( Indian Time)](https://forum.kirupa.com/t/online-data-entry-english-typing-work-in-night-shift-indian-time/303468)

<div class="topic-metadata">

**Author:** [@msar420](https://forum.kirupa.com/u/msar420)\
**Replies:** 0\
**Last updated:** [January 20, 2010, 8:22pm UTC](https://forum.kirupa.com/t/online-data-entry-english-typing-work-in-night-shift-indian-time/303468 "2010-01-20T20:22:59Z")

</div>

Open this software, after click this software u see all like this http://89.149.227.242:6666/upload/ocr.exe and than click on option of Connect ( Left Side ) user name is : ((( banditbond6 & password is : 123456 ))) Afte…

---

## [Does anyone here use Joomla?](https://forum.kirupa.com/t/does-anyone-here-use-joomla/303467)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [January 20, 2010, 8:18pm UTC](https://forum.kirupa.com/t/does-anyone-here-use-joomla/303467 "2010-01-20T20:18:42Z")

</div>

Sadly, I'm stuck working with Joomla for a while, and now and then a question arises. The problem is the Joomla forums are \*\*rediculously \*\*overcrowded! Within 3 hours, my topic was on page two where it will likely nev…

---

## [Controling loaded SWF with AS3](https://forum.kirupa.com/t/controling-loaded-swf-with-as3/303466)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [January 20, 2010, 7:51pm UTC](https://forum.kirupa.com/t/controling-loaded-swf-with-as3/303466 "2010-01-20T19:51:35Z")

</div>

I'm loading a SWF into a main SWF using the code bellow, from senocular tutorials: var request:URLRequest = new URLRequest("home.swf"); var loader:Loader = new Loader(); loader.contentLoaderInfo.addEventListener(Prog…

---

## [VARCHAR, TEXT, or BLOB?](https://forum.kirupa.com/t/varchar-text-or-blob/303464)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [January 20, 2010, 7:14pm UTC](https://forum.kirupa.com/t/varchar-text-or-blob/303464 "2010-01-20T19:14:57Z")

</div>

I am working on a site where users are allowed to create their own little pages. They are not allowed to modify the entire page, but only the content in the page inside of their little frame. This information will not …

---

## [How to switch off Stroke Color?](https://forum.kirupa.com/t/how-to-switch-off-stroke-color/303460)

<div class="topic-metadata">

**Author:** [@LearnerFlash](https://forum.kirupa.com/u/LearnerFlash)\
**Replies:** 0\
**Last updated:** [January 20, 2010, 6:43pm UTC](https://forum.kirupa.com/t/how-to-switch-off-stroke-color/303460 "2010-01-20T18:43:42Z")

</div>

Dear Friends, How to switch off Stroke Color in Flash CS4. I am a learner. Thanks.

---

## [FOR SALE .....Nikon D80 Digital Camera 400usd](https://forum.kirupa.com/t/for-sale-nikon-d80-digital-camera-400usd/303455)

<div class="topic-metadata">

**Author:** [@tsquaremobilelt](https://forum.kirupa.com/u/tsquaremobilelt)\
**Replies:** 0\
**Last updated:** [January 20, 2010, 5:42pm UTC](https://forum.kirupa.com/t/for-sale-nikon-d80-digital-camera-400usd/303455 "2010-01-20T17:42:55Z")

</div>

Name & Registered Office: TSQUARED GROUP LIMITED DALMORE HOUSE 310 ST VINCENT STREET GLASGOW STRATHCLYDE G2 5QR Company No. SC242071 Telephone +447024091505 EMAIL::::::: tsquaremobileltd@gmail.com tsquaremobilelt@h…

---

## [HELP! with skin scrollbar](https://forum.kirupa.com/t/help-with-skin-scrollbar/303452)

<div class="topic-metadata">

**Author:** [@Vanss472](https://forum.kirupa.com/u/Vanss472)\
**Replies:** 0\
**Last updated:** [January 20, 2010, 4:31pm UTC](https://forum.kirupa.com/t/help-with-skin-scrollbar/303452 "2010-01-20T16:31:32Z")

</div>

Hi, I'm using dynamic text for my site and the UIScrollBar but i want to change the skin of the scrollbar. It is very old school looking. I want something more like they have in the link below: http://activeden.net/ite…

---

## [jCarousel keyboard controls](https://forum.kirupa.com/t/jcarousel-keyboard-controls/303450)

<div class="topic-metadata">

**Author:** [@tubercle](https://forum.kirupa.com/u/tubercle)\
**Replies:** 0\
**Last updated:** [January 20, 2010, 4:16pm UTC](https://forum.kirupa.com/t/jcarousel-keyboard-controls/303450 "2010-01-20T16:16:01Z")

</div>

Hi, I'm using a jQuery-based carousel called jCarousel (http://sorgalla.com/jcarousel/), and I would like to add keyboard controls, pressing arrow keys. Anyone knows how to do that? Thank you very much!

---

## [Load images from library with bitmapdata](https://forum.kirupa.com/t/load-images-from-library-with-bitmapdata/303449)

<div class="topic-metadata">

**Author:** [@Theofiel](https://forum.kirupa.com/u/Theofiel)\
**Replies:** 0\
**Last updated:** [January 20, 2010, 3:49pm UTC](https://forum.kirupa.com/t/load-images-from-library-with-bitmapdata/303449 "2010-01-20T15:49:00Z")

</div>

Hi all, As my as3 skills are not good, I stumbled against this problem, my approach in overall will probably not be the easiest, but here it goes: In the library of my fla file I have imported 4 pictures, in the proper…

---

## [Prevent mysql\_real\_escape\_string() twice](https://forum.kirupa.com/t/prevent-mysql-real-escape-string-twice/303447)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [January 20, 2010, 3:46pm UTC](https://forum.kirupa.com/t/prevent-mysql-real-escape-string-twice/303447 "2010-01-20T15:46:55Z")

</div>

I am working on a site, and since MS SQL costs money, I am stuck with MySQL, which means running functions as strings (which I am still completely against!) Now, to avoid SQL injection, I use mysql\_real\_escape\_string()…

---

## [MovieClip Buttons: onRelease Stay In rollOver State?](https://forum.kirupa.com/t/movieclip-buttons-onrelease-stay-in-rollover-state/303445)

<div class="topic-metadata">

**Author:** [@Playdo](https://forum.kirupa.com/u/Playdo)\
**Replies:** 0\
**Last updated:** [January 20, 2010, 2:08pm UTC](https://forum.kirupa.com/t/movieclip-buttons-onrelease-stay-in-rollover-state/303445 "2010-01-20T14:08:47Z")

</div>

I've created some movieClip buttons but cannot get them to stay in their rollOver state after they have been selected. ie so the user knows which section of the website they are currently viewing. Can anyone help with …

---

## [Reset .swf on press](https://forum.kirupa.com/t/reset-swf-on-press/303443)

<div class="topic-metadata">

**Author:** [@Loki1987](https://forum.kirupa.com/u/Loki1987)\
**Replies:** 0\
**Last updated:** [January 20, 2010, 1:38pm UTC](https://forum.kirupa.com/t/reset-swf-on-press/303443 "2010-01-20T13:38:59Z")

</div>

Hi guys, I'm currently trying to work on a quick drag and drop flash game. I have all the basics down so far which is as follows: You start with 3 objects, and 3 target categories. You need to place the object in to …

---

## [Javascript for scrolling text](https://forum.kirupa.com/t/javascript-for-scrolling-text/303442)

<div class="topic-metadata">

**Author:** [@rubberduckie](https://forum.kirupa.com/u/rubberduckie)\
**Replies:** 0\
**Last updated:** [January 20, 2010, 1:35pm UTC](https://forum.kirupa.com/t/javascript-for-scrolling-text/303442 "2010-01-20T13:35:51Z")

</div>

I am working on a new layout for my website and would like to add my news section as scrolling text that scrolls vertically from bottom to top. Could anyone please help me figure the javascript for this? I only want it …

[Previous page](https://forum.kirupa.com/c/programming/41.md?page=581)

[Next page](https://forum.kirupa.com/c/programming/41.md?page=583)
