# programming

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

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

**Page:** 1315

---

## [Array shorthand syntax question](https://forum.kirupa.com/t/array-shorthand-syntax-question/255061)

<div class="topic-metadata">

**Author:** [@DirtyBirdNJ](https://forum.kirupa.com/u/DirtyBirdNJ)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 5:44pm UTC](https://forum.kirupa.com/t/array-shorthand-syntax-question/255061 "2008-03-18T17:44:54Z")

</div>

Hello everybody. I'm currently working on an Adobe AIR app that will manage inventory for a small company. It uses an SQLite database to store all the data... and my problem is not with getting the queries to work. I've …

---

## [Character Sprite Change while aiming at mouse](https://forum.kirupa.com/t/character-sprite-change-while-aiming-at-mouse/255059)

<div class="topic-metadata">

**Author:** [@Scheisse](https://forum.kirupa.com/u/Scheisse)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 5:28pm UTC](https://forum.kirupa.com/t/character-sprite-change-while-aiming-at-mouse/255059 "2008-03-18T17:28:05Z")

</div>

\[RIGHT\]I have 5 or 7 sprites(all will be standing in the same position, they are supposed to be 1 character!) that are aiming in all different directions on the screen like this: \[/RIGHT\] \[IMG\]http://i28.tinypic.com/20g…

---

## [External Interface with C++](https://forum.kirupa.com/t/external-interface-with-c/255051)

<div class="topic-metadata">

**Author:** [@djdooglas7](https://forum.kirupa.com/u/djdooglas7)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 4:23pm UTC](https://forum.kirupa.com/t/external-interface-with-c/255051 "2008-03-18T16:23:52Z")

</div>

I have a Flex swf in a C++ container and I want to be able to communicate between the swf and the container. Is this possible with external interface? Can I use setVariable and getVariable? Thanks

---

## [F1: List Component](https://forum.kirupa.com/t/f1-list-component/255048)

<div class="topic-metadata">

**Author:** [@Eddie21](https://forum.kirupa.com/u/Eddie21)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 3:57pm UTC](https://forum.kirupa.com/t/f1-list-component/255048 "2008-03-18T15:57:02Z")

</div>

Hi, This thread can be deleted. Problem is solved.

---

## [SQL Database](https://forum.kirupa.com/t/sql-database/255046)

<div class="topic-metadata">

**Author:** [@acc](https://forum.kirupa.com/u/acc)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 3:46pm UTC](https://forum.kirupa.com/t/sql-database/255046 "2008-03-18T15:46:32Z")

</div>

this is my first attempt to working with any database at all with web the IT set up SQL databases on SQL 2005 Server, and asked me to use OLEDB connection. Using ASP and hope to use SQL to work with the data. So far …

---

## [Making a card flip over on click](https://forum.kirupa.com/t/making-a-card-flip-over-on-click/255045)

<div class="topic-metadata">

**Author:** [@sparkleblue](https://forum.kirupa.com/u/sparkleblue)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 3:27pm UTC](https://forum.kirupa.com/t/making-a-card-flip-over-on-click/255045 "2008-03-18T15:27:13Z")

</div>

I'm trying to make a business card turn over when you click on a button and show a quote on the other side. I'm just not sure how to do that. Can anyone help? http://creative-xpress.com/card3.fla

---

## [A small problem](https://forum.kirupa.com/t/a-small-problem/255043)

<div class="topic-metadata">

**Author:** [@Darkblade](https://forum.kirupa.com/u/Darkblade)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 3:21pm UTC](https://forum.kirupa.com/t/a-small-problem/255043 "2008-03-18T15:21:58Z")

</div>

Hey everyone! I have been working on a SSBM style game and trying to get guns into the game... I have almost successed but every time my guy is pointing the right direction he shoots to the left. I know what the problem …

---

## [Free Mac OSX Dock in flash!](https://forum.kirupa.com/t/free-mac-osx-dock-in-flash/255042)

<div class="topic-metadata">

**Author:** [@ScoobyDooobyD00](https://forum.kirupa.com/u/ScoobyDooobyD00)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 3:04pm UTC](https://forum.kirupa.com/t/free-mac-osx-dock-in-flash/255042 "2008-03-18T15:04:13Z")

</div>

Hi, I am rebuilding my site and I found an app that simulates Apples Dock. http://jrgraphix.net/research/flash-dock-mx-2004.php I love it but I want to use it as navigation for my site and was hoping one of the flash g…

---

## [Dynamic Color Spectra](https://forum.kirupa.com/t/dynamic-color-spectra/255040)

<div class="topic-metadata">

**Author:** [@jnsjohansson](https://forum.kirupa.com/u/jnsjohansson)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 2:24pm UTC](https://forum.kirupa.com/t/dynamic-color-spectra/255040 "2008-03-18T14:24:57Z")

</div>

Hi! I've been asked to research the possibility to recreate the color spectra the Mac uses asa screensaver (sine-waves going through the rainbow-colors sort-of). Not like the one Sony uses on their Bravia-site but you ge…

---

## [Help with a looping through arrays](https://forum.kirupa.com/t/help-with-a-looping-through-arrays/255039)

<div class="topic-metadata">

**Author:** [@JamesHolder](https://forum.kirupa.com/u/JamesHolder)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 2:12pm UTC](https://forum.kirupa.com/t/help-with-a-looping-through-arrays/255039 "2008-03-18T14:12:26Z")

</div>

Hi I am use some code to get feedback for a quiz it check the results array to see if it is true or false and then takes the feedback out of either the posFeedback array of the negfeedback array. however the is just b…

---

## [Math.random problem](https://forum.kirupa.com/t/math-random-problem/255038)

<div class="topic-metadata">

**Author:** [@Rundevo](https://forum.kirupa.com/u/Rundevo)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 2:12pm UTC](https://forum.kirupa.com/t/math-random-problem/255038 "2008-03-18T14:12:06Z")

</div>

Hi guys and gals I have a slight problem with a site that I´m building. I have 3 containers on the stage that I want to load 3 DIFFERENT images from a folder containing 15 jpgs into. So my question is, how on earth…

---

## [getURL in myspaces?](https://forum.kirupa.com/t/geturl-in-myspaces/255037)

<div class="topic-metadata">

**Author:** [@aveceva](https://forum.kirupa.com/u/aveceva)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 1:44pm UTC](https://forum.kirupa.com/t/geturl-in-myspaces/255037 "2008-03-18T13:44:16Z")

</div>

Hey guys, We recently tried to put a flash button into a myspace. the button loaded fine but the getURL wasnt working. on(release){ getURL....."\_blank"; } Just the basic script. Does anyone know if its something…

---

## [\[FLEX\] Adding images to the stage through a loop](https://forum.kirupa.com/t/flex-adding-images-to-the-stage-through-a-loop/255035)

<div class="topic-metadata">

**Author:** [@Raziel](https://forum.kirupa.com/u/Raziel)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 1:40pm UTC](https://forum.kirupa.com/t/flex-adding-images-to-the-stage-through-a-loop/255035 "2008-03-18T13:40:21Z")

</div>

Hi, I import this flickr feed, magic around some strings through an array here and there to get the img url i need for a flickr image. So now i got a loop that takes the 1st 5 images from someones photo feed and parses…

---

## [Stuck on panning/Zooming an Image](https://forum.kirupa.com/t/stuck-on-panning-zooming-an-image/255031)

<div class="topic-metadata">

**Author:** [@chrispy\_mm](https://forum.kirupa.com/u/chrispy_mm)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 12:45pm UTC](https://forum.kirupa.com/t/stuck-on-panning-zooming-an-image/255031 "2008-03-18T12:45:51Z")

</div>

It's been a long while since i've been around here, so I'm currently trying to get to grips with AS3, and what i'm trying to do is driving me nuts! What I want to end up with is an image viewer where i can zoom in and …

---

## [Tweened Animation vs Action Scripted Animation](https://forum.kirupa.com/t/tweened-animation-vs-action-scripted-animation/255025)

<div class="topic-metadata">

**Author:** [@newsense](https://forum.kirupa.com/u/newsense)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 12:15pm UTC](https://forum.kirupa.com/t/tweened-animation-vs-action-scripted-animation/255025 "2008-03-18T12:15:02Z")

</div>

Hi All. The reason for this title is because I am currently producing flash banners for a company and have been looking all over the internet on such a subject. My flash skills are somewhat limited. I currently make …

---

## [Need basic help: libraries and swf size](https://forum.kirupa.com/t/need-basic-help-libraries-and-swf-size/255024)

<div class="topic-metadata">

**Author:** [@jesanto](https://forum.kirupa.com/u/jesanto)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 11:53am UTC](https://forum.kirupa.com/t/need-basic-help-libraries-and-swf-size/255024 "2008-03-18T11:53:58Z")

</div>

Hello I use flash 8 just for simple animations (I'm not using AS yet, I need some time to learn). I tried to do an animation with 10 jpg images (low resolution, 72 ppi). I imported all the images to the library. Then…

---

## [Problems with Text Encoding with Unicode](https://forum.kirupa.com/t/problems-with-text-encoding-with-unicode/255023)

<div class="topic-metadata">

**Author:** [@francocosta](https://forum.kirupa.com/u/francocosta)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 11:41am UTC](https://forum.kirupa.com/t/problems-with-text-encoding-with-unicode/255023 "2008-03-18T11:41:46Z")

</div>

\[FONT=Calibri\] Hi to All \[/FONT\] \[FONT=Calibri\] I work at the elearning centre within the Maltese Education Division. Our unit primarily produces educational software realted to various levels in the primary school…

---

## [Form validation problem](https://forum.kirupa.com/t/form-validation-problem/255022)

<div class="topic-metadata">

**Author:** [@almadera](https://forum.kirupa.com/u/almadera)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 11:35am UTC](https://forum.kirupa.com/t/form-validation-problem/255022 "2008-03-18T11:35:04Z")

</div>

I'm using Godaddy's gdform.php form mailer for my forms. The forms work perfectly except the validation. I need the visitors to fill in the fields and then submit the information to my email, but the problem is that ever…

---

## [Importing & using PHP files into Dreamweaver](https://forum.kirupa.com/t/importing-using-php-files-into-dreamweaver/255021)

<div class="topic-metadata">

**Author:** [@New\_designer](https://forum.kirupa.com/u/New_designer)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 11:17am UTC](https://forum.kirupa.com/t/importing-using-php-files-into-dreamweaver/255021 "2008-03-18T11:17:51Z")

</div>

I'm a newly qualified Dreamweaver designer albeit on a basic level & have no problems with using most of the facilities in Dreamweaver. I recently purchased an advertise your own property website off Ebay. The basics o…

---

## [Play/Pause MP3](https://forum.kirupa.com/t/play-pause-mp3/255018)

<div class="topic-metadata">

**Author:** [@dsapseid](https://forum.kirupa.com/u/dsapseid)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 10:32am UTC](https://forum.kirupa.com/t/play-pause-mp3/255018 "2008-03-18T10:32:14Z")

</div>

Hi I am creating a flash file that when it is opened as swf it starts playing an mp3 which is stored in the same folder on the cd. I can get it to play fine using the below code. I am trying to add a button to pause i…

---

## [Is there a way to create an object based on a string value?](https://forum.kirupa.com/t/is-there-a-way-to-create-an-object-based-on-a-string-value/255016)

<div class="topic-metadata">

**Author:** [@grandpaw\_broon](https://forum.kirupa.com/u/grandpaw_broon)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 9:39am UTC](https://forum.kirupa.com/t/is-there-a-way-to-create-an-object-based-on-a-string-value/255016 "2008-03-18T09:39:42Z")

</div>

\[LEFT\] Hi people! I have a set of buttons that dispatch an event when clicked on. One thing im kind of struggling with is to create a new object based on button clicked. If i click on contact us, i need to load up th…

---

## [Positioning image with XML](https://forum.kirupa.com/t/positioning-image-with-xml/255013)

<div class="topic-metadata">

**Author:** [@Wahnsinn](https://forum.kirupa.com/u/Wahnsinn)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 8:45am UTC](https://forum.kirupa.com/t/positioning-image-with-xml/255013 "2008-03-18T08:45:52Z")

</div>

Good morning/afternoon/night, I want to position images with XML. My XML has to look something like this: \<images\> \<image x=5 y=6\> \</images\> So how do I do that? I know how flash and xml works, just don't know ho…

---

## [Simple MovieClip Instantiate.. Help me stay sane!](https://forum.kirupa.com/t/simple-movieclip-instantiate-help-me-stay-sane/255012)

<div class="topic-metadata">

**Author:** [@willgoldstone7](https://forum.kirupa.com/u/willgoldstone7)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 8:29am UTC](https://forum.kirupa.com/t/simple-movieclip-instantiate-help-me-stay-sane/255012 "2008-03-18T08:29:56Z")

</div>

Hi there, I posted on here yesterday but am still unable to perform this basic operation in as3, and its driving me crazy, maybe you can help! I've got this code in an AS file in the same folder as my FLA - package …

---

## [Zoom to selection](https://forum.kirupa.com/t/zoom-to-selection/255010)

<div class="topic-metadata">

**Author:** [@eatmeth](https://forum.kirupa.com/u/eatmeth)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 8:11am UTC](https://forum.kirupa.com/t/zoom-to-selection/255010 "2008-03-18T08:11:05Z")

</div>

How can I add a zoom to selection feature to this? I just want a basic marquee zoom. Like draw a rectangle on the map and zoom into the rectangle.. just like on this map Thanks for the help. Its really appreciated.

---

## [Using mouse over events on a gif with transparent background](https://forum.kirupa.com/t/using-mouse-over-events-on-a-gif-with-transparent-background/255009)

<div class="topic-metadata">

**Author:** [@ThePuzzleMaster](https://forum.kirupa.com/u/ThePuzzleMaster)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 8:07am UTC](https://forum.kirupa.com/t/using-mouse-over-events-on-a-gif-with-transparent-background/255009 "2008-03-18T08:07:02Z")

</div>

Is there a way to have a MOUSE\_OVER event only be triggered when mousing over occupied pixels? i.e. have it ignore if you mouse over the transparent pixels in the .gif file? Anyone know? I can't get it to work... Not e…

---

## [Rollover text for tree component nodes](https://forum.kirupa.com/t/rollover-text-for-tree-component-nodes/255006)

<div class="topic-metadata">

**Author:** [@coolpills](https://forum.kirupa.com/u/coolpills)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 5:50am UTC](https://forum.kirupa.com/t/rollover-text-for-tree-component-nodes/255006 "2008-03-18T05:50:18Z")

</div>

Hi, I need to give rollover text for tree component nodes. The text for the tree component is loaded from a xml. Can somebody please help? I need it pretty urgent!!

---

## [Referencing issue with AS files](https://forum.kirupa.com/t/referencing-issue-with-as-files/255005)

<div class="topic-metadata">

**Author:** [@pandu\_kirupa](https://forum.kirupa.com/u/pandu_kirupa)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 5:47am UTC](https://forum.kirupa.com/t/referencing-issue-with-as-files/255005 "2008-03-18T05:47:29Z")

</div>

Hi all, I am making a slide show controlled by AS files. Every thing works fine except the Interval function I defined. I am unable to retrieve the values which were defined in Class file. Here is my code.... …

---

## [Fading a movie clip to another?](https://forum.kirupa.com/t/fading-a-movie-clip-to-another/255003)

<div class="topic-metadata">

**Author:** [@rohicks](https://forum.kirupa.com/u/rohicks)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 4:35am UTC](https://forum.kirupa.com/t/fading-a-movie-clip-to-another/255003 "2008-03-18T04:35:54Z")

</div>

I'm looking for a way to fade a movie clip to another movie clip upon mouse over by the user. Possible with AS 3.0 or do i need to just tween them somehow? What's easier? For instance ... I have a black square with t…

---

## [Need Help with Looping Timeline](https://forum.kirupa.com/t/need-help-with-looping-timeline/255002)

<div class="topic-metadata">

**Author:** [@agus\_070883](https://forum.kirupa.com/u/agus_070883)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 4:35am UTC](https://forum.kirupa.com/t/need-help-with-looping-timeline/255002 "2008-03-18T04:35:33Z")

</div>

I have just created SWF. When I make the first page, everything seems fine. But, when I add the second page, I find looping effect when I click the button that set the page to the main page. Actually, it works. The butto…

---

## [How to create a progress bar which increases with time](https://forum.kirupa.com/t/how-to-create-a-progress-bar-which-increases-with-time/255001)

<div class="topic-metadata">

**Author:** [@rajiv\_2109](https://forum.kirupa.com/u/rajiv_2109)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 4:33am UTC](https://forum.kirupa.com/t/how-to-create-a-progress-bar-which-increases-with-time/255001 "2008-03-18T04:33:43Z")

</div>

Hi all I want to create a progress bar which start incremting from 0 seconds and finishes at 180 seconds, there will be a textbox which will act as a counter. Hope to get any help.

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

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