# programming

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

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

**Page:** 455

---

## [AIR and Webcam](https://forum.kirupa.com/t/air-and-webcam/311667)

<div class="topic-metadata">

**Author:** [@surf](https://forum.kirupa.com/u/surf)\
**Replies:** 0\
**Last updated:** [July 13, 2010, 8:19pm UTC](https://forum.kirupa.com/t/air-and-webcam/311667 "2010-07-13T20:19:35Z")

</div>

Hi, i am using AIR to develop a desktop based augment reality tool. the application works fine and the webcam works correctly the problem occurs when the application is packaged and installed. When its run, the webcam d…

---

## [Gallery XML](https://forum.kirupa.com/t/gallery-xml/311664)

<div class="topic-metadata">

**Author:** [@melenios820](https://forum.kirupa.com/u/melenios820)\
**Replies:** 0\
**Last updated:** [July 13, 2010, 7:38pm UTC](https://forum.kirupa.com/t/gallery-xml/311664 "2010-07-13T19:38:17Z")

</div>

i have a full flash template that im messing with, and inside i have added as a symbol, a flash gallery. The problem is how to call the gallery each time with different list of the xml. Heres my code, of the symbol flash…

---

## [Whats the default font for components?](https://forum.kirupa.com/t/whats-the-default-font-for-components/311662)

<div class="topic-metadata">

**Author:** [@bcapecci](https://forum.kirupa.com/u/bcapecci)\
**Replies:** 0\
**Last updated:** [July 13, 2010, 6:14pm UTC](https://forum.kirupa.com/t/whats-the-default-font-for-components/311662 "2010-07-13T18:14:29Z")

</div>

Whats the default font for components? I don't need to change it. I like how it looks but I want my other fonts to match it and I dont know what font it is. Thanks

---

## [Tweens affect other tweens in CS4?](https://forum.kirupa.com/t/tweens-affect-other-tweens-in-cs4/311661)

<div class="topic-metadata">

**Author:** [@lanawylma](https://forum.kirupa.com/u/lanawylma)\
**Replies:** 0\
**Last updated:** [July 13, 2010, 5:44pm UTC](https://forum.kirupa.com/t/tweens-affect-other-tweens-in-cs4/311661 "2010-07-13T17:44:51Z")

</div>

Hi, Please help... I'm working on a slide show which includes 3 sections that fade in and out automatically as well as can be navigated via buttons... Everything is working fine until I include a 3d tween animati…

---

## [External js issues - Please suggest ideas](https://forum.kirupa.com/t/external-js-issues-please-suggest-ideas/311658)

<div class="topic-metadata">

**Author:** [@sde\_sal](https://forum.kirupa.com/u/sde_sal)\
**Replies:** 0\
**Last updated:** [July 13, 2010, 4:38pm UTC](https://forum.kirupa.com/t/external-js-issues-please-suggest-ideas/311658 "2010-07-13T16:38:28Z")

</div>

Hi All, I had a issue with converting an inline js function to external file , I know it is pretty dumb question, But would really appreciate if you guys can help me in solving it. Steps - I cut the script function f…

---

## [Weird movement that is supposed to be the same](https://forum.kirupa.com/t/weird-movement-that-is-supposed-to-be-the-same/311657)

<div class="topic-metadata">

**Author:** [@Kreender](https://forum.kirupa.com/u/Kreender)\
**Replies:** 0\
**Last updated:** [July 13, 2010, 4:25pm UTC](https://forum.kirupa.com/t/weird-movement-that-is-supposed-to-be-the-same/311657 "2010-07-13T16:25:08Z")

</div>

Hi all I have this perfect ball (50 radius) and I was using a Sprite for collision detection, the thing is that I realized that even when I try to move them equally the ball and the sprite for collisions move different…

---

## [Message to member Ghostfishe](https://forum.kirupa.com/t/message-to-member-ghostfishe/311655)

<div class="topic-metadata">

**Author:** [@solivan2010](https://forum.kirupa.com/u/solivan2010)\
**Replies:** 0\
**Last updated:** [July 13, 2010, 3:54pm UTC](https://forum.kirupa.com/t/message-to-member-ghostfishe/311655 "2010-07-13T15:54:56Z")

</div>

This is from the thread "AS Help". You know...I think I got too excited by the fact that somebody replied to my question but I got way ahead of myself, meaning that going back and reading thru your reply carefully, I…

---

## [Like WrapPanel, but stacking from the bottom up?](https://forum.kirupa.com/t/like-wrappanel-but-stacking-from-the-bottom-up/311652)

<div class="topic-metadata">

**Author:** [@Grudge](https://forum.kirupa.com/u/Grudge)\
**Replies:** 0\
**Last updated:** [July 13, 2010, 2:53pm UTC](https://forum.kirupa.com/t/like-wrappanel-but-stacking-from-the-bottom-up/311652 "2010-07-13T14:53:12Z")

</div>

I'd like to add children into a container and make them stack from the bottom left up like this: 0 00 000 0 000 00 000 000 000 0 000 000 etc. Apparently there is no support for this in neither StackPane…

---

## [Diamonds Diamonds – new game](https://forum.kirupa.com/t/diamonds-diamonds-new-game/311649)

<div class="topic-metadata">

**Author:** [@aimia](https://forum.kirupa.com/u/aimia)\
**Replies:** 0\
**Last updated:** [July 13, 2010, 2:00pm UTC](https://forum.kirupa.com/t/diamonds-diamonds-new-game/311649 "2010-07-13T14:00:25Z")

</div>

Hello, \[FONT=Times New Roman, serif\]I finished my next flash online game – Diamonds Diamonds. It is a minesweeper like logic game\[/FONT\]\[FONT=Times New Roman, serif\] . Goal is to find all color diamonds in each leve…

---

## [Feedback required](https://forum.kirupa.com/t/feedback-required/311648)

<div class="topic-metadata">

**Author:** [@black\_pearl](https://forum.kirupa.com/u/black_pearl)\
**Replies:** 0\
**Last updated:** [July 13, 2010, 11:22am UTC](https://forum.kirupa.com/t/feedback-required/311648 "2010-07-13T11:22:50Z")

</div>

Hi, I am new to classes and object. I have just written a class file and I need an expert opinion about my class, so that I could learn more. I would like to know if we can make some improvement in the coding or whether …

---

## [Swap depth of Movieclip based on Y location](https://forum.kirupa.com/t/swap-depth-of-movieclip-based-on-y-location/311634)

<div class="topic-metadata">

**Author:** [@Naezo](https://forum.kirupa.com/u/Naezo)\
**Replies:** 0\
**Last updated:** [July 13, 2010, 2:31am UTC](https://forum.kirupa.com/t/swap-depth-of-movieclip-based-on-y-location/311634 "2010-07-13T02:31:00Z")

</div>

Alright, I'm sorry for bugging you people with so many questions, but, I can't seem to find the answer anywhere... So I had asked the same question for AS2 how to do this and I received the code: moviclip.swapDepths…

---

## [Heli game works offline, but not online?](https://forum.kirupa.com/t/heli-game-works-offline-but-not-online/311632)

<div class="topic-metadata">

**Author:** [@Kappa](https://forum.kirupa.com/u/Kappa)\
**Replies:** 0\
**Last updated:** [July 13, 2010, 1:07am UTC](https://forum.kirupa.com/t/heli-game-works-offline-but-not-online/311632 "2010-07-13T01:07:31Z")

</div>

Just made a simple helicopter game, but it won't work online for some reason. First up here is the collision code I'm using: \` /\*\* \* GTween by Grant Skinner. Aug 1, 2005 \* Visit www.gskinner.com/blog for documenta…

---

## [Distributing AI processing](https://forum.kirupa.com/t/distributing-ai-processing/311631)

<div class="topic-metadata">

**Author:** [@StridBR](https://forum.kirupa.com/u/StridBR)\
**Replies:** 0\
**Last updated:** [July 13, 2010, 12:40am UTC](https://forum.kirupa.com/t/distributing-ai-processing/311631 "2010-07-13T00:40:49Z")

</div>

I'm developing some AI for a board game, but having problems with cpu spikes it is a kind of "race game", where the players have certain goals to achieve. All movement is guided by nodes, i'm using A\* for the player t…

---

## [Why people hate adobe & flash](https://forum.kirupa.com/t/why-people-hate-adobe-flash/311625)

<div class="topic-metadata">

**Author:** [@sFoster83](https://forum.kirupa.com/u/sFoster83)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 8:44pm UTC](https://forum.kirupa.com/t/why-people-hate-adobe-flash/311625 "2010-07-12T20:44:18Z")

</div>

So about 5 years ago I worked at this company doing flex stuff.. yeah, about a year after I left I talked to some people from there and they no longer develop anything with flash. Why? Because adobe pushed an update th…

---

## [HTML page with full screen flash over the top?](https://forum.kirupa.com/t/html-page-with-full-screen-flash-over-the-top/311624)

<div class="topic-metadata">

**Author:** [@the\_lar](https://forum.kirupa.com/u/the_lar)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 8:41pm UTC](https://forum.kirupa.com/t/html-page-with-full-screen-flash-over-the-top/311624 "2010-07-12T20:41:50Z")

</div>

Hi All, Is there a technique out there which might solve my dilema? I have a standard HTML content page which text and links on it then I want to put Flash over the top, on a layer, wmode set to transparent so you can …

---

## [How to keep values inside components when flicking between frames](https://forum.kirupa.com/t/how-to-keep-values-inside-components-when-flicking-between-frames/311623)

<div class="topic-metadata">

**Author:** [@fgp123](https://forum.kirupa.com/u/fgp123)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 8:13pm UTC](https://forum.kirupa.com/t/how-to-keep-values-inside-components-when-flicking-between-frames/311623 "2010-07-12T20:13:15Z")

</div>

Say i have a UI with check boxes, text fields etc on 1 frame, and again a different layout on another. If i type values into boxes and click radio and check boxes. is there a way to keep these values on there when i fl…

---

## [Multiple buttons with AS3](https://forum.kirupa.com/t/multiple-buttons-with-as3/311620)

<div class="topic-metadata">

**Author:** [@lanawylma](https://forum.kirupa.com/u/lanawylma)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 5:45pm UTC](https://forum.kirupa.com/t/multiple-buttons-with-as3/311620 "2010-07-12T17:45:20Z")

</div>

Hi, Please help... I'm working on a slide show which I would like work automatically (fade in and out) as well as being able to be prompted to switch via buttons... I know this is a super simple thing, but I cannot get…

---

## [Click HTML link to open SWF?](https://forum.kirupa.com/t/click-html-link-to-open-swf/311618)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 5:22pm UTC](https://forum.kirupa.com/t/click-html-link-to-open-swf/311618 "2010-07-12T17:22:03Z")

</div>

Is this possible? Do I have to use JavaScript? 1) If I have 20 html links on a site, what if I wanted each link to open up a new SWF movie? 2) If 1 is possible, could I then go further and not just open an SWF, but…

---

## [Flash file wont show up on page unless you type in direct location](https://forum.kirupa.com/t/flash-file-wont-show-up-on-page-unless-you-type-in-direct-location/311617)

<div class="topic-metadata">

**Author:** [@artiisan](https://forum.kirupa.com/u/artiisan)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 4:10pm UTC](https://forum.kirupa.com/t/flash-file-wont-show-up-on-page-unless-you-type-in-direct-location/311617 "2010-07-12T16:10:54Z")

</div>

Flash file wont show up on page unless you type in direct location im working on a website called phocusmag.com and im trying to get it to have coming soon on it so I created a swf file called index but it wont play unle…

---

## [Thumbnails dont all fade in](https://forum.kirupa.com/t/thumbnails-dont-all-fade-in/311614)

<div class="topic-metadata">

**Author:** [@brianharms](https://forum.kirupa.com/u/brianharms)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 3:00pm UTC](https://forum.kirupa.com/t/thumbnails-dont-all-fade-in/311614 "2010-07-12T15:00:58Z")

</div>

I have a bunch of thumbnails being added to a container and they tween their alphas from 0 to 1 when they are added, but sometimes they dont all fade in completely - some will show up very light, as if they got stuck wit…

---

## [Can't connect to local MySQL server through socket '/tmp/mysql.sock'](https://forum.kirupa.com/t/cant-connect-to-local-mysql-server-through-socket-tmp-mysql-sock/311613)

<div class="topic-metadata">

**Author:** [@ndesign\_ie](https://forum.kirupa.com/u/ndesign_ie)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 2:33pm UTC](https://forum.kirupa.com/t/cant-connect-to-local-mysql-server-through-socket-tmp-mysql-sock/311613 "2010-07-12T14:33:24Z")

</div>

Hi All, have a headache inflicting problem (Warnings) Can't connect to local MySQL server through socket '/tmp/mysql.sock' and then: A link to the server could not be established right, code is below, host and db na…

---

## [BlackJack](https://forum.kirupa.com/t/blackjack/311609)

<div class="topic-metadata">

**Author:** [@JaxNa](https://forum.kirupa.com/u/JaxNa)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 9:42am UTC](https://forum.kirupa.com/t/blackjack/311609 "2010-07-12T09:42:41Z")

</div>

hi, Can you give me tutorial of BlackJack in As3 Thanks, JaxNa

---

## [Button plays movie clip symbol?](https://forum.kirupa.com/t/button-plays-movie-clip-symbol/311606)

<div class="topic-metadata">

**Author:** [@Mike0686](https://forum.kirupa.com/u/Mike0686)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 7:18am UTC](https://forum.kirupa.com/t/button-plays-movie-clip-symbol/311606 "2010-07-12T07:18:54Z")

</div>

I am probably going to get yelled at for posting this question, but I have looked for an answer for about two hours and can't find anything. I want to make a time line (timeline is my graphic not the timeline in cs4, l…

---

## [Adding multiple instances at varying but specific points on stage](https://forum.kirupa.com/t/adding-multiple-instances-at-varying-but-specific-points-on-stage/311605)

<div class="topic-metadata">

**Author:** [@Dadagu](https://forum.kirupa.com/u/Dadagu)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 6:57am UTC](https://forum.kirupa.com/t/adding-multiple-instances-at-varying-but-specific-points-on-stage/311605 "2010-07-12T06:57:47Z")

</div>

Is there anyway to add multiple instances of an object to the stage at different but not random points. For example - I have a box that is linked to a class file. In the class file I have an "ADDED\_TO\_STAGE" event list…

---

## [HP heal after set time not working (setInterval();)](https://forum.kirupa.com/t/hp-heal-after-set-time-not-working-setinterval/311603)

<div class="topic-metadata">

**Author:** [@Naezo](https://forum.kirupa.com/u/Naezo)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 5:55am UTC](https://forum.kirupa.com/t/hp-heal-after-set-time-not-working-setinterval/311603 "2010-07-12T05:55:50Z")

</div>

You guy's have saved me once not to long ago, I could use that again here \[smiley\] So, my problem is I have set up a script for a HP bar, and now I want to set up a script that will replenish the character's HP after a…

---

## [Detecting class inheritance](https://forum.kirupa.com/t/detecting-class-inheritance/311602)

<div class="topic-metadata">

**Author:** [@Scythe](https://forum.kirupa.com/u/Scythe)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 4:41am UTC](https://forum.kirupa.com/t/detecting-class-inheritance/311602 "2010-07-12T04:41:57Z")

</div>

I have a class called BgItem that I want many other classes to extend. But I also want to be able to use instances the BgItem class itself. Within the BgItem class file, I want to be able to detect whether the specific i…

---

## [XML and multiple external SWFs](https://forum.kirupa.com/t/xml-and-multiple-external-swfs/311601)

<div class="topic-metadata">

**Author:** [@chriswm](https://forum.kirupa.com/u/chriswm)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 4:21am UTC](https://forum.kirupa.com/t/xml-and-multiple-external-swfs/311601 "2010-07-12T04:21:26Z")

</div>

I am trying to figure out how to read an XML file containing a list of the swfs I want to import, pause for 8 seconds to allow the swf to run and then continue the loop with the next swf. I am reading the XML correctly…

---

## [Fading in thumbnails as they load](https://forum.kirupa.com/t/fading-in-thumbnails-as-they-load/311600)

<div class="topic-metadata">

**Author:** [@brianharms](https://forum.kirupa.com/u/brianharms)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 3:42am UTC](https://forum.kirupa.com/t/fading-in-thumbnails-as-they-load/311600 "2010-07-12T03:42:59Z")

</div>

Hi, I know I've seen a tutorial for this before, but I just cant seem to find it. I have many thumbnails being placed into a container and I would like each thumbnail to fade in as it is placed. Should I be using an E…

---

## [Perform time differennce calculation in mysql](https://forum.kirupa.com/t/perform-time-differennce-calculation-in-mysql/311598)

<div class="topic-metadata">

**Author:** [@Tiota](https://forum.kirupa.com/u/Tiota)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 12:56am UTC](https://forum.kirupa.com/t/perform-time-differennce-calculation-in-mysql/311598 "2010-07-12T00:56:48Z")

</div>

I have a database which stores timein and timeout of staff in some company, I try to calculate the number of hrs spend by each staff on a particular day by running this query. Select emp\_num, ts\_timein , ts\_timeout, ab…

---

## [Sub classes & folders](https://forum.kirupa.com/t/sub-classes-folders/311596)

<div class="topic-metadata">

**Author:** [@SephirothOWA](https://forum.kirupa.com/u/SephirothOWA)\
**Replies:** 0\
**Last updated:** [July 11, 2010, 11:07pm UTC](https://forum.kirupa.com/t/sub-classes-folders/311596 "2010-07-11T23:07:55Z")

</div>

Hey guys, I've worked wioth sub classes so I know how they work but I always work with everything all in one folder which can get messsy when there are a lot of classes to work through. So i started to make folders ins…

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

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