# programming

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

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

**Page:** 585

---

## [Correct PHP Syntax](https://forum.kirupa.com/t/correct-php-syntax/303379)

<div class="topic-metadata">

**Author:** [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)\
**Replies:** 0\
**Last updated:** [January 19, 2010, 3:35pm UTC](https://forum.kirupa.com/t/correct-php-syntax/303379 "2010-01-19T15:35:28Z")

</div>

Just a quick question - html .="\<param name=FlashVars value='imageFilename=$row\[pic\]'\> " As I don't think the $row\[pic\] should appear within the ' ' think it should be somthing like this: html .="\<param name=Fla…

---

## [Combobox in flashdevelop](https://forum.kirupa.com/t/combobox-in-flashdevelop/303378)

<div class="topic-metadata">

**Author:** [@swennienl](https://forum.kirupa.com/u/swennienl)\
**Replies:** 0\
**Last updated:** [January 19, 2010, 3:30pm UTC](https://forum.kirupa.com/t/combobox-in-flashdevelop/303378 "2010-01-19T15:30:34Z")

</div>

Hi, Where making a little application for a school project. Only problem is whe are beginners I need to add a combobox in my project. But every example i see is for CS3/CS4 or a as3 flex project. or sfw files I'm …

---

## [Dynamically attaching MC under mask](https://forum.kirupa.com/t/dynamically-attaching-mc-under-mask/303376)

<div class="topic-metadata">

**Author:** [@hkunz](https://forum.kirupa.com/u/hkunz)\
**Replies:** 0\
**Last updated:** [January 19, 2010, 3:08pm UTC](https://forum.kirupa.com/t/dynamically-attaching-mc-under-mask/303376 "2010-01-19T15:08:39Z")

</div>

Hi, i'm new to kirupa. I'm an advanced flash developer and action scripter with more than 4 years of experience. I need to have an explanation to this problem. I have created a vector shape mask on the timeline that does…

---

## [Dataset not triggering pendingChanges()](https://forum.kirupa.com/t/dataset-not-triggering-pendingchanges/303375)

<div class="topic-metadata">

**Author:** [@johanndm](https://forum.kirupa.com/u/johanndm)\
**Replies:** 0\
**Last updated:** [January 19, 2010, 3:05pm UTC](https://forum.kirupa.com/t/dataset-not-triggering-pendingchanges/303375 "2010-01-19T15:05:11Z")

</div>

Hi, I'm trying out "Flash Form Application" to develop a ratecard UI. Everything works fine - i.e. binding XML to the DataSet and binding the DataSet to the text input fields. Where I need some help is that with DataSe…

---

## [Edited XML](https://forum.kirupa.com/t/edited-xml/303373)

<div class="topic-metadata">

**Author:** [@Scherzo](https://forum.kirupa.com/u/Scherzo)\
**Replies:** 0\
**Last updated:** [January 19, 2010, 2:45pm UTC](https://forum.kirupa.com/t/edited-xml/303373 "2010-01-19T14:45:30Z")

</div>

Hi guys, I've created a Flash CMS that basically reads an XML-file and edits it. It works like a charm. However, when I reload the webpage to see the changes in the XML-file (if I for example added to new nodes into th…

---

## [PHP: Undefined variable: error](https://forum.kirupa.com/t/php-undefined-variable-error/303371)

<div class="topic-metadata">

**Author:** [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)\
**Replies:** 0\
**Last updated:** [January 19, 2010, 2:30pm UTC](https://forum.kirupa.com/t/php-undefined-variable-error/303371 "2010-01-19T14:30:09Z")

</div>

I have this php: for ( $counter = 1; $counter \<= 10; $counter ++) { $html .= "\<div id= 'test'\> \</div\>"; } echo $html; So that it generates 10 divs. But I keep getting this error: Notice: Undefined variable: ht…

---

## [Loading Specific MC within External SWF](https://forum.kirupa.com/t/loading-specific-mc-within-external-swf/303370)

<div class="topic-metadata">

**Author:** [@sarahdisco](https://forum.kirupa.com/u/sarahdisco)\
**Replies:** 0\
**Last updated:** [January 19, 2010, 2:27pm UTC](https://forum.kirupa.com/t/loading-specific-mc-within-external-swf/303370 "2010-01-19T14:27:12Z")

</div>

Hi Everyone, Firstly can I apologise if I'm asking something completely obvious... it driving me crazy. The Situation: I have an swf called "branding.swf" which has a movieclip (movie\_mc) and a button (save\_btn) …

---

## [Urgent help needed - How do I make a symbol/instance "bounce" off a wall](https://forum.kirupa.com/t/urgent-help-needed-how-do-i-make-a-symbol-instance-bounce-off-a-wall/303369)

<div class="topic-metadata">

**Author:** [@mayurrenr](https://forum.kirupa.com/u/mayurrenr)\
**Replies:** 0\
**Last updated:** [January 19, 2010, 2:08pm UTC](https://forum.kirupa.com/t/urgent-help-needed-how-do-i-make-a-symbol-instance-bounce-off-a-wall/303369 "2010-01-19T14:08:03Z")

</div>

Hi everyone, Ive been working on this for a few days now, with this alpha-male attitude and am still unable to figure it out. Ive decided to ditch this attitude and come for help! My deadline is tomorrow, so any help o…

---

## [Creating hidden files](https://forum.kirupa.com/t/creating-hidden-files/303366)

<div class="topic-metadata">

**Author:** [@Tahereh](https://forum.kirupa.com/u/Tahereh)\
**Replies:** 0\
**Last updated:** [January 19, 2010, 1:40pm UTC](https://forum.kirupa.com/t/creating-hidden-files/303366 "2010-01-19T13:40:49Z")

</div>

Hi All Is it possible to create a hidden File object for example in documents directory ?

---

## [Creating swf without installing Flash CS3/CS4](https://forum.kirupa.com/t/creating-swf-without-installing-flash-cs3-cs4/303365)

<div class="topic-metadata">

**Author:** [@dalseide](https://forum.kirupa.com/u/dalseide)\
**Replies:** 0\
**Last updated:** [January 19, 2010, 1:05pm UTC](https://forum.kirupa.com/t/creating-swf-without-installing-flash-cs3-cs4/303365 "2010-01-19T13:05:05Z")

</div>

Hi. Is there some way to compile swf. with some sort of batch file? Example: I have two as. files. In the file Graphics.as, everything that is visual, and all the functions are placed. In the file Values.as, there is n…

---

## [Don't export specific Layers](https://forum.kirupa.com/t/dont-export-specific-layers/303364)

<div class="topic-metadata">

**Author:** [@ruiganga](https://forum.kirupa.com/u/ruiganga)\
**Replies:** 0\
**Last updated:** [January 19, 2010, 1:04pm UTC](https://forum.kirupa.com/t/dont-export-specific-layers/303364 "2010-01-19T13:04:54Z")

</div>

HI I am doing an animation. Before I start I draw a scheme of the final presentation. When I test I have the scheme layer always showing. Can I stop a specific layer to be exported to SWF? Thanks

---

## [Pass variables](https://forum.kirupa.com/t/pass-variables/303362)

<div class="topic-metadata">

**Author:** [@mtolgao](https://forum.kirupa.com/u/mtolgao)\
**Replies:** 0\
**Last updated:** [January 19, 2010, 12:21pm UTC](https://forum.kirupa.com/t/pass-variables/303362 "2010-01-19T12:21:25Z")

</div>

\[CENTER\]\[LEFT\]\[LEFT\] tolga \[View Public Profile \[URL="http://www.republicofcode.com/forum/private.php?do=newpm&u=13330"\]Send a private message to tolga \[URL="http://www.republicofcode.com/for…

---

## [How can I stop this code from looping](https://forum.kirupa.com/t/how-can-i-stop-this-code-from-looping/303359)

<div class="topic-metadata">

**Author:** [@costelloe16](https://forum.kirupa.com/u/costelloe16)\
**Replies:** 0\
**Last updated:** [January 19, 2010, 12:07pm UTC](https://forum.kirupa.com/t/how-can-i-stop-this-code-from-looping/303359 "2010-01-19T12:07:38Z")

</div>

I've got some code working in a flash banner but google needs it to stop looping and I can't work out how to make it loop for 3 times! I would have thought that the for (var i=0;i\<numOfItems;i++) would make it stop when …

---

## [Comparing 2 tables & updating records](https://forum.kirupa.com/t/comparing-2-tables-updating-records/303356)

<div class="topic-metadata">

**Author:** [@prakash\_rc](https://forum.kirupa.com/u/prakash_rc)\
**Replies:** 0\
**Last updated:** [January 19, 2010, 10:10am UTC](https://forum.kirupa.com/t/comparing-2-tables-updating-records/303356 "2010-01-19T10:10:40Z")

</div>

Here is what I have table\_1 id new\_id table\_2 id what I want to do: compare table\_1.id with table\_2.id and if they are same replace table\_2.id with table\_1.new\_id for example table\_1 1 122 2 123 3 124 …

---

## [Flash Media Server HELP....!](https://forum.kirupa.com/t/flash-media-server-help/303349)

<div class="topic-metadata">

**Author:** [@DrMaxMad](https://forum.kirupa.com/u/DrMaxMad)\
**Replies:** 0\
**Last updated:** [January 19, 2010, 6:09am UTC](https://forum.kirupa.com/t/flash-media-server-help/303349 "2010-01-19T06:09:03Z")

</div>

HI there every one, i have just started working with Flash Media Server, i need little help with Chat Application that i building. I have build up connection and an area where ever one can send message , now i want to ma…

---

## [Seamless Integration with Legacy Softphone or Dialer for VoIP Anti-blockage](https://forum.kirupa.com/t/seamless-integration-with-legacy-softphone-or-dialer-for-voip-anti-blockage/303348)

<div class="topic-metadata">

**Author:** [@grace\_cindy](https://forum.kirupa.com/u/grace_cindy)\
**Replies:** 0\
**Last updated:** [January 19, 2010, 5:57am UTC](https://forum.kirupa.com/t/seamless-integration-with-legacy-softphone-or-dialer-for-voip-anti-blockage/303348 "2010-01-19T05:57:39Z")

</div>

SpeedVoIP News December 2009: VGSCLite--Seamless Integration with Legacy Softphone or Dialer for VoIP Anti-blockage Today many ISPs controlled by government are performing blockage of VoIP all over the world, especial…

---

## [Kind of thread and Inheritance](https://forum.kirupa.com/t/kind-of-thread-and-inheritance/303342)

<div class="topic-metadata">

**Author:** [@brunoja](https://forum.kirupa.com/u/brunoja)\
**Replies:** 0\
**Last updated:** [January 19, 2010, 12:39am UTC](https://forum.kirupa.com/t/kind-of-thread-and-inheritance/303342 "2010-01-19T00:39:00Z")

</div>

Hello! I would like to know if there is somekind of thread in as3 (flash is single-threaded right?), because I am using the GIFPlayer class from bytearray, and when it loads larger gifs, it makes my game hang! What sho…

---

## [How to optimize an AS3 menu](https://forum.kirupa.com/t/how-to-optimize-an-as3-menu/303341)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [January 19, 2010, 12:14am UTC](https://forum.kirupa.com/t/how-to-optimize-an-as3-menu/303341 "2010-01-19T00:14:26Z")

</div>

I'm using the code bellow for a menu: //button 1 button1.addEventListener(MouseEvent.MOUSE\_OVER,over); button1.addEventListener(MouseEvent.MOUSE\_OUT, out); function over(e:MouseEvent):void{ TweenLite.to (button1,1,…

---

## [as3 php encrypt/decrypt sending data](https://forum.kirupa.com/t/as3-php-encrypt-decrypt-sending-data/303340)

<div class="topic-metadata">

**Author:** [@sorcery](https://forum.kirupa.com/u/sorcery)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 11:55pm UTC](https://forum.kirupa.com/t/as3-php-encrypt-decrypt-sending-data/303340 "2010-01-18T23:55:29Z")

</div>

Hi I'm trying to develop an application for exchanging data (desktop/server), i need to send the same data from Flash to PHP I have tried with as3crypto but , when i try to decrypt the encrypted string in as3, the r…

---

## [How to hold on frame waiting for event?](https://forum.kirupa.com/t/how-to-hold-on-frame-waiting-for-event/303339)

<div class="topic-metadata">

**Author:** [@JKennedy](https://forum.kirupa.com/u/JKennedy)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 11:52pm UTC](https://forum.kirupa.com/t/how-to-hold-on-frame-waiting-for-event/303339 "2010-01-18T23:52:14Z")

</div>

I am sure I will receive the beginner question of the year with this one: Just starting w/ Flash 8. Using AS2 to simply make a graphic (and its clickable area) proceed to next frame when clicked. When input : button.onRe…

---

## [AS2: XML not working on publish](https://forum.kirupa.com/t/as2-xml-not-working-on-publish/303336)

<div class="topic-metadata">

**Author:** [@charco](https://forum.kirupa.com/u/charco)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 11:04pm UTC](https://forum.kirupa.com/t/as2-xml-not-working-on-publish/303336 "2010-01-18T23:04:59Z")

</div>

Fundamentally my code seems to work on preveiw but when I actually publish nothing appears. Here's the code in full: stop(); #include "as/tween.as" var k:Number; var my\_xml = new XML(); my\_xml.load("/xml/master.xml"…

---

## [Crop a specific irregulare shape from an imported image](https://forum.kirupa.com/t/crop-a-specific-irregulare-shape-from-an-imported-image/303335)

<div class="topic-metadata">

**Author:** [@RArtDesign](https://forum.kirupa.com/u/RArtDesign)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 10:54pm UTC](https://forum.kirupa.com/t/crop-a-specific-irregulare-shape-from-an-imported-image/303335 "2010-01-18T22:54:24Z")

</div>

Hello there \[smiley\] I'm new to this forum and i'm glad to be here. I have a little question: How can I crop letteraly crop a part of an imported image into a specific irregular shape that already exists on the stage a…

---

## [AS2/XML gallery stops working correctly when loaded into main file](https://forum.kirupa.com/t/as2-xml-gallery-stops-working-correctly-when-loaded-into-main-file/303334)

<div class="topic-metadata">

**Author:** [@manthonyh](https://forum.kirupa.com/u/manthonyh)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 10:47pm UTC](https://forum.kirupa.com/t/as2-xml-gallery-stops-working-correctly-when-loaded-into-main-file/303334 "2010-01-18T22:47:26Z")

</div>

Hi everybody and thanks again for taking time to read through this. I am new to Flash and am tying to build my portfolio with it. I followed the Kirupa tutorial on XML picture gallery and when I test it in Flash it wor…

---

## [Embedded video: no audio](https://forum.kirupa.com/t/embedded-video-no-audio/303333)

<div class="topic-metadata">

**Author:** [@Doctor\_Chill](https://forum.kirupa.com/u/Doctor_Chill)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 10:20pm UTC](https://forum.kirupa.com/t/embedded-video-no-audio/303333 "2010-01-18T22:20:55Z")

</div>

Hi, I have a problem with an embedded videoclip in flash, when it plays the audiopart of the video (i checked: the clip DOES contain an audiotrack) is silent. I tried importing the audio onto a seperate track, but that r…

---

## [Too many bitmaps?](https://forum.kirupa.com/t/too-many-bitmaps/303332)

<div class="topic-metadata">

**Author:** [@dmennenoh](https://forum.kirupa.com/u/dmennenoh)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 9:38pm UTC](https://forum.kirupa.com/t/too-many-bitmaps/303332 "2010-01-18T21:38:41Z")

</div>

I've been working on a simple mosaic generator for a project and have been crashing Flash consistently by trying to add too many bitmaps to a Sprite. I can crash Flash every time with the following: for(var i:int = 0; …

---

## [Skew - IDE first, then code](https://forum.kirupa.com/t/skew-ide-first-then-code/303329)

<div class="topic-metadata">

**Author:** [@sean\_thompson](https://forum.kirupa.com/u/sean_thompson)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 7:30pm UTC](https://forum.kirupa.com/t/skew-ide-first-then-code/303329 "2010-01-18T19:30:40Z")

</div>

I'm wiriting some code to read certain properties of a keyframed movieclip animation. The idea is that an animater will create an animation, the code will record the animation as it plays, then the numberd that have been…

---

## [Flex resulted in a huge size](https://forum.kirupa.com/t/flex-resulted-in-a-huge-size/303327)

<div class="topic-metadata">

**Author:** [@fixsrcom](https://forum.kirupa.com/u/fixsrcom)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 6:43pm UTC](https://forum.kirupa.com/t/flex-resulted-in-a-huge-size/303327 "2010-01-18T18:43:52Z")

</div>

I am a developer, so when I had to produce a flash to demo some photos, I chose Flex. Please see it here fixsr.com I am fairly happy with the functionalities, but then I found out the Flickrs slideshow flash is only 1/3 …

---

## [Problem with form using PHP](https://forum.kirupa.com/t/problem-with-form-using-php/303326)

<div class="topic-metadata">

**Author:** [@toffe](https://forum.kirupa.com/u/toffe)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 6:29pm UTC](https://forum.kirupa.com/t/problem-with-form-using-php/303326 "2010-01-18T18:29:06Z")

</div>

I have created a form based on this tutorial by senocular: http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm The ideá is to create input text fields on a site where a viewer can write his/her name and e…

---

## [rotationY on textfield with embedded fonts doesn't work](https://forum.kirupa.com/t/rotationy-on-textfield-with-embedded-fonts-doesnt-work/303324)

<div class="topic-metadata">

**Author:** [@DashMasterful](https://forum.kirupa.com/u/DashMasterful)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 6:20pm UTC](https://forum.kirupa.com/t/rotationy-on-textfield-with-embedded-fonts-doesnt-work/303324 "2010-01-18T18:20:09Z")

</div>

i have a text field that I create in flash, when rotate it on the y axis with actionscript, I encounter problems, the text gets bigger and doesn't fit inside the text field, when i don't embed the fonts or use device fon…

---

## [Fragile Relative Pathing](https://forum.kirupa.com/t/fragile-relative-pathing/303323)

<div class="topic-metadata">

**Author:** [@jdsflash](https://forum.kirupa.com/u/jdsflash)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 6:19pm UTC](https://forum.kirupa.com/t/fragile-relative-pathing/303323 "2010-01-18T18:19:29Z")

</div>

\[FONT=Calibri\] Is there a solution to this dilemma? If my swf relies on loading external assets and I use relative pathing to do that, the paths are not relative to the location of the swf, but rather the location of t…

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

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