# programming

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

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

**Page:** 247

---

## [Flash application architecture question](https://forum.kirupa.com/t/flash-application-architecture-question/324113)

<div class="topic-metadata">

**Author:** [@johnsonw](https://forum.kirupa.com/u/johnsonw)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 12:07am UTC](https://forum.kirupa.com/t/flash-application-architecture-question/324113 "2011-08-03T00:07:31Z")

</div>

Hello, I'm building a flash application using a three-tier environment and amazon web services (EC2) for hosting. I have three server instances of ubuntu; let's call them Server A, Server B and Server C. Server A hosts…

---

## [Changing stroke color dynamically](https://forum.kirupa.com/t/changing-stroke-color-dynamically/324112)

<div class="topic-metadata">

**Author:** [@sajib\_bd](https://forum.kirupa.com/u/sajib_bd)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 12:00am UTC](https://forum.kirupa.com/t/changing-stroke-color-dynamically/324112 "2011-08-03T00:00:21Z")

</div>

Hi, I am using stylus input to draw lines in a canvas. I want to change the color of the stroke with the pen pressure. so I used: DrawingAttributes dattribute = new DrawingAttributes(); inkcan.EditingMode = InkCanvasEd…

---

## [Trouble with Reversing Movie Clips (Greensock TweenLite)](https://forum.kirupa.com/t/trouble-with-reversing-movie-clips-greensock-tweenlite/324110)

<div class="topic-metadata">

**Author:** [@Rob\_Clark](https://forum.kirupa.com/u/Rob_Clark)\
**Replies:** 0\
**Last updated:** [August 2, 2011, 6:56pm UTC](https://forum.kirupa.com/t/trouble-with-reversing-movie-clips-greensock-tweenlite/324110 "2011-08-02T18:56:23Z")

</div>

Hey all, AS3 newb here. I am (trying) to build a Banner for my companies website in AS3. I am currently using CS5 with the Greensock TweenLite package. I want product images to slide in from the right of the screen, …

---

## [SWF Address](https://forum.kirupa.com/t/swf-address/324109)

<div class="topic-metadata">

**Author:** [@meli\_melo](https://forum.kirupa.com/u/meli_melo)\
**Replies:** 0\
**Last updated:** [August 2, 2011, 5:58pm UTC](https://forum.kirupa.com/t/swf-address/324109 "2011-08-02T17:58:18Z")

</div>

Hi everyone, I am very new to flash and as3. I built a website with swf address and it works great except the back/forward browser buttons do not change the content of the page, just the address. I followed a tutorial an…

---

## [Hiding "unecessary" GET data (theoretical idea)](https://forum.kirupa.com/t/hiding-unecessary-get-data-theoretical-idea/324107)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [August 2, 2011, 3:58pm UTC](https://forum.kirupa.com/t/hiding-unecessary-get-data-theoretical-idea/324107 "2011-08-02T15:58:47Z")

</div>

This is just an idea and as far as I know is not supported by any browser currently available. Don't you just get annoyed by all that "extra information" appened to the URLs? http://active.tutsplus.com/articles/news…

---

## [AS 3 getBounds](https://forum.kirupa.com/t/as-3-getbounds/324106)

<div class="topic-metadata">

**Author:** [@globo23](https://forum.kirupa.com/u/globo23)\
**Replies:** 0\
**Last updated:** [August 2, 2011, 3:40pm UTC](https://forum.kirupa.com/t/as-3-getbounds/324106 "2011-08-02T15:40:54Z")

</div>

Can anyone of you guys help me out with this one? The following piece of code works in the timeline: var ball:Sprite = new Sprite; addChild(ball); ball.graphics.beginFill(Math.random()\*0xff0000); ball.graphics.drawCi…

---

## ["Press Enter To Continue"?](https://forum.kirupa.com/t/press-enter-to-continue/324104)

<div class="topic-metadata">

**Author:** [@kwekzh](https://forum.kirupa.com/u/kwekzh)\
**Replies:** 0\
**Last updated:** [August 2, 2011, 3:13pm UTC](https://forum.kirupa.com/t/press-enter-to-continue/324104 "2011-08-02T15:13:53Z")

</div>

I'm doing up a flash file as a project, and so far I have one frame with 2 types of text, one introduction and another that says, "Press Enter To Continue..." I also have another frame side-by-side with another bunch of …

---

## [mp3 file not playing](https://forum.kirupa.com/t/mp3-file-not-playing/324101)

<div class="topic-metadata">

**Author:** [@lordrt](https://forum.kirupa.com/u/lordrt)\
**Replies:** 0\
**Last updated:** [August 2, 2011, 12:28pm UTC](https://forum.kirupa.com/t/mp3-file-not-playing/324101 "2011-08-02T12:28:06Z")

</div>

Hello I have a flash file developed by an ex-colleague, to load and play a flash file, however after moving the website to OVH server, the mp3 stopped playing: code for mp3: this.\_lockroot = true; var loopTune:Sou…

---

## [Reading Epub files](https://forum.kirupa.com/t/reading-epub-files/324099)

<div class="topic-metadata">

**Author:** [@tstefan](https://forum.kirupa.com/u/tstefan)\
**Replies:** 0\
**Last updated:** [August 2, 2011, 10:15am UTC](https://forum.kirupa.com/t/reading-epub-files/324099 "2011-08-02T10:15:08Z")

</div>

Hello, is there a library or something that can bee used to read epub file in the flash CS5 Air, so it can be viewed on mobile devices. Thanks

---

## [Tutorial: Looking at CSS3 Transitions](https://forum.kirupa.com/t/tutorial-looking-at-css3-transitions/324098)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [August 2, 2011, 7:31am UTC](https://forum.kirupa.com/t/tutorial-looking-at-css3-transitions/324098 "2011-08-02T07:31:07Z")

</div>

Hi everyone, This is the place to discuss anything and everything related to the \*\*Looking at CSS3 Transitions \*\*tutorial. Jump right on in \[stuck\_out\_tongue\] Cheers, Kirupa (-:

---

## [Verlet integration](https://forum.kirupa.com/t/verlet-integration/324096)

<div class="topic-metadata">

**Author:** [@m\_elemental](https://forum.kirupa.com/u/m_elemental)\
**Replies:** 0\
**Last updated:** [August 2, 2011, 6:12am UTC](https://forum.kirupa.com/t/verlet-integration/324096 "2011-08-02T06:12:16Z")

</div>

Does anybody over here know about Verlet integration? Between these three classes I've got a bitmap object moving around nicely with the arrow keys... but most of the time when I open the SWF there is a flash of the bi…

---

## [Ternary Operator - Please help me understand this line of code](https://forum.kirupa.com/t/ternary-operator-please-help-me-understand-this-line-of-code/324091)

<div class="topic-metadata">

**Author:** [@SquirtGun](https://forum.kirupa.com/u/SquirtGun)\
**Replies:** 0\
**Last updated:** [August 1, 2011, 9:50pm UTC](https://forum.kirupa.com/t/ternary-operator-please-help-me-understand-this-line-of-code/324091 "2011-08-01T21:50:30Z")

</div>

Hello all, I recently took over a project and I am trying to wrap my head around this line of code which uses the Ternary Operator. I am only familiar with the basics. I don't quite understand the nested nature of thi…

---

## [XML OR my sql database](https://forum.kirupa.com/t/xml-or-my-sql-database/324087)

<div class="topic-metadata">

**Author:** [@AleksanderKoko](https://forum.kirupa.com/u/AleksanderKoko)\
**Replies:** 0\
**Last updated:** [August 1, 2011, 6:05pm UTC](https://forum.kirupa.com/t/xml-or-my-sql-database/324087 "2011-08-01T18:05:05Z")

</div>

Hi . Im working on a project . This web page will have many users . And they will post things very often. My question is . How should i strore this information . In a database or in xml format . wich is more secure to us…

---

## [Am I doing something wrong here? (drawRect not showing up)](https://forum.kirupa.com/t/am-i-doing-something-wrong-here-drawrect-not-showing-up/324086)

<div class="topic-metadata">

**Author:** [@cam94509](https://forum.kirupa.com/u/cam94509)\
**Replies:** 0\
**Last updated:** [August 1, 2011, 5:16pm UTC](https://forum.kirupa.com/t/am-i-doing-something-wrong-here-drawrect-not-showing-up/324086 "2011-08-01T17:16:53Z")

</div>

I'm using this code to try to draw a background (actually, I'm using modified versions of it to do all sorts of stuff, but w/e, the background isn't drawing, even when I comment the rest of the drawing fail out): var g…

---

## [Shadowbox - Navigation links (numbers on the left side of the panel) are not there](https://forum.kirupa.com/t/shadowbox-navigation-links-numbers-on-the-left-side-of-the-panel-are-not-there/324085)

<div class="topic-metadata">

**Author:** [@canaan77](https://forum.kirupa.com/u/canaan77)\
**Replies:** 0\
**Last updated:** [August 1, 2011, 4:54pm UTC](https://forum.kirupa.com/t/shadowbox-navigation-links-numbers-on-the-left-side-of-the-panel-are-not-there/324085 "2011-08-01T16:54:32Z")

</div>

Hi guys! I've installed Shadowbox(as a gallery) and it works fine except that the navigation links (numbers) on the left side of the panel (they are supposed to be listed as 1 2 3 and so on) are not there. The arrows…

---

## [Where is flashplayer located on the mac](https://forum.kirupa.com/t/where-is-flashplayer-located-on-the-mac/324083)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [August 1, 2011, 3:32pm UTC](https://forum.kirupa.com/t/where-is-flashplayer-located-on-the-mac/324083 "2011-08-01T15:32:13Z")

</div>

Stupid question and I know this, just can't remember... (not the version inside Flash IDE)

---

## [How to get Columns Comment with amfphp](https://forum.kirupa.com/t/how-to-get-columns-comment-with-amfphp/324082)

<div class="topic-metadata">

**Author:** [@zeeto](https://forum.kirupa.com/u/zeeto)\
**Replies:** 0\
**Last updated:** [August 1, 2011, 3:26pm UTC](https://forum.kirupa.com/t/how-to-get-columns-comment-with-amfphp/324082 "2011-08-01T15:26:19Z")

</div>

Hello, I'm using amfphp to get some info from SQL database. My php code of the file in "services" folder looks like: function getImages() { return mysql\_query("SELECT \* FROM images");} And I'm getting the info u…

---

## [How to convert DVD to AVI format](https://forum.kirupa.com/t/how-to-convert-dvd-to-avi-format/324081)

<div class="topic-metadata">

**Author:** [@lredrrey](https://forum.kirupa.com/u/lredrrey)\
**Replies:** 0\
**Last updated:** [August 1, 2011, 1:39pm UTC](https://forum.kirupa.com/t/how-to-convert-dvd-to-avi-format/324081 "2011-08-01T13:39:39Z")

</div>

Sometimes people need convert their DVDs to the AVI format to watch or put them to other portable players. But the problem is that they can not find the professional software to do this. Here I want to share my own ideas…

---

## [Functions and Classes](https://forum.kirupa.com/t/functions-and-classes/324080)

<div class="topic-metadata">

**Author:** [@CCG1993](https://forum.kirupa.com/u/CCG1993)\
**Replies:** 0\
**Last updated:** [August 1, 2011, 1:25pm UTC](https://forum.kirupa.com/t/functions-and-classes/324080 "2011-08-01T13:25:12Z")

</div>

Say, I have: \[LIST\] \[\*\]A main class \[\*\]A sub class \[\*\]A function defined in the sub - class \[/LIST\] How would I call said function from the Main class? Help would be much appreciated. Thank you, CCG1993

---

## [mouseX problem when width changed](https://forum.kirupa.com/t/mousex-problem-when-width-changed/324079)

<div class="topic-metadata">

**Author:** [@palmjack](https://forum.kirupa.com/u/palmjack)\
**Replies:** 0\
**Last updated:** [August 1, 2011, 1:15pm UTC](https://forum.kirupa.com/t/mousex-problem-when-width-changed/324079 "2011-08-01T13:15:11Z")

</div>

Not sure if I'm missing sth or is it just a bug. I have a movieclip on stage, it's a simple rectangle drawn with a rect tool (no stroke) I add an event listener to trace out the mouseX, works OK so far. When I increa…

---

## [How to make a simple object?](https://forum.kirupa.com/t/how-to-make-a-simple-object/324078)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [August 1, 2011, 12:40pm UTC](https://forum.kirupa.com/t/how-to-make-a-simple-object/324078 "2011-08-01T12:40:48Z")

</div>

In AS3, you would do: var obj:Object = new Object(); obj.hello = "hi"; obj.what = "whereWhen"; trace (obj.what) // whereWhen Really nice and easy. How can you do this in C# without using a method? Ty!:crazy:

---

## [Multiple font weight embedding](https://forum.kirupa.com/t/multiple-font-weight-embedding/324075)

<div class="topic-metadata">

**Author:** [@Ricardinho](https://forum.kirupa.com/u/Ricardinho)\
**Replies:** 0\
**Last updated:** [August 1, 2011, 9:34am UTC](https://forum.kirupa.com/t/multiple-font-weight-embedding/324075 "2011-08-01T09:34:04Z")

</div>

Hi, I'm looking for solutions to embed multiple font weights into an FLA. E.g. Helvetica Light, Medium, black etc etc. Has anyone hot any working examples/best practice opinions Thanks in advance

---

## [Bitmap Data](https://forum.kirupa.com/t/bitmap-data/324071)

<div class="topic-metadata">

**Author:** [@arks](https://forum.kirupa.com/u/arks)\
**Replies:** 0\
**Last updated:** [July 31, 2011, 11:55pm UTC](https://forum.kirupa.com/t/bitmap-data/324071 "2011-07-31T23:55:35Z")

</div>

Hi, so I've been stuck on this problem for a few days now. Basically I have an external image, brought in through XML and loaded up with the Loader class. I know it loads because there is another child on the stage. \_gre…

---

## [1119: Access of possibly undefined property parent through a reference with static ty](https://forum.kirupa.com/t/1119-access-of-possibly-undefined-property-parent-through-a-reference-with-static-ty/324070)

<div class="topic-metadata">

**Author:** [@zeeto](https://forum.kirupa.com/u/zeeto)\
**Replies:** 0\
**Last updated:** [July 31, 2011, 8:20pm UTC](https://forum.kirupa.com/t/1119-access-of-possibly-undefined-property-parent-through-a-reference-with-static-ty/324070 "2011-07-31T20:20:04Z")

</div>

Hi, I'm having bit of a headache with 1119 error and I can't figure out why. The problematic line is in red. What I'm trying to do is: 1. Add Display Object "imagesGallery" to mainWin 2. Add MovieClip "imagesPreloade…

---

## [DRM s for SWFs](https://forum.kirupa.com/t/drm-s-for-swfs/324065)

<div class="topic-metadata">

**Author:** [@ColinDavies](https://forum.kirupa.com/u/ColinDavies)\
**Replies:** 0\
**Last updated:** [July 31, 2011, 8:02am UTC](https://forum.kirupa.com/t/drm-s-for-swfs/324065 "2011-07-31T08:02:41Z")

</div>

{Sorry if this has been asked but, I have searched around and discovered little} Are there and third party Digital Right Management Packages/Components/Classes for SWFs ? The only thing I can find is 'LockLizard' , and I…

---

## [The movie starts again even with \_root.stop(), why?](https://forum.kirupa.com/t/the-movie-starts-again-even-with--root-stop-why/324062)

<div class="topic-metadata">

**Author:** [@joecoolman](https://forum.kirupa.com/u/joecoolman)\
**Replies:** 0\
**Last updated:** [July 31, 2011, 3:13am UTC](https://forum.kirupa.com/t/the-movie-starts-again-even-with--root-stop-why/324062 "2011-07-31T03:13:34Z")

</div>

I have a movie with 3 scenes, the last one has only just one statement on the timeline: \_root.stop(), and there are not library objects neither ones created by code. Just and empty stage with the statement I told. I know…

---

## [scrollPane Mods](https://forum.kirupa.com/t/scrollpane-mods/324059)

<div class="topic-metadata">

**Author:** [@rassy7](https://forum.kirupa.com/u/rassy7)\
**Replies:** 0\
**Last updated:** [July 31, 2011, 1:43am UTC](https://forum.kirupa.com/t/scrollpane-mods/324059 "2011-07-31T01:43:05Z")

</div>

Does anybody know how, if it's possible, to move the vertical scroll bar to the left side of the scrollPane component? I know it sounds weird, but I need the pane to scroll with the bar on the left side instead of the ri…

---

## [ActionScript Classes Problem](https://forum.kirupa.com/t/actionscript-classes-problem/324057)

<div class="topic-metadata">

**Author:** [@mlundager](https://forum.kirupa.com/u/mlundager)\
**Replies:** 0\
**Last updated:** [July 30, 2011, 8:37pm UTC](https://forum.kirupa.com/t/actionscript-classes-problem/324057 "2011-07-30T20:37:47Z")

</div>

Okay so i created a button on the stage and made it a movie clip and called it's instance name "play\_btn" then i made a document class "main.as" and a second class "play button.as" so what i want to do but can't figure…

---

## [Anyone knows how to make a game like Knytt Stories?](https://forum.kirupa.com/t/anyone-knows-how-to-make-a-game-like-knytt-stories/324055)

<div class="topic-metadata">

**Author:** [@dankim322](https://forum.kirupa.com/u/dankim322)\
**Replies:** 0\
**Last updated:** [July 30, 2011, 7:52pm UTC](https://forum.kirupa.com/t/anyone-knows-how-to-make-a-game-like-knytt-stories/324055 "2011-07-30T19:52:27Z")

</div>

I need to know how to make a camera follow the place where the character is standing. ...lets say that there is a large room, and 4 sections to it. Top left, top right, bottom left, bottom right. If a character goes in t…

---

## [IE6 PNG error](https://forum.kirupa.com/t/ie6-png-error/324053)

<div class="topic-metadata">

**Author:** [@malim](https://forum.kirupa.com/u/malim)\
**Replies:** 0\
**Last updated:** [July 30, 2011, 4:28pm UTC](https://forum.kirupa.com/t/ie6-png-error/324053 "2011-07-30T16:28:21Z")

</div>

Any expert would advise me to fix png error in IE6? I have already use supersleight, google jquery, and other jquery to fix this error on http://www.diolt.com but nothing works with me.

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

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