# programming

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

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

**Page:** 139

---

## [What is the as3 code to make DataGrid columns adjustable (Expandable)?](https://forum.kirupa.com/t/what-is-the-as3-code-to-make-datagrid-columns-adjustable-expandable/330149)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [December 7, 2012, 8:03am UTC](https://forum.kirupa.com/t/what-is-the-as3-code-to-make-datagrid-columns-adjustable-expandable/330149 "2012-12-07T08:03:21Z")

</div>

Hi, How can I expand the column of a DataGrid when the text is lengthy? Adjustable columns width when required to expand a column. I mean not fixed column width. Please provide me the as3 code. Thanks.

---

## [Export frame for classes - preload issue](https://forum.kirupa.com/t/export-frame-for-classes-preload-issue/330148)

<div class="topic-metadata">

**Author:** [@helppp](https://forum.kirupa.com/u/helppp)\
**Replies:** 0\
**Last updated:** [December 7, 2012, 4:28am UTC](https://forum.kirupa.com/t/export-frame-for-classes-preload-issue/330148 "2012-12-07T04:28:40Z")

</div>

I have a fla with several mp3/wav files that are linked with AS. For each file, the AS sound properties are set to export in frame 2. They are also set to export on frame 2 in the AS publish settings. However, when the e…

---

## [How to enable the button only when all targets are dragged?](https://forum.kirupa.com/t/how-to-enable-the-button-only-when-all-targets-are-dragged/330140)

<div class="topic-metadata">

**Author:** [@Utaiweb\_Wu](https://forum.kirupa.com/u/Utaiweb_Wu)\
**Replies:** 0\
**Last updated:** [December 6, 2012, 12:24pm UTC](https://forum.kirupa.com/t/how-to-enable-the-button-only-when-all-targets-are-dragged/330140 "2012-12-06T12:24:28Z")

</div>

Dear flash masters, My question is how to go to go to previous/next frame after 'monkey' and 'dog' are both dragged out of the scrollpane. The file is placed below: https://www.sugarsync.com/pf/D9726155\_61875891\_2494…

---

## [Change indentation in Sass](https://forum.kirupa.com/t/change-indentation-in-sass/330138)

<div class="topic-metadata">

**Author:** [@Vincentas](https://forum.kirupa.com/u/Vincentas)\
**Replies:** 0\
**Last updated:** [December 6, 2012, 9:28am UTC](https://forum.kirupa.com/t/change-indentation-in-sass/330138 "2012-12-06T09:28:59Z")

</div>

Hi, How can I change indentation from 2 spaces to 4 spaces in output CSS files when using Sass? I'm using expanded style. I don't know anything about Ruby, but I have tried to read every rb file in /Library/Ruby/Gem…

---

## [Large video image losing quality when shrinking](https://forum.kirupa.com/t/large-video-image-losing-quality-when-shrinking/330136)

<div class="topic-metadata">

**Author:** [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Replies:** 0\
**Last updated:** [December 6, 2012, 1:23am UTC](https://forum.kirupa.com/t/large-video-image-losing-quality-when-shrinking/330136 "2012-12-06T01:23:01Z")

</div>

Hi All, I have a video that is 1300x731 in my flash player. I'm sizing the video down to 500x281 but when I do, the quality of the video gets distorted. For example, there is text on the screen of the video but then…

---

## [Why would the speed of my 'Enemy' increase over time?](https://forum.kirupa.com/t/why-would-the-speed-of-my-enemy-increase-over-time/330134)

<div class="topic-metadata">

**Author:** [@Adi\_Bradfield](https://forum.kirupa.com/u/Adi_Bradfield)\
**Replies:** 0\
**Last updated:** [December 5, 2012, 8:19pm UTC](https://forum.kirupa.com/t/why-would-the-speed-of-my-enemy-increase-over-time/330134 "2012-12-05T20:19:50Z")

</div>

I am writing a function for a game, so that an enemy moves towards the player at a constant speed. I did this using trig identities such as cos^2 + sin^2 = 1 to get a ratio of x displacement to y displacement, then mu…

---

## [Memory issue with flash player in IE](https://forum.kirupa.com/t/memory-issue-with-flash-player-in-ie/330129)

<div class="topic-metadata">

**Author:** [@destinier](https://forum.kirupa.com/u/destinier)\
**Replies:** 0\
**Last updated:** [December 5, 2012, 7:38am UTC](https://forum.kirupa.com/t/memory-issue-with-flash-player-in-ie/330129 "2012-12-05T07:38:25Z")

</div>

Hi all, I have been reported a flash player memory leak bug in IE. IE browser is not releasing the memory when the application runs. I am having two screens in that application which have videos playing. When selecti…

---

## [Tutorial: Adding reCAPTCHA to A Contact Form](https://forum.kirupa.com/t/tutorial-adding-recaptcha-to-a-contact-form/330128)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 5, 2012, 6:59am UTC](https://forum.kirupa.com/t/tutorial-adding-recaptcha-to-a-contact-form/330128 "2012-12-05T06:59:40Z")

</div>

\[COLOR=#333333\]Hi everyone,\[/COLOR\] \[COLOR=#333333\]This is the happening place to discuss all things related to the \[/COLOR\]\[Adding reCAPTCHA to A Contact Form\](http://www.kirupa.com/html5/adding\_reCAPTCHA\_to\_a\_contact\_f…

---

## [Export Flash to .mov](https://forum.kirupa.com/t/export-flash-to-mov/330124)

<div class="topic-metadata">

**Author:** [@jmtanner](https://forum.kirupa.com/u/jmtanner)\
**Replies:** 0\
**Last updated:** [December 4, 2012, 9:55pm UTC](https://forum.kirupa.com/t/export-flash-to-mov/330124 "2012-12-04T21:55:24Z")

</div>

I work with Flash CS5.5 on a MacPro with OS 10.7.5 with a 2 x 2.4 GHz Quad Core Intel Xeon processor and 32 GB 1066 MHz DDR3 memory with an ATI Radeon HD 5870 1024 MB graphics card. When I export my Flash to a .mov file …

---

## [Stop snow in next scene](https://forum.kirupa.com/t/stop-snow-in-next-scene/330123)

<div class="topic-metadata">

**Author:** [@Take\_A\_Picture](https://forum.kirupa.com/u/Take_A_Picture)\
**Replies:** 0\
**Last updated:** [December 4, 2012, 1:38pm UTC](https://forum.kirupa.com/t/stop-snow-in-next-scene/330123 "2012-12-04T13:38:31Z")

</div>

Hi, I was looking for a way to make it snow in flash, and I found this website with a very cool tutorial: http://www.kirupa.com/developer/flash8/snow.htm It works and looks awesome. Except that I have no idea how to …

---

## [UNDO REDO buttons in flash](https://forum.kirupa.com/t/undo-redo-buttons-in-flash/330122)

<div class="topic-metadata">

**Author:** [@keith12](https://forum.kirupa.com/u/keith12)\
**Replies:** 0\
**Last updated:** [December 4, 2012, 9:48am UTC](https://forum.kirupa.com/t/undo-redo-buttons-in-flash/330122 "2012-12-04T09:48:02Z")

</div>

Hi all, I'm pretty new to these forums and at the moment I am working on this little drawing application. I found this source code attached and what I will produce will be based on this. BUT...I'm just wondered is it p…

---

## [Variable in iframe src Error](https://forum.kirupa.com/t/variable-in-iframe-src-error/330121)

<div class="topic-metadata">

**Author:** [@Ikoten](https://forum.kirupa.com/u/Ikoten)\
**Replies:** 0\
**Last updated:** [December 3, 2012, 11:33pm UTC](https://forum.kirupa.com/t/variable-in-iframe-src-error/330121 "2012-12-03T23:33:39Z")

</div>

Hi I'm trying to figure out why this isn't yielding any results. Any insight very much appreciated. I have a .html page and eventually I will try to load this variable in from a database but for now I'm just taking it i…

---

## [To check validity of date](https://forum.kirupa.com/t/to-check-validity-of-date/330120)

<div class="topic-metadata">

**Author:** [@Su\_Wing\_Lee](https://forum.kirupa.com/u/Su_Wing_Lee)\
**Replies:** 0\
**Last updated:** [December 3, 2012, 4:43pm UTC](https://forum.kirupa.com/t/to-check-validity-of-date/330120 "2012-12-03T16:43:06Z")

</div>

Ask input from user in form of ddmmyy. Does if loop can check the validity of the date key in by user??

---

## [CS5 Action script 3 Go next and repeat frames again](https://forum.kirupa.com/t/cs5-action-script-3-go-next-and-repeat-frames-again/330119)

<div class="topic-metadata">

**Author:** [@Farzad\_Paridar](https://forum.kirupa.com/u/Farzad_Paridar)\
**Replies:** 0\
**Last updated:** [December 3, 2012, 10:22am UTC](https://forum.kirupa.com/t/cs5-action-script-3-go-next-and-repeat-frames-again/330119 "2012-12-03T10:22:12Z")

</div>

\[TABLE\] \[TR="bgcolor: transparent"\] \[TD="class: votecell, bgcolor: transparent"\]\[CENTER\]\[COLOR=#808185\]0\[/COLOR\]down votefavorite\[COLOR=#808185\]\[/COLOR\] \[/CENTER\] \[/TD\] \[TD="class: postcell, bgcolor: transparent"\]i have …

---

## [Embedding HTML in XML](https://forum.kirupa.com/t/embedding-html-in-xml/330118)

<div class="topic-metadata">

**Author:** [@ajay696](https://forum.kirupa.com/u/ajay696)\
**Replies:** 0\
**Last updated:** [December 3, 2012, 6:19am UTC](https://forum.kirupa.com/t/embedding-html-in-xml/330118 "2012-12-03T06:19:00Z")

</div>

\[COLOR=#000000\]\[FONT=tahoma\]Hi \[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=tahoma\]By using the below code we can make text bold by embedding\[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=tahoma\]HTML bold tag in XML\[/FONT\]\[/COLOR\] \[COLOR=…

---

## [Loading and Unloading the same SWF into a parent](https://forum.kirupa.com/t/loading-and-unloading-the-same-swf-into-a-parent/330117)

<div class="topic-metadata">

**Author:** [@Tiffany\_Rehsif](https://forum.kirupa.com/u/Tiffany_Rehsif)\
**Replies:** 0\
**Last updated:** [December 3, 2012, 5:48am UTC](https://forum.kirupa.com/t/loading-and-unloading-the-same-swf-into-a-parent/330117 "2012-12-03T05:48:29Z")

</div>

Hello, I just started working with loading external SWF's into a different SWF. Right now I have a swf called Hacker (text based mostly , using Main.as as its class), and another swf called GTC 1.1 . In Hacker I have a…

---

## [How to check the age by using birth date in C?](https://forum.kirupa.com/t/how-to-check-the-age-by-using-birth-date-in-c/330116)

<div class="topic-metadata">

**Author:** [@Su\_Wing\_Lee](https://forum.kirupa.com/u/Su_Wing_Lee)\
**Replies:** 0\
**Last updated:** [December 3, 2012, 2:04am UTC](https://forum.kirupa.com/t/how-to-check-the-age-by-using-birth-date-in-c/330116 "2012-12-03T02:04:45Z")

</div>

I'm new in C, and I would like to check the age of the user by input of birthday such as yymmdd,if more than 18 years old, then will proceed else will terminate the program. But i have try many time, it does not work. Ca…

---

## [Handle super big bitmap(s)](https://forum.kirupa.com/t/handle-super-big-bitmap-s/330114)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [December 2, 2012, 8:06pm UTC](https://forum.kirupa.com/t/handle-super-big-bitmap-s/330114 "2012-12-02T20:06:27Z")

</div>

Hello there! I'm creating a program that is loading tons of small pictures. (4000 pictures). I am adding pictures into a bitmap\*COLOR=#40e0d0\[/COLOR\]\* with bitmapData.draw(). Everything works well until I \*Zoom \*the bitm…

---

## [Web Service = WebMethod's and Database](https://forum.kirupa.com/t/web-service-webmethods-and-database/330113)

<div class="topic-metadata">

**Author:** [@Tunechi](https://forum.kirupa.com/u/Tunechi)\
**Replies:** 0\
**Last updated:** [December 2, 2012, 5:50pm UTC](https://forum.kirupa.com/t/web-service-webmethods-and-database/330113 "2012-12-02T17:50:54Z")

</div>

I am trying to write a web method that will enabled me to INSERT text directly to the sql table via a web service. I managed to view any text entered manually to the table, on the web service xml page. Want I want to do …

---

## [Can I work in Classes like this?](https://forum.kirupa.com/t/can-i-work-in-classes-like-this/330112)

<div class="topic-metadata">

**Author:** [@FJW](https://forum.kirupa.com/u/FJW)\
**Replies:** 0\
**Last updated:** [December 2, 2012, 11:33am UTC](https://forum.kirupa.com/t/can-i-work-in-classes-like-this/330112 "2012-12-02T11:33:49Z")

</div>

Hi I have a Main Class, a Menu Class, a Cuboid Class and a KeyPress Class. I am using away3d v4 with Flash CS6. So Main set up the view and KeyPress is called. On keyDown 'm', Menu.initmenu() is called and this all works…

---

## [tyepwriter\_mc and classic tween](https://forum.kirupa.com/t/tyepwriter-mc-and-classic-tween/330110)

<div class="topic-metadata">

**Author:** [@tHeNeWgUy](https://forum.kirupa.com/u/tHeNeWgUy)\
**Replies:** 0\
**Last updated:** [December 2, 2012, 3:11am UTC](https://forum.kirupa.com/t/tyepwriter-mc-and-classic-tween/330110 "2012-12-02T03:11:45Z")

</div>

Hi there, I'm trying to create a fade effect to a mc but i stuck. I converted a tet box to a mc and have a typewriter effect. So when it plays it doesnt stop. So i added a stop command but now it stops before the typew…

---

## [How to use the iOS Simulator with Flash CS6](https://forum.kirupa.com/t/how-to-use-the-ios-simulator-with-flash-cs6/330109)

<div class="topic-metadata">

**Author:** [@nbuechi](https://forum.kirupa.com/u/nbuechi)\
**Replies:** 0\
**Last updated:** [December 1, 2012, 8:01pm UTC](https://forum.kirupa.com/t/how-to-use-the-ios-simulator-with-flash-cs6/330109 "2012-12-01T20:01:18Z")

</div>

\[COLOR=#000000\]\[FONT=Arial\]As I heard, that using the iPhone Simulator in Flash CS 6 is now possible, I was really wondering to test my apps for the iPhone 5.\[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=Arial\]But honestly said, …

---

## [Membership management system PHP source code](https://forum.kirupa.com/t/membership-management-system-php-source-code/330105)

<div class="topic-metadata">

**Author:** [@primadg](https://forum.kirupa.com/u/primadg)\
**Replies:** 0\
**Last updated:** [November 30, 2012, 9:35pm UTC](https://forum.kirupa.com/t/membership-management-system-php-source-code/330105 "2012-11-30T21:35:27Z")

</div>

Guys, here is our source code of our membership management solution: http://primadg.com/membership-management-system/ What you can do: - manage members - sell membership access - sell downloadable products - send newsl…

---

## [Question about creating an Image "Quiz" that determines a result](https://forum.kirupa.com/t/question-about-creating-an-image-quiz-that-determines-a-result/330104)

<div class="topic-metadata">

**Author:** [@jpf566](https://forum.kirupa.com/u/jpf566)\
**Replies:** 0\
**Last updated:** [November 30, 2012, 9:11pm UTC](https://forum.kirupa.com/t/question-about-creating-an-image-quiz-that-determines-a-result/330104 "2012-11-30T21:11:12Z")

</div>

Hey everyone, I'm trying to figure out how I would make an image quiz like the one found here http://www.ethanallen.com/style\_quiz This seems to be made in Javascipt, unfortunately I only know HTML & CSSIs there any k…

---

## [Generating objects](https://forum.kirupa.com/t/generating-objects/330102)

<div class="topic-metadata">

**Author:** [@Kugarweb](https://forum.kirupa.com/u/Kugarweb)\
**Replies:** 0\
**Last updated:** [November 30, 2012, 7:29pm UTC](https://forum.kirupa.com/t/generating-objects/330102 "2012-11-30T19:29:11Z")

</div>

Hi there, What I would like to know is how to generate objects which randomly animate themselves to go from the top of the screen to the bottom. This will then form part of a simple avoidance game whereby the character…

---

## [Running video at start](https://forum.kirupa.com/t/running-video-at-start/330099)

<div class="topic-metadata">

**Author:** [@Acehole1](https://forum.kirupa.com/u/Acehole1)\
**Replies:** 0\
**Last updated:** [November 30, 2012, 10:19am UTC](https://forum.kirupa.com/t/running-video-at-start/330099 "2012-11-30T10:19:27Z")

</div>

Hello all, first post so please be gentle with me. And apologies if this is the wrong place to ask. i am very new to flash as you will find out, I have a very basic quiz using flash cs5 on my first frame I am trying to …

---

## [How can I control my external SWF width & height as per my requirement?](https://forum.kirupa.com/t/how-can-i-control-my-external-swf-width-height-as-per-my-requirement/330098)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [November 30, 2012, 7:00am UTC](https://forum.kirupa.com/t/how-can-i-control-my-external-swf-width-height-as-per-my-requirement/330098 "2012-11-30T07:00:45Z")

</div>

Hi, I have the following code which loads the external SWF (It is working fine). What I need now is to change its Width & Height according to my requirement. How can I modify the code? var X1pos:Number = 0; var Y1po…

---

## [\[HELP\] HTTP Streaming Video Freeze](https://forum.kirupa.com/t/help-http-streaming-video-freeze/330097)

<div class="topic-metadata">

**Author:** [@fauziimamb](https://forum.kirupa.com/u/fauziimamb)\
**Replies:** 0\
**Last updated:** [November 30, 2012, 4:38am UTC](https://forum.kirupa.com/t/help-http-streaming-video-freeze/330097 "2012-11-30T04:38:09Z")

</div>

Hi all, Sorry, if my English is bad. I have a problem. I have made a Video Player using NetStream Class and using VLC as HTTP Streaming Server. This is my code : package { import flash.display.MovieClip; …

---

## [What will be the stage width and height?](https://forum.kirupa.com/t/what-will-be-the-stage-width-and-height/330094)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [November 29, 2012, 6:44pm UTC](https://forum.kirupa.com/t/what-will-be-the-stage-width-and-height/330094 "2012-11-29T18:44:33Z")

</div>

Hi, I have a Bkg\_mc which is registered to top left corner. Now, how can I change the code to keep my Bkg\_mc top left corner when the browser window resizes. The following is the code: stage.addEventListener(Event…

---

## [\[CS3/AS2\] attachMovie TO an MC using variable?](https://forum.kirupa.com/t/cs3-as2-attachmovie-to-an-mc-using-variable/330090)

<div class="topic-metadata">

**Author:** [@allthumbs](https://forum.kirupa.com/u/allthumbs)\
**Replies:** 0\
**Last updated:** [November 28, 2012, 11:33pm UTC](https://forum.kirupa.com/t/cs3-as2-attachmovie-to-an-mc-using-variable/330090 "2012-11-28T23:33:12Z")

</div>

In a nutshell, I've got many (hundreds of) different movieclips on stage that I have just generated using duplicateMovieClip. (this works fine.) After generating each of the movie clips, I next need to replace them all…

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

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