# programming

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

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

**Page:** 174

---

## [Google Text to Speech Cross Domain Problems](https://forum.kirupa.com/t/google-text-to-speech-cross-domain-problems/328218)

<div class="topic-metadata">

**Author:** [@Gemixin](https://forum.kirupa.com/u/Gemixin)\
**Replies:** 0\
**Last updated:** [April 28, 2012, 4:47pm UTC](https://forum.kirupa.com/t/google-text-to-speech-cross-domain-problems/328218 "2012-04-28T16:47:55Z")

</div>

Hi there I am successfully using this code when running my Flash file locally to play a sound file of TTS converted text: var theSound; function tts(textToSpeak) { theSound = new Sound(new URLRequest("http…

---

## [PHP script in cache](https://forum.kirupa.com/t/php-script-in-cache/328217)

<div class="topic-metadata">

**Author:** [@Claid](https://forum.kirupa.com/u/Claid)\
**Replies:** 0\
**Last updated:** [April 28, 2012, 4:41pm UTC](https://forum.kirupa.com/t/php-script-in-cache/328217 "2012-04-28T16:41:51Z")

</div>

hy imdeveloping php/flash web but i have noticed a problem. when flash asks php to retrive data for the first time php works fine and then saves the echo output to cache folder however when flash needs a fresh set of dat…

---

## [Access movie clip in a loaded swf?](https://forum.kirupa.com/t/access-movie-clip-in-a-loaded-swf/328212)

<div class="topic-metadata">

**Author:** [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Replies:** 0\
**Last updated:** [April 28, 2012, 12:35am UTC](https://forum.kirupa.com/t/access-movie-clip-in-a-loaded-swf/328212 "2012-04-28T00:35:22Z")

</div>

Hello everyone! I am trying to access a movie clip in a loaded swf. How do i do it? Thanks. Regards, Leo. Let me try to be more specific: I can load the swf, but inside of this same swf (lets say part\_1.swf) there ar…

---

## [as3 restting my game](https://forum.kirupa.com/t/as3-restting-my-game/328211)

<div class="topic-metadata">

**Author:** [@learningas3](https://forum.kirupa.com/u/learningas3)\
**Replies:** 0\
**Last updated:** [April 27, 2012, 11:44pm UTC](https://forum.kirupa.com/t/as3-restting-my-game/328211 "2012-04-27T23:44:09Z")

</div>

i'm having a bit of trouble figuring how to reset my game. i have a button that will reset when clicked. anyone have any clue what i should do here? { import flash.display.Sprite; import flash.events.Event; …

---

## [TransformTool problem](https://forum.kirupa.com/t/transformtool-problem/328210)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [April 27, 2012, 5:14pm UTC](https://forum.kirupa.com/t/transformtool-problem/328210 "2012-04-27T17:14:35Z")

</div>

Good afternoon, I am using the function TransformTool for a project and need to solve 2 problems I have. 2 manipulate images that one of them always remains below anotherthe image does not get out of an area which I de…

---

## [Getting Simon game script to work: all lightskeep flashing](https://forum.kirupa.com/t/getting-simon-game-script-to-work-all-lightskeep-flashing/328207)

<div class="topic-metadata">

**Author:** [@saratogacoach2](https://forum.kirupa.com/u/saratogacoach2)\
**Replies:** 0\
**Last updated:** [April 27, 2012, 12:17pm UTC](https://forum.kirupa.com/t/getting-simon-game-script-to-work-all-lightskeep-flashing/328207 "2012-04-27T12:17:44Z")

</div>

Hi, Resolved. Thanks. Regards,

---

## [What is the equivalent of flash.display.Graphics on Stage3D?](https://forum.kirupa.com/t/what-is-the-equivalent-of-flash-display-graphics-on-stage3d/328205)

<div class="topic-metadata">

**Author:** [@rotaercz](https://forum.kirupa.com/u/rotaercz)\
**Replies:** 0\
**Last updated:** [April 26, 2012, 9:46pm UTC](https://forum.kirupa.com/t/what-is-the-equivalent-of-flash-display-graphics-on-stage3d/328205 "2012-04-26T21:46:57Z")

</div>

Hi guys! I've started learning Stage3D and want to do some bitmap manipulation in it. What is the equivalent of the Graphics class in Stage3D? \[smile\]

---

## [Is there a way to control the Smoking not going above the effect?](https://forum.kirupa.com/t/is-there-a-way-to-control-the-smoking-not-going-above-the-effect/328203)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [April 26, 2012, 6:30pm UTC](https://forum.kirupa.com/t/is-there-a-way-to-control-the-smoking-not-going-above-the-effect/328203 "2012-04-26T18:30:46Z")

</div>

Hi, In the following example (File attached), the smoke goes above the stage. I want to avoid it, and limit the smoke to go maximum up to the stage. I need it because my flash is auto re-sizable to the browser widt…

---

## [Converting any ASCII characters in a string into text](https://forum.kirupa.com/t/converting-any-ascii-characters-in-a-string-into-text/328201)

<div class="topic-metadata">

**Author:** [@sabird](https://forum.kirupa.com/u/sabird)\
**Replies:** 0\
**Last updated:** [April 26, 2012, 5:17pm UTC](https://forum.kirupa.com/t/converting-any-ascii-characters-in-a-string-into-text/328201 "2012-04-26T17:17:33Z")

</div>

I'm using RSS data in a mobile app. Some of the text in the RSS is coming back using ASCII codes. It seems to render normally sometimes, but not others. Specifically, apostrophes, greater thans, and quotes are coming …

---

## [Actionscript3: Counter Sysytem](https://forum.kirupa.com/t/actionscript3-counter-sysytem/328199)

<div class="topic-metadata">

**Author:** [@learningas3](https://forum.kirupa.com/u/learningas3)\
**Replies:** 0\
**Last updated:** [April 26, 2012, 2:21pm UTC](https://forum.kirupa.com/t/actionscript3-counter-sysytem/328199 "2012-04-26T14:21:50Z")

</div>

I'm creating a shooting gallery, and I have most of it functioning, but the counter which is in it own class named "Board" is the problem. I have a main, ducks and board class. I'm trying to get the counter (board) to co…

---

## [Custom align in TextField?](https://forum.kirupa.com/t/custom-align-in-textfield/328197)

<div class="topic-metadata">

**Author:** [@panoss](https://forum.kirupa.com/u/panoss)\
**Replies:** 0\
**Last updated:** [April 26, 2012, 9:34am UTC](https://forum.kirupa.com/t/custom-align-in-textfield/328197 "2012-04-26T09:34:58Z")

</div>

I want to make a custom alignment method for a TextField (of 'input' type). The reason for this? Let's say I have a Text Field with 4 lines of text. I want the first 2 to be 'centered', and the other 2 to stay unformated…

---

## [Memory SWF add a number to each application, as3](https://forum.kirupa.com/t/memory-swf-add-a-number-to-each-application-as3/328195)

<div class="topic-metadata">

**Author:** [@Jemerson\_Souza](https://forum.kirupa.com/u/Jemerson_Souza)\
**Replies:** 0\
**Last updated:** [April 25, 2012, 7:14pm UTC](https://forum.kirupa.com/t/memory-swf-add-a-number-to-each-application-as3/328195 "2012-04-25T19:14:07Z")

</div>

Hello Guys I wonder if it is to add a number to a variable each time the swf play. If anyone knows if it is possible and how it can be done right now I thank

---

## [Popping bubble wrap HitTest](https://forum.kirupa.com/t/popping-bubble-wrap-hittest/328194)

<div class="topic-metadata">

**Author:** [@POPBA](https://forum.kirupa.com/u/POPBA)\
**Replies:** 0\
**Last updated:** [April 25, 2012, 7:09pm UTC](https://forum.kirupa.com/t/popping-bubble-wrap-hittest/328194 "2012-04-25T19:09:38Z")

</div>

Hi, thank you all for the good tips \[smile\] they helped me go forward in my project! I'm working on this not-new-idea of bursting bubble warp. I figured it's a good way of learning . But I'm missing something and can…

---

## [Updating results in as3](https://forum.kirupa.com/t/updating-results-in-as3/328191)

<div class="topic-metadata">

**Author:** [@Matt7](https://forum.kirupa.com/u/Matt7)\
**Replies:** 0\
**Last updated:** [April 25, 2012, 2:41pm UTC](https://forum.kirupa.com/t/updating-results-in-as3/328191 "2012-04-25T14:41:09Z")

</div>

Hi, I'm working with lastfm's api to find similar artists. I have the search function running which will load the similar artists however I am having trouble removing the existing results when the search is updated. I…

---

## [Help needed with simple animation](https://forum.kirupa.com/t/help-needed-with-simple-animation/328189)

<div class="topic-metadata">

**Author:** [@David\_G](https://forum.kirupa.com/u/David_G)\
**Replies:** 0\
**Last updated:** [April 25, 2012, 10:23am UTC](https://forum.kirupa.com/t/help-needed-with-simple-animation/328189 "2012-04-25T10:23:43Z")

</div>

Hi, can someone help me out with the button script for this simple animation? The functionality I'm after: play button: click once to start animation. Once it's played through I'd like the car to stop on the last fr…

---

## [CustomReportItem for SSRS?](https://forum.kirupa.com/t/customreportitem-for-ssrs/328188)

<div class="topic-metadata">

**Author:** [@panda920](https://forum.kirupa.com/u/panda920)\
**Replies:** 0\
**Last updated:** [April 25, 2012, 8:01am UTC](https://forum.kirupa.com/t/customreportitem-for-ssrs/328188 "2012-04-25T08:01:18Z")

</div>

\[FONT=inherit\]Is there any way to use a WPF UserControl as a CustomReportItem for SSRS? In the draw method I'd like to create an instance of the WPF control and render it as a visual brush. The only problem is that WPF c…

---

## [Final Packaging Help](https://forum.kirupa.com/t/final-packaging-help/328185)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [April 24, 2012, 10:22pm UTC](https://forum.kirupa.com/t/final-packaging-help/328185 "2012-04-24T22:22:30Z")

</div>

Right now I have my preloader in a swf and my game in another swf. I need to get them into one swf. Right now I have a preloader with actions in frame 1 like so: var l:Loader=new Loader();var played:Boolean=false; …

---

## [setInterval method](https://forum.kirupa.com/t/setinterval-method/328183)

<div class="topic-metadata">

**Author:** [@miled](https://forum.kirupa.com/u/miled)\
**Replies:** 0\
**Last updated:** [April 24, 2012, 6:00pm UTC](https://forum.kirupa.com/t/setinterval-method/328183 "2012-04-24T18:00:05Z")

</div>

var nAb:Number=10; var arrX:Array=new Array(); var arrY:Array=new Array(); var direct:Number; var Vx:Number; var Vy:Number; var initx:Number=215; var inity:Number=210; var vmax:Number=10; var vmin:Number=2; for (var i:…

---

## [Problem with compiling: no errors but flash won't execute the code](https://forum.kirupa.com/t/problem-with-compiling-no-errors-but-flash-wont-execute-the-code/328181)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [April 24, 2012, 2:25pm UTC](https://forum.kirupa.com/t/problem-with-compiling-no-errors-but-flash-wont-execute-the-code/328181 "2012-04-24T14:25:06Z")

</div>

Hi, I have an weird issue with a fla file. I've worked on a big project for a long time ago. I use cs4 to compile the fla and Flash Develop for the classes. Yesterday I compiled many times and suddenly CS3 stopped exec…

---

## [Photo Mask Question](https://forum.kirupa.com/t/photo-mask-question/328180)

<div class="topic-metadata">

**Author:** [@joenowhere](https://forum.kirupa.com/u/joenowhere)\
**Replies:** 0\
**Last updated:** [April 24, 2012, 10:46am UTC](https://forum.kirupa.com/t/photo-mask-question/328180 "2012-04-24T10:46:34Z")

</div>

I want to do a photo gallery like the link below! Did any one can help me! Thanks a lot!!! activeden.net/item/image-mask-slider/88140 Thanks

---

## [Timer Event on specific frame](https://forum.kirupa.com/t/timer-event-on-specific-frame/328179)

<div class="topic-metadata">

**Author:** [@Domen](https://forum.kirupa.com/u/Domen)\
**Replies:** 0\
**Last updated:** [April 24, 2012, 9:18am UTC](https://forum.kirupa.com/t/timer-event-on-specific-frame/328179 "2012-04-24T09:18:45Z")

</div>

How to add timer to release when "Button click + 10 (root timeline) frames" ? if (stage.currentFrame+10.. ..I dont know. Have someone some idea? Thanks.

---

## [Tutorial: Rounding Numbers in JavaScript](https://forum.kirupa.com/t/tutorial-rounding-numbers-in-javascript/328178)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [April 24, 2012, 8:00am UTC](https://forum.kirupa.com/t/tutorial-rounding-numbers-in-javascript/328178 "2012-04-24T08:00:13Z")

</div>

\[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[FONT=Segoe UI\]\[COLOR=#333333\]\[COLOR=#333333\]Hi everyone,\[/COLOR\]\[/COLOR\]\[/FONT\]\[/FONT\]\[/COLOR\]\[/COLOR\] \[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[COLOR=#333333\]\[FONT=Segoe…

---

## [Interactive Video Manipulation](https://forum.kirupa.com/t/interactive-video-manipulation/328177)

<div class="topic-metadata">

**Author:** [@DemonGibi](https://forum.kirupa.com/u/DemonGibi)\
**Replies:** 0\
**Last updated:** [April 24, 2012, 7:00am UTC](https://forum.kirupa.com/t/interactive-video-manipulation/328177 "2012-04-24T07:00:40Z")

</div>

Hi all, I have a project which is about creating interactive videos for users.. The main idea is that user will open the app and a predefined video will show-up. Video will show couple of billboards, signs etc. while mov…

---

## [Runtime Shared Library Question](https://forum.kirupa.com/t/runtime-shared-library-question/328174)

<div class="topic-metadata">

**Author:** [@CodeKid23](https://forum.kirupa.com/u/CodeKid23)\
**Replies:** 0\
**Last updated:** [April 24, 2012, 3:10am UTC](https://forum.kirupa.com/t/runtime-shared-library-question/328174 "2012-04-24T03:10:08Z")

</div>

Hi, I already have 2 swf file. one.swf and two swf. in one.swf,it contains main\_container(movie clip) and inside main\_container it has mc\_one, mc\_two and mc\_three and export for sharing is already checked. in two.swf…

---

## [Include external actionscript using variable](https://forum.kirupa.com/t/include-external-actionscript-using-variable/328173)

<div class="topic-metadata">

**Author:** [@CodeKid23](https://forum.kirupa.com/u/CodeKid23)\
**Replies:** 0\
**Last updated:** [April 24, 2012, 3:04am UTC](https://forum.kirupa.com/t/include-external-actionscript-using-variable/328173 "2012-04-24T03:04:14Z")

</div>

Hi, is it possible? var s:String = "scripts/myscript.as" include s

---

## [Despartely need help with NULL ERROR](https://forum.kirupa.com/t/despartely-need-help-with-null-error/328165)

<div class="topic-metadata">

**Author:** [@avaughn](https://forum.kirupa.com/u/avaughn)\
**Replies:** 0\
**Last updated:** [April 23, 2012, 7:05pm UTC](https://forum.kirupa.com/t/despartely-need-help-with-null-error/328165 "2012-04-23T19:05:12Z")

</div>

I have One SWF loading Two External SWFs seprately that have dataGrid components in them. The Externals load and run fine on their own but when I try to load them into CORE SWF I get .... TypeError: Error #2007: Parame…

---

## [Number Progressive Field](https://forum.kirupa.com/t/number-progressive-field/328161)

<div class="topic-metadata">

**Author:** [@Jemerson\_Souza](https://forum.kirupa.com/u/Jemerson_Souza)\
**Replies:** 0\
**Last updated:** [April 23, 2012, 6:00pm UTC](https://forum.kirupa.com/t/number-progressive-field/328161 "2012-04-23T18:00:14Z")

</div>

Hello everyone. I would like to make a dynamic field where the number to make a count of 0 to a number that will come from a variable. I am researching several hours and can not find. An example is the preloader, …

---

## [Fonts should be embedded for any text that may be edited at runtime, other than text](https://forum.kirupa.com/t/fonts-should-be-embedded-for-any-text-that-may-be-edited-at-runtime-other-than-text/328160)

<div class="topic-metadata">

**Author:** [@rakesh74](https://forum.kirupa.com/u/rakesh74)\
**Replies:** 0\
**Last updated:** [April 23, 2012, 5:46pm UTC](https://forum.kirupa.com/t/fonts-should-be-embedded-for-any-text-that-may-be-edited-at-runtime-other-than-text/328160 "2012-04-23T17:46:39Z")

</div>

Hi guys Is there any simple way to solve the above problem by means of actionscript 3 . Please help rakesh

---

## [Accessing Flashvars from .swf? querystring](https://forum.kirupa.com/t/accessing-flashvars-from-swf-querystring/328159)

<div class="topic-metadata">

**Author:** [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Replies:** 0\
**Last updated:** [April 23, 2012, 5:15pm UTC](https://forum.kirupa.com/t/accessing-flashvars-from-swf-querystring/328159 "2012-04-23T17:15:15Z")

</div>

Hey All, Is it possible to pass flashvars via querystring to your swf file without having access to the html? Something like http://mysite.com/main\_swf.swf?var1=this&var2=that I usually deal with flashvars on the h…

---

## [What is the best way to check XML node's children for most number of characters?](https://forum.kirupa.com/t/what-is-the-best-way-to-check-xml-nodes-children-for-most-number-of-characters/328156)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [April 23, 2012, 1:31pm UTC](https://forum.kirupa.com/t/what-is-the-best-way-to-check-xml-nodes-children-for-most-number-of-characters/328156 "2012-04-23T13:31:45Z")

</div>

Hello, I would like to do a simple check when I load an XML file for the most number of characters of children nodes. In other words, if any child node contains more than 50 characters I want to to configure stage obje…

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

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