# programming

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

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

**Page:** 1704

---

## [Embedding assets in a AS3 class with Flash CS3](https://forum.kirupa.com/t/embedding-assets-in-a-as3-class-with-flash-cs3/227003)

<div class="topic-metadata">

**Author:** [@benmorrison](https://forum.kirupa.com/u/benmorrison)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 7:02pm UTC](https://forum.kirupa.com/t/embedding-assets-in-a-as3-class-with-flash-cs3/227003 "2007-05-25T19:02:32Z")

</div>

I'm using AS3 in Flash CS3 and trying to create classes that would have assets embedded in them. For example, I have a CursorManager class that I would like to use to alter the user's mouse cursor, but I don't want to …

---

## [URL Query String](https://forum.kirupa.com/t/url-query-string/226997)

<div class="topic-metadata">

**Author:** [@tonygarcia](https://forum.kirupa.com/u/tonygarcia)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 6:36pm UTC](https://forum.kirupa.com/t/url-query-string/226997 "2007-05-25T18:36:55Z")

</div>

How can I get the document URL and query into a variable in actionscript? I tired using the method below, but this does not work in IE. http://actionscript.org/forums/showthread.php3?p=561688 Here is an example you …

---

## [Question about embedded video clips](https://forum.kirupa.com/t/question-about-embedded-video-clips/226991)

<div class="topic-metadata">

**Author:** [@worldly1](https://forum.kirupa.com/u/worldly1)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 5:37pm UTC](https://forum.kirupa.com/t/question-about-embedded-video-clips/226991 "2007-05-25T17:37:23Z")

</div>

Hello all, I'm importing embedded video clips for the first time today and have run into what I'm sure is commonly understood by everyone else here. The video clip takes up as many frames as the video, but if I add fra…

---

## [hitTest Problem.. Files Attached](https://forum.kirupa.com/t/hittest-problem-files-attached/226989)

<div class="topic-metadata">

**Author:** [@nlyttle](https://forum.kirupa.com/u/nlyttle)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 5:32pm UTC](https://forum.kirupa.com/t/hittest-problem-files-attached/226989 "2007-05-25T17:32:27Z")

</div>

Take a look at the FLA attached.. what I'd like to have happen is pretty simple... when you mouse into the area that contains the hitTest the menu at the bottom slides up, and when you mouse out it slides back down. I…

---

## [\[Flash 8\] XML onLoad problem](https://forum.kirupa.com/t/flash-8-xml-onload-problem/226988)

<div class="topic-metadata">

**Author:** [@batuz](https://forum.kirupa.com/u/batuz)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 5:11pm UTC](https://forum.kirupa.com/t/flash-8-xml-onload-problem/226988 "2007-05-25T17:11:09Z")

</div>

Hi, I've a problem loading data from xml into a class of mine. I put the code: Frame on Flash: vlist = new VideoList(); var vxml = new XML(); vxml.ignoreWhite = true; vxml.onLoad = function(loaded) { if(loaded)…

---

## [How best to import a series of stills](https://forum.kirupa.com/t/how-best-to-import-a-series-of-stills/226983)

<div class="topic-metadata">

**Author:** [@worldly1](https://forum.kirupa.com/u/worldly1)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 4:15pm UTC](https://forum.kirupa.com/t/how-best-to-import-a-series-of-stills/226983 "2007-05-25T16:15:34Z")

</div>

Hello all, I've generated a series of numbered animation still images from a 3D program, but don't see a way in Flash 8 Pro to easily import them all in and put them in series in a timeline layer. Surely there must b…

---

## [Input box fade in](https://forum.kirupa.com/t/input-box-fade-in/226982)

<div class="topic-metadata">

**Author:** [@revlis](https://forum.kirupa.com/u/revlis)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 3:55pm UTC](https://forum.kirupa.com/t/input-box-fade-in/226982 "2007-05-25T15:55:29Z")

</div>

How do a make an input box fade in? I placed an input box inside a mc and then gave it 0% alpha with a tween to 100% alpha like I normally do but it didn't seem to work for an input box. Thanks!

---

## [Taking off Focus or Disabling Keyboard input for Combo Box](https://forum.kirupa.com/t/taking-off-focus-or-disabling-keyboard-input-for-combo-box/226976)

<div class="topic-metadata">

**Author:** [@Wedge\_Man](https://forum.kirupa.com/u/Wedge_Man)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 3:39pm UTC](https://forum.kirupa.com/t/taking-off-focus-or-disabling-keyboard-input-for-combo-box/226976 "2007-05-25T15:39:39Z")

</div>

Hey Guys, So i have a combo box that a user can go a select different UI's with. In another pane i have a map that the user can press the arrow keys the move up, down, left right etc. Only problem is that once i hav…

---

## [WPF keyboard input question](https://forum.kirupa.com/t/wpf-keyboard-input-question/226972)

<div class="topic-metadata">

**Author:** [@Kommi](https://forum.kirupa.com/u/Kommi)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 2:47pm UTC](https://forum.kirupa.com/t/wpf-keyboard-input-question/226972 "2007-05-25T14:47:21Z")

</div>

\[FONT=Times New Roman\] Ok I just started developing using Windows Presentation Foundation and have a little problem adding a shortcut key ability to my app. The problem is that I have my main panel throw a KeyDown even…

---

## [Loading Bitmaps](https://forum.kirupa.com/t/loading-bitmaps/226971)

<div class="topic-metadata">

**Author:** [@Fraz](https://forum.kirupa.com/u/Fraz)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 2:43pm UTC](https://forum.kirupa.com/t/loading-bitmaps/226971 "2007-05-25T14:43:11Z")

</div>

I have created a long animation in another program, but it can only save as a .gif or a bitmap sequence. The .gip ruins the colour's, and the bitmap's look ok. So I have imported all of the bitmaps into flash, but the on…

---

## [ASP/.NET based CMS](https://forum.kirupa.com/t/asp-net-based-cms/226969)

<div class="topic-metadata">

**Author:** [@burns](https://forum.kirupa.com/u/burns)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 2:30pm UTC](https://forum.kirupa.com/t/asp-net-based-cms/226969 "2007-05-25T14:30:16Z")

</div>

Hi, I'm trying to find an ASP/.NET based CMS, which can either be free or commercial. Can anyone recommend one that would be suitable for a global website? Thanks

---

## [Change image depending on the clock hour](https://forum.kirupa.com/t/change-image-depending-on-the-clock-hour/226966)

<div class="topic-metadata">

**Author:** [@mbermudez21](https://forum.kirupa.com/u/mbermudez21)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 2:07pm UTC](https://forum.kirupa.com/t/change-image-depending-on-the-clock-hour/226966 "2007-05-25T14:07:02Z")

</div>

hello! i´m from argentina and i am needing to do something a saw last year on kirupa, but i really can´t find it now \[frowning\] i remember i saw a tutorial that explained how to create a flash (menu,top, etc) that chan…

---

## [XML photo gallery button questions?](https://forum.kirupa.com/t/xml-photo-gallery-button-questions/226964)

<div class="topic-metadata">

**Author:** [@timkline](https://forum.kirupa.com/u/timkline)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 1:20pm UTC](https://forum.kirupa.com/t/xml-photo-gallery-button-questions/226964 "2007-05-25T13:20:05Z")

</div>

I've been using the XML flash photo gallery on my site, it works great and it was easy to adapt to fit into my site's layout. There's one little pet peve I have though, when you get to the end of the gallery, there's s…

---

## [BUG: stageWidth/Height](https://forum.kirupa.com/t/bug-stagewidth-height/226960)

<div class="topic-metadata">

**Author:** [@psykovsky](https://forum.kirupa.com/u/psykovsky)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 11:35am UTC](https://forum.kirupa.com/t/bug-stagewidth-height/226960 "2007-05-25T11:35:54Z")

</div>

In AS3 documentation it says: When the value of the scaleMode property is set to StageScaleMode.NO\_SCALE, the stageWidth property represents the width of Flash Player. This means that the stageWidth property varies as …

---

## [Centring flash in FireFox](https://forum.kirupa.com/t/centring-flash-in-firefox/226959)

<div class="topic-metadata">

**Author:** [@FlashChristian](https://forum.kirupa.com/u/FlashChristian)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 11:12am UTC](https://forum.kirupa.com/t/centring-flash-in-firefox/226959 "2007-05-25T11:12:29Z")

</div>

Hello! I have a problem with centring my flash in firefox. In IE everything works great. Is there anyone that knows how to do it? Please help me!

---

## [Can anyone convert this Perl match to PHP?](https://forum.kirupa.com/t/can-anyone-convert-this-perl-match-to-php/226958)

<div class="topic-metadata">

**Author:** [@Ben\_Smith](https://forum.kirupa.com/u/Ben_Smith)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 11:07am UTC](https://forum.kirupa.com/t/can-anyone-convert-this-perl-match-to-php/226958 "2007-05-25T11:07:19Z")

</div>

Hi all, Just need a bit of help converting this Perl match into PHP preg\_replace's. $printable\_name =~ s/(\\w+)/\\u\\L$1/g; $printable\_name =~ s/\\b(And|Of|The|S)\\b/\\l$1/g; $printable\_name =~ s/'/\\\\'/; At the moment,…

---

## [Complex Navigation problem](https://forum.kirupa.com/t/complex-navigation-problem/226957)

<div class="topic-metadata">

**Author:** [@sdpkelkar](https://forum.kirupa.com/u/sdpkelkar)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 11:00am UTC](https://forum.kirupa.com/t/complex-navigation-problem/226957 "2007-05-25T11:00:44Z")

</div>

Hi all! I'm a total noob to flash and actionscript and am just discovering the incredible power of movieclips.:beam: I'm trying to create a navigation wherein a movie loads with some effects after clicking a button and…

---

## [Execute anonymous functions directly?](https://forum.kirupa.com/t/execute-anonymous-functions-directly/226955)

<div class="topic-metadata">

**Author:** [@over666kill](https://forum.kirupa.com/u/over666kill)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 10:22am UTC](https://forum.kirupa.com/t/execute-anonymous-functions-directly/226955 "2007-05-25T10:22:45Z")

</div>

Why can't I execute an anonymous function directly, like: var a=function() {return "hello";} (); trace(a); The trace statement should output 'hello', but it just outputs 'undefined'. This is supposed to work in JavaS…

---

## [Dynamic Image reflection question](https://forum.kirupa.com/t/dynamic-image-reflection-question/226954)

<div class="topic-metadata">

**Author:** [@TRixation](https://forum.kirupa.com/u/TRixation)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 10:20am UTC](https://forum.kirupa.com/t/dynamic-image-reflection-question/226954 "2007-05-25T10:20:37Z")

</div>

Hi, I am working on a little project and what I am going for is something along the lines of this: http://flashloaded.com/flashcomponents/photoflow/ However I cant seem to get the same effect with mine...anyone have …

---

## [Web Based Game Development?](https://forum.kirupa.com/t/web-based-game-development/226953)

<div class="topic-metadata">

**Author:** [@mufar](https://forum.kirupa.com/u/mufar)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 10:11am UTC](https://forum.kirupa.com/t/web-based-game-development/226953 "2007-05-25T10:11:17Z")

</div>

This is basically a curiosity, and a somewhat spare time project. I am bursting with ideas right now, and want to put it to creative use. Basically I wanted to try and slowly develop a Browser/Turn based MMOG. I wanted …

---

## [XML help with adding categories to gallery with thumbnails and larger pictures](https://forum.kirupa.com/t/xml-help-with-adding-categories-to-gallery-with-thumbnails-and-larger-pictures/226952)

<div class="topic-metadata">

**Author:** [@kchirene](https://forum.kirupa.com/u/kchirene)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 9:38am UTC](https://forum.kirupa.com/t/xml-help-with-adding-categories-to-gallery-with-thumbnails-and-larger-pictures/226952 "2007-05-25T09:38:19Z")

</div>

Hi, I was looking at http://www.kirupa.com/developer/mx2004/thumbnails.htm tutorial, This tutorial Almost has exactly what I want. But being new to XML and the action script associated with it, I'm a bit lost when it …

---

## [SQL Hosting Question](https://forum.kirupa.com/t/sql-hosting-question/226950)

<div class="topic-metadata">

**Author:** [@RabBell](https://forum.kirupa.com/u/RabBell)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 9:13am UTC](https://forum.kirupa.com/t/sql-hosting-question/226950 "2007-05-25T09:13:01Z")

</div>

I've just discovered that SQL 2005 database I've been working on won't work on my hosts server cause they use SQL 2000. To be honest I've been testing as I go and I'm happy with the stage I was at. To change the site …

---

## [ContextMenu problem](https://forum.kirupa.com/t/contextmenu-problem/226949)

<div class="topic-metadata">

**Author:** [@jasvarghese](https://forum.kirupa.com/u/jasvarghese)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 8:58am UTC](https://forum.kirupa.com/t/contextmenu-problem/226949 "2007-05-25T08:58:41Z")

</div>

Hai all, in my flash file the context menu is not working.. function mySpin() { webwasp.gotoAndPlay(2); } // End of the function var myContextMenu = new ContextMenu(); myContextMenu.hideBuiltInItems(); var spin …

---

## [Memory problem](https://forum.kirupa.com/t/memory-problem/226948)

<div class="topic-metadata">

**Author:** [@epasi](https://forum.kirupa.com/u/epasi)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 8:44am UTC](https://forum.kirupa.com/t/memory-problem/226948 "2007-05-25T08:44:06Z")

</div>

I have a problem with memory , my application load every 5 seconds data from an XML file , on the stage I have various objects created dinamically that changes their colors and values in relation with the loaded value ta…

---

## [Using 'Loader' in AS3](https://forum.kirupa.com/t/using-loader-in-as3/226946)

<div class="topic-metadata">

**Author:** [@Mythic\_Fr0st](https://forum.kirupa.com/u/Mythic_Fr0st)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 7:57am UTC](https://forum.kirupa.com/t/using-loader-in-as3/226946 "2007-05-25T07:57:34Z")

</div>

Ok, how do I use the loader properly? load\_img.loadThis.load("param1", "param2") What do I put there? I want to add images?

---

## [RPG thread needed](https://forum.kirupa.com/t/rpg-thread-needed/226945)

<div class="topic-metadata">

**Author:** [@hells\_demand](https://forum.kirupa.com/u/hells_demand)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 7:45am UTC](https://forum.kirupa.com/t/rpg-thread-needed/226945 "2007-05-25T07:45:40Z")

</div>

Hello to all, can any one out there post an RPG tutorial from start to finish because the one that first got me intrested in this site is kind of difficult to follow for some one new to RPG programming (The basics of an …

---

## [How can I control a movieClip move randomly in the stage every five seconds?](https://forum.kirupa.com/t/how-can-i-control-a-movieclip-move-randomly-in-the-stage-every-five-seconds/226944)

<div class="topic-metadata">

**Author:** [@ykc2007](https://forum.kirupa.com/u/ykc2007)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 6:57am UTC](https://forum.kirupa.com/t/how-can-i-control-a-movieclip-move-randomly-in-the-stage-every-five-seconds/226944 "2007-05-25T06:57:58Z")

</div>

Hi all, I am having trouble on my Flash assignment which due on Monday, for the assignment, I am goingt to make a game, similar to the classic aracade game, Asteroids. They provided some basic code for the timing and r…

---

## [\[php\] include()](https://forum.kirupa.com/t/php-include/226937)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 5:04am UTC](https://forum.kirupa.com/t/php-include/226937 "2007-05-25T05:04:33Z")

</div>

I have a dilemma over the include function. My code structure is simplified to what you see below. Main.php needs $constVar, which is stored inside constants.php. Main calls page.php. Page also needs $constVar, so it mus…

---

## [.swf not loading in IE](https://forum.kirupa.com/t/swf-not-loading-in-ie/226933)

<div class="topic-metadata">

**Author:** [@timmy041](https://forum.kirupa.com/u/timmy041)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 4:29am UTC](https://forum.kirupa.com/t/swf-not-loading-in-ie/226933 "2007-05-25T04:29:10Z")

</div>

Hello all, I have an html file in the same directory as my .swf. When i run it in FireFox is runs perfectly, but when i do the same in IE it does not. I checked out the code, and the embed src and param tags are the…

---

## [Flash/XML Question](https://forum.kirupa.com/t/flash-xml-question/226929)

<div class="topic-metadata">

**Author:** [@bandit8](https://forum.kirupa.com/u/bandit8)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 4:05am UTC](https://forum.kirupa.com/t/flash-xml-question/226929 "2007-05-25T04:05:47Z")

</div>

Hi, I'm currently working on an application where I am reading in pngs files, that are specified in an XML file. I have it reading in and storing all of the image names/paths appropriately, and then each one being put …

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

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