# programming

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

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

**Page:** 395

---

## [Quick if(question){} /w Date();](https://forum.kirupa.com/t/quick-if-question-w-date/315267)

<div class="topic-metadata">

**Author:** [@Esseti](https://forum.kirupa.com/u/Esseti)\
**Replies:** 0\
**Last updated:** [October 21, 2010, 11:20am UTC](https://forum.kirupa.com/t/quick-if-question-w-date/315267 "2010-10-21T11:20:54Z")

</div>

How to define a conditional so that if the current date is \> the 27th of March XXXX year, trace("it's past March 27th"), else trace("it's before March 27th"); ?

---

## [Datagrid - default sorting](https://forum.kirupa.com/t/datagrid-default-sorting/315266)

<div class="topic-metadata">

**Author:** [@colouredFunk](https://forum.kirupa.com/u/colouredFunk)\
**Replies:** 0\
**Last updated:** [October 21, 2010, 11:03am UTC](https://forum.kirupa.com/t/datagrid-default-sorting/315266 "2010-10-21T11:03:52Z")

</div>

Hiya, I'm using Datagrid to display some data out of a DB. The first field is date, I would it default to sorting on this field with it also having the arrow icon ( as if the user has clicked on the column) Please ca…

---

## [Working XML from a .aspx file](https://forum.kirupa.com/t/working-xml-from-a-aspx-file/315264)

<div class="topic-metadata">

**Author:** [@guy\_meurice](https://forum.kirupa.com/u/guy_meurice)\
**Replies:** 0\
**Last updated:** [October 21, 2010, 9:45am UTC](https://forum.kirupa.com/t/working-xml-from-a-aspx-file/315264 "2010-10-21T09:45:50Z")

</div>

Hi guys, First post here, so hello! I've been set the task of creating a header for a webpage that has a number of products on it. These products and all their details are controlled by a CMS that fires off an XML fi…

---

## [Platformer; Time-based animation states - please advise me!](https://forum.kirupa.com/t/platformer-time-based-animation-states-please-advise-me/315258)

<div class="topic-metadata">

**Author:** [@stillwired](https://forum.kirupa.com/u/stillwired)\
**Replies:** 0\
**Last updated:** [October 21, 2010, 6:40am UTC](https://forum.kirupa.com/t/platformer-time-based-animation-states-please-advise-me/315258 "2010-10-21T06:40:53Z")

</div>

I've been working on my first game with the help of a book (AS3 Game Programming University for those familiar), and I've been stuck on this issue for a while now. I've tried searching high and low for the answer but I'm…

---

## [How to Blur Effect in Flash?](https://forum.kirupa.com/t/how-to-blur-effect-in-flash/315257)

<div class="topic-metadata">

**Author:** [@sophielucky](https://forum.kirupa.com/u/sophielucky)\
**Replies:** 0\
**Last updated:** [October 21, 2010, 6:32am UTC](https://forum.kirupa.com/t/how-to-blur-effect-in-flash/315257 "2010-10-21T06:32:11Z")

</div>

I have just made a flash animation with various amazing effect. Now i have a question: How to Blur Effect in Flash? Please help if you have any suggestion or method. Thanks in advance.

---

## [How to embed flash into PPT?](https://forum.kirupa.com/t/how-to-embed-flash-into-ppt/315256)

<div class="topic-metadata">

**Author:** [@sophielucky](https://forum.kirupa.com/u/sophielucky)\
**Replies:** 0\
**Last updated:** [October 21, 2010, 6:14am UTC](https://forum.kirupa.com/t/how-to-embed-flash-into-ppt/315256 "2010-10-21T06:14:30Z")

</div>

I want to know how to embed flash into PPT. Please helps! And any suggestion or help will be much appreciated.

---

## [Tutorial: Working with Dynamic Sound](https://forum.kirupa.com/t/tutorial-working-with-dynamic-sound/315254)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [October 21, 2010, 6:10am UTC](https://forum.kirupa.com/t/tutorial-working-with-dynamic-sound/315254 "2010-10-21T06:10:28Z")

</div>

This thread is designed to help collect discussion on the Working with Dynamic Sound tutorial. Feel free to drop in :thumb2: Cheers, Kirupa :rambo:

---

## [CSS - Why is there a background on this \<div\>?](https://forum.kirupa.com/t/css-why-is-there-a-background-on-this-div/315252)

<div class="topic-metadata">

**Author:** [@GOLDfish\_74](https://forum.kirupa.com/u/GOLDfish_74)\
**Replies:** 0\
**Last updated:** [October 21, 2010, 4:59am UTC](https://forum.kirupa.com/t/css-why-is-there-a-background-on-this-div/315252 "2010-10-21T04:59:54Z")

</div>

Can someone please have a look at this page I am making? HERE Where I have copyright info there should be no background. Where is it getting the information for placing a background there so i can remove it? CSS file i…

---

## [Should You Use Dreamweaver Or Frontpage?](https://forum.kirupa.com/t/should-you-use-dreamweaver-or-frontpage/315248)

<div class="topic-metadata">

**Author:** [@anjstudio](https://forum.kirupa.com/u/anjstudio)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 11:42pm UTC](https://forum.kirupa.com/t/should-you-use-dreamweaver-or-frontpage/315248 "2010-10-20T23:42:02Z")

</div>

There are two major WYSIWYG (What You See Is What You Get) web page editors available for beginners: Microsoft FrontPage and Macromedia Dreamweaver. So the question is which one is better? \[Orlando web design …

---

## [AS2 Sprite Shooting left and right... need help!](https://forum.kirupa.com/t/as2-sprite-shooting-left-and-right-need-help/315240)

<div class="topic-metadata">

**Author:** [@Poul](https://forum.kirupa.com/u/Poul)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 9:25pm UTC](https://forum.kirupa.com/t/as2-sprite-shooting-left-and-right-need-help/315240 "2010-10-20T21:25:13Z")

</div>

Hey Im working on a platform game and need some help if possible. I need to know how to make my sprite fire right when facing to the right and fire left when facing to the left. I followed a shooting tutorial which…

---

## [Need assistance with my levelGrid](https://forum.kirupa.com/t/need-assistance-with-my-levelgrid/315237)

<div class="topic-metadata">

**Author:** [@joeycrash135](https://forum.kirupa.com/u/joeycrash135)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 8:01pm UTC](https://forum.kirupa.com/t/need-assistance-with-my-levelgrid/315237 "2010-10-20T20:01:46Z")

</div>

Hi, I'm currently working on a level engine for a game I'm creating. The idea behind it is to chop the entire stage into segments by using a grid. I have used a nested for loop to sort through each segment, and if the co…

---

## [AS3 addChild to array generated menu](https://forum.kirupa.com/t/as3-addchild-to-array-generated-menu/315236)

<div class="topic-metadata">

**Author:** [@peo3](https://forum.kirupa.com/u/peo3)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 7:36pm UTC](https://forum.kirupa.com/t/as3-addchild-to-array-generated-menu/315236 "2010-10-20T19:36:15Z")

</div>

I'm familiar with AS2 and just getting started with AS3. I found a submenu fla I would like to use, and I have everything set up, just not sure how to attach movies from the library when someone clicks a navigation butto…

---

## [Access root variables from loaded clip](https://forum.kirupa.com/t/access-root-variables-from-loaded-clip/315235)

<div class="topic-metadata">

**Author:** [@Poco](https://forum.kirupa.com/u/Poco)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 7:23pm UTC](https://forum.kirupa.com/t/access-root-variables-from-loaded-clip/315235 "2010-10-20T19:23:06Z")

</div>

Hi guys, I have been trying to google this for quite a time now but I can't seem to find anything useful. How can I access variables defined on root from a loaded movieclip? The loaded movieclip path can differ, so I c…

---

## [Loader Class Not Working - Can anyone fix this?](https://forum.kirupa.com/t/loader-class-not-working-can-anyone-fix-this/315231)

<div class="topic-metadata">

**Author:** [@vivefree](https://forum.kirupa.com/u/vivefree)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 4:51pm UTC](https://forum.kirupa.com/t/loader-class-not-working-can-anyone-fix-this/315231 "2010-10-20T16:51:06Z")

</div>

Here's the error I'm getting... anyone know why? siteLoader.as, Line 23 1061: Call to a possibly undefined method load through a reference with static type Loader. package { import flash.display.MovieClip;…

---

## [Changing button link](https://forum.kirupa.com/t/changing-button-link/315227)

<div class="topic-metadata">

**Author:** [@tombd](https://forum.kirupa.com/u/tombd)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 3:49pm UTC](https://forum.kirupa.com/t/changing-button-link/315227 "2010-10-20T15:49:50Z")

</div>

Hi, I have a movie clip which directs to a different part of the flash movie. I want to replace it to open an external link, but can't make it work for some reason... the code is: onClipEvent (load) { num = 7…

---

## [Help with AS3 Button Animation](https://forum.kirupa.com/t/help-with-as3-button-animation/315225)

<div class="topic-metadata">

**Author:** [@kpflash](https://forum.kirupa.com/u/kpflash)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 2:58pm UTC](https://forum.kirupa.com/t/help-with-as3-button-animation/315225 "2010-10-20T14:58:16Z")

</div>

Hi, I was wondering if someone could please help me with some actionscript... I have a button that has a movie clip in both "down" and "over". Basically I want an animation to play when I hover over my button and a secon…

---

## [removeChild help](https://forum.kirupa.com/t/removechild-help/315218)

<div class="topic-metadata">

**Author:** [@seventy9](https://forum.kirupa.com/u/seventy9)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 12:30pm UTC](https://forum.kirupa.com/t/removechild-help/315218 "2010-10-20T12:30:44Z")

</div>

This looks very simple but I cannot get it to work. \[skull\] I have a movieclip named A. Inside A, I have a movieclip named B. I just want to remove B from the stage I tried A.removeChild(B); but that didn't work. W…

---

## [Reference to a function](https://forum.kirupa.com/t/reference-to-a-function/315217)

<div class="topic-metadata">

**Author:** [@Batterman](https://forum.kirupa.com/u/Batterman)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 12:09pm UTC](https://forum.kirupa.com/t/reference-to-a-function/315217 "2010-10-20T12:09:14Z")

</div>

hi, I got a problem. I got this document class Main and a navbutton class. How can I connect a function from one AS3 document to another like this: navbutton.as removeObjects(); Main.as function removeObjects(){ //…

---

## [2 screens](https://forum.kirupa.com/t/2-screens/315216)

<div class="topic-metadata">

**Author:** [@jagguy](https://forum.kirupa.com/u/jagguy)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 11:54am UTC](https://forum.kirupa.com/t/2-screens/315216 "2010-10-20T11:54:27Z")

</div>

For a game where I have a different level on a screen how do I do this? Do I need to erase the stage and place a new level on it or is there a wat to have another stage? I am using doucment class and AS3.

---

## [Watchers - more details please](https://forum.kirupa.com/t/watchers-more-details-please/315215)

<div class="topic-metadata">

**Author:** [@kadaj](https://forum.kirupa.com/u/kadaj)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 11:50am UTC](https://forum.kirupa.com/t/watchers-more-details-please/315215 "2010-10-20T11:50:17Z")

</div>

Hi, Could you point out any articles or links where watchers are described in detail. The only information I got at present is from the liveDocs on mx.bindings.utils.ChangeWatcher Also I think garbage collection have g…

---

## [Insert new layer shortcut in Flash CS5](https://forum.kirupa.com/t/insert-new-layer-shortcut-in-flash-cs5/315211)

<div class="topic-metadata">

**Author:** [@harry\_kooner2k](https://forum.kirupa.com/u/harry_kooner2k)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 10:37am UTC](https://forum.kirupa.com/t/insert-new-layer-shortcut-in-flash-cs5/315211 "2010-10-20T10:37:26Z")

</div>

Hello all, Dear friends, I am unable to find a shortcut key combination for "Insert new layer" in flash CS5. As, Ctrl + C = COPY Ctrl + V = PASTE \_\_\_\_\_\_\_\_ = INSERT NEW LAYER Is there any sho…

---

## [Create words from falling snow](https://forum.kirupa.com/t/create-words-from-falling-snow/315209)

<div class="topic-metadata">

**Author:** [@fasolaki\_gr](https://forum.kirupa.com/u/fasolaki_gr)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 9:47am UTC](https://forum.kirupa.com/t/create-words-from-falling-snow/315209 "2010-10-20T09:47:26Z")

</div>

Hey everyone. I'd like to ask if anyone knows how to create words (example Merry Christmas) from falling snow. I'm trying to build a xmas card and the customer wants the wishes to be created from the snow leafs. Any…

---

## [BitmapData not working when uploaded](https://forum.kirupa.com/t/bitmapdata-not-working-when-uploaded/315207)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 8:44am UTC](https://forum.kirupa.com/t/bitmapdata-not-working-when-uploaded/315207 "2010-10-20T08:44:48Z")

</div>

Hey I'm loading thumbnail images from youtube and upon adding them to the stage I have encountered some issues. If I simply addChild the loader to my parent it all works nice and dandy both locally and uploaded, if I…

---

## [How to Drag&Drop dynamicly added photo? (problem)](https://forum.kirupa.com/t/how-to-drag-drop-dynamicly-added-photo-problem/315206)

<div class="topic-metadata">

**Author:** [@sempase](https://forum.kirupa.com/u/sempase)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 8:43am UTC](https://forum.kirupa.com/t/how-to-drag-drop-dynamicly-added-photo-problem/315206 "2010-10-20T08:43:42Z")

</div>

Hi Everbody, i'm adding external photo from pc with this code; var f:FileReference = new FileReference(); f.browse(\[new FileFilter("Images", "\*.jpg;\*.jpeg\*.gif;\*.png")\]); f.addEventListener(Event.SELECT, onSelect); …

---

## [Flash Code in php](https://forum.kirupa.com/t/flash-code-in-php/315205)

<div class="topic-metadata">

**Author:** [@Marge](https://forum.kirupa.com/u/Marge)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 7:56am UTC](https://forum.kirupa.com/t/flash-code-in-php/315205 "2010-10-20T07:56:33Z")

</div>

Hi, Today my free trial for flash expires. I worked for a month on making a movie in flash. Now I made the movie but I want to put it in a php program and it also has to have some code. if an input from the user is th…

---

## [Adding Mouse Scrolling to Scrollbox](https://forum.kirupa.com/t/adding-mouse-scrolling-to-scrollbox/315204)

<div class="topic-metadata">

**Author:** [@DeltaFrog](https://forum.kirupa.com/u/DeltaFrog)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 7:36am UTC](https://forum.kirupa.com/t/adding-mouse-scrolling-to-scrollbox/315204 "2010-10-20T07:36:05Z")

</div>

I got this scrolling code here which works good but I wanna make it so when the mouse rolls over the mask the user can scroll with the mouse wheel. Anyone know the code for that? \[LEFT\]\[COLOR=#993300\]import\[/COLOR…

---

## [Please help the Flash form with PHP](https://forum.kirupa.com/t/please-help-the-flash-form-with-php/315203)

<div class="topic-metadata">

**Author:** [@kevin08](https://forum.kirupa.com/u/kevin08)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 7:16am UTC](https://forum.kirupa.com/t/please-help-the-flash-form-with-php/315203 "2010-10-20T07:16:27Z")

</div>

This two day looking for the Flash form, i already found, but still have a problem of the form, please some-body can help me, please see this mail PHP code following the Flash, the flash it's ok, also, the form already s…

---

## [Need some help with creating and deleting Array Data!](https://forum.kirupa.com/t/need-some-help-with-creating-and-deleting-array-data/315200)

<div class="topic-metadata">

**Author:** [@emiljan](https://forum.kirupa.com/u/emiljan)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 3:52am UTC](https://forum.kirupa.com/t/need-some-help-with-creating-and-deleting-array-data/315200 "2010-10-20T03:52:55Z")

</div>

Hey guys, I'm working on a game for my flash class, where you a question pops up and asks you the name of a US state and you guess the state. I have created the 50 states as buttons with the questions. Each state is in…

---

## [AS3 GlowFilter Efficiency Question](https://forum.kirupa.com/t/as3-glowfilter-efficiency-question/315196)

<div class="topic-metadata">

**Author:** [@dgirons](https://forum.kirupa.com/u/dgirons)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 1:27am UTC](https://forum.kirupa.com/t/as3-glowfilter-efficiency-question/315196 "2010-10-20T01:27:36Z")

</div>

Hello, I have searched the forums and I couldn't find an answer to this question, so I apologize if this has already been explained somewhere. I have a very large movie clip that represents a level in my game (2500 …

---

## [Fullscreen Chromeless Web](https://forum.kirupa.com/t/fullscreen-chromeless-web/315194)

<div class="topic-metadata">

**Author:** [@spyderfx](https://forum.kirupa.com/u/spyderfx)\
**Replies:** 0\
**Last updated:** [October 19, 2010, 10:31pm UTC](https://forum.kirupa.com/t/fullscreen-chromeless-web/315194 "2010-10-19T22:31:15Z")

</div>

I've been given the task at work to try and make an office app we use on our local server go full screen, like watching a youtube video in full screen. No browser, purely for display purposes. I don't think there is a wa…

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

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