# programming

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

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

**Page:** 1028

---

## [json\_encode() international characters](https://forum.kirupa.com/t/json-encode-international-characters/274586)

<div class="topic-metadata">

**Author:** [@b\_rich](https://forum.kirupa.com/u/b_rich)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 6:34pm UTC](https://forum.kirupa.com/t/json-encode-international-characters/274586 "2008-10-31T18:34:42Z")

</div>

using json\_encode() on characters like 哈哈哈哈 turns it into u00e5u0093u0088u00e5u0093u0088u00e5u0093u0088u00e5u0093u0088. I am not sure why this is happening, anyone know how to correct this? :hangover:

---

## [As2 #include connecting to XmL](https://forum.kirupa.com/t/as2-include-connecting-to-xml/274585)

<div class="topic-metadata">

**Author:** [@Papaprime](https://forum.kirupa.com/u/Papaprime)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 6:13pm UTC](https://forum.kirupa.com/t/as2-include-connecting-to-xml/274585 "2008-10-31T18:13:21Z")

</div>

I have a few includes in my flash file that need to grab content from an xml flash retrieval set up. I know nothing of XML, so I don't know how to properly phrase my #include. Currently, it looks like this: include…

---

## [Identical .swfs two different results](https://forum.kirupa.com/t/identical-swfs-two-different-results/274584)

<div class="topic-metadata">

**Author:** [@ralphiedee](https://forum.kirupa.com/u/ralphiedee)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 6:13pm UTC](https://forum.kirupa.com/t/identical-swfs-two-different-results/274584 "2008-10-31T18:13:21Z")

</div>

I have two slideshows, PortfolioA and PortfolioB they are exactly the same except for the pics in each xml file. If you go to the link \[L= HERE\]http://dagwaremedia.com/AYSM2.0/aysmindex.html\[/L\] select Portfolio A - …

---

## [ContextMenu not working](https://forum.kirupa.com/t/contextmenu-not-working/274582)

<div class="topic-metadata">

**Author:** [@marbuckim](https://forum.kirupa.com/u/marbuckim)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 5:41pm UTC](https://forum.kirupa.com/t/contextmenu-not-working/274582 "2008-10-31T17:41:25Z")

</div>

Hi I need help please. Would appreciate very much if someone can help me on this. I have this very simple flash CS3 file. I am loading an external swf file into swf and \[COLOR=#ff0000\]ContextMenu\[/COLOR\] is not working o…

---

## [\[As3\] Game Structure](https://forum.kirupa.com/t/as3-game-structure/274580)

<div class="topic-metadata">

**Author:** [@Akirasan](https://forum.kirupa.com/u/Akirasan)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 5:35pm UTC](https://forum.kirupa.com/t/as3-game-structure/274580 "2008-10-31T17:35:39Z")

</div>

Hi, I'm developing a game in AS3 and I don't know the best way to create the game structure. By structure I mean the states that the game will have, like: Intro screen Menu screen In-game screen End game screen ... …

---

## [Open links in main browser window from swf pop-up](https://forum.kirupa.com/t/open-links-in-main-browser-window-from-swf-pop-up/274579)

<div class="topic-metadata">

**Author:** [@goyo1](https://forum.kirupa.com/u/goyo1)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 5:17pm UTC](https://forum.kirupa.com/t/open-links-in-main-browser-window-from-swf-pop-up/274579 "2008-10-31T17:17:14Z")

</div>

acs3 Actionscript 2 Hi there, I am building a Flash interactive map that opens in a pop-up window from several pages on the site. This flash doc has buttons that suppose to open pages back in the window that the flash…

---

## [Please help, im building my first flash site and need help with displaying sections!](https://forum.kirupa.com/t/please-help-im-building-my-first-flash-site-and-need-help-with-displaying-sections/274578)

<div class="topic-metadata">

**Author:** [@oceanic\_seventh](https://forum.kirupa.com/u/oceanic_seventh)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 5:14pm UTC](https://forum.kirupa.com/t/please-help-im-building-my-first-flash-site-and-need-help-with-displaying-sections/274578 "2008-10-31T17:14:42Z")

</div>

Thanks for looking! i am making my first flash site, and im not sure what to do next in regards to navigating through the site. I have different sections, home, info, hardware, equipment, etc, but im not sure how to mak…

---

## [onRollOver not working but onRelease does...help! :)](https://forum.kirupa.com/t/onrollover-not-working-but-onrelease-does-help/274577)

<div class="topic-metadata">

**Author:** [@almaline03](https://forum.kirupa.com/u/almaline03)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 5:13pm UTC](https://forum.kirupa.com/t/onrollover-not-working-but-onrelease-does-help/274577 "2008-10-31T17:13:51Z")

</div>

I have two buttons. Each one calls in an external swf. I would like one of them to call it in onRollOver but nothing happens. It works fine when I change it to onRelease. Any help? This is the code I have for the two. …

---

## [String vs. Value Object memory usage](https://forum.kirupa.com/t/string-vs-value-object-memory-usage/274574)

<div class="topic-metadata">

**Author:** [@embinder](https://forum.kirupa.com/u/embinder)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 4:45pm UTC](https://forum.kirupa.com/t/string-vs-value-object-memory-usage/274574 "2008-10-31T16:45:54Z")

</div>

Does anyone know how much more memory a value object uses in comparison to a string. For example if I am passing a large amount of value objects through local connection will it use a lot more memory than just passing…

---

## [Dynamically populating an array SWFs](https://forum.kirupa.com/t/dynamically-populating-an-array-swfs/274572)

<div class="topic-metadata">

**Author:** [@veniceflasher](https://forum.kirupa.com/u/veniceflasher)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 4:33pm UTC](https://forum.kirupa.com/t/dynamically-populating-an-array-swfs/274572 "2008-10-31T16:33:11Z")

</div>

I'm having a bunch of trouble using a loader to populate an array. I'm trying to use one loader contained in a loop along with the push method. Is this possible to use a single loader or do I need to create an array of l…

---

## [TL scrubbing crashes](https://forum.kirupa.com/t/tl-scrubbing-crashes/274571)

<div class="topic-metadata">

**Author:** [@Esseti](https://forum.kirupa.com/u/Esseti)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 4:27pm UTC](https://forum.kirupa.com/t/tl-scrubbing-crashes/274571 "2008-10-31T16:27:09Z")

</div>

Do you experience them too? I crash every time I have 1-2 filters (mainly blur/tint/alpha). I'm running Vista x64.

---

## [Converting a date serial number to a real date](https://forum.kirupa.com/t/converting-a-date-serial-number-to-a-real-date/274570)

<div class="topic-metadata">

**Author:** [@leraptor](https://forum.kirupa.com/u/leraptor)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 4:26pm UTC](https://forum.kirupa.com/t/converting-a-date-serial-number-to-a-real-date/274570 "2008-10-31T16:26:30Z")

</div>

I'm reading dates from Excel and I get this type of serial number : 37477. It's actually the number of days since 1-1-1900. Is there a function to convert that directly into a date in Flash ? Thanks,

---

## [Recordset addnew fails in ASP page with SQL Server 2005](https://forum.kirupa.com/t/recordset-addnew-fails-in-asp-page-with-sql-server-2005/274563)

<div class="topic-metadata">

**Author:** [@fepeacock](https://forum.kirupa.com/u/fepeacock)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 4:01pm UTC](https://forum.kirupa.com/t/recordset-addnew-fails-in-asp-page-with-sql-server-2005/274563 "2008-10-31T16:01:19Z")

</div>

Hello I acquired ASP code for SQL Server 2000 which functioned properly. I migrated to SQL Server 2005 and now the code fails on the AddNew command. The code is: set rs = server.CreateObject("ADODB.Recordset") sql =…

---

## [Mouse trail problem](https://forum.kirupa.com/t/mouse-trail-problem/274560)

<div class="topic-metadata">

**Author:** [@Burvs](https://forum.kirupa.com/u/Burvs)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 2:53pm UTC](https://forum.kirupa.com/t/mouse-trail-problem/274560 "2008-10-31T14:53:57Z")

</div>

Hi all, I'm trying to make a mouse trail for an AS3 project (horrible I know, but client wants it...), where the mouse pointer leaves a trail of stars behind as you move the cursor around. I've got it working fine by…

---

## [Linking Movie Clips together](https://forum.kirupa.com/t/linking-movie-clips-together/274552)

<div class="topic-metadata">

**Author:** [@cdemott33](https://forum.kirupa.com/u/cdemott33)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 1:38pm UTC](https://forum.kirupa.com/t/linking-movie-clips-together/274552 "2008-10-31T13:38:27Z")

</div>

Hi. New here and new to ActionScripts. My task, I believe, is a very simple one. How do you link multiple movie clips together on the main stage to play one right after the other? I have 3 individual movie clips I cr…

---

## [Need advice (advanced annotation of video)](https://forum.kirupa.com/t/need-advice-advanced-annotation-of-video/274551)

<div class="topic-metadata">

**Author:** [@Dannyw](https://forum.kirupa.com/u/Dannyw)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 1:00pm UTC](https://forum.kirupa.com/t/need-advice-advanced-annotation-of-video/274551 "2008-10-31T13:00:50Z")

</div>

Ok i just want some advice on my current project. How-to's, Don't-do's etc. What i am creating is a presentation of an incident captured on CCTV. There will be quite a few videos (about 10) totalling around 40 minutes …

---

## [Icon in combobox?](https://forum.kirupa.com/t/icon-in-combobox/274549)

<div class="topic-metadata">

**Author:** [@flashpipe](https://forum.kirupa.com/u/flashpipe)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 12:28pm UTC](https://forum.kirupa.com/t/icon-in-combobox/274549 "2008-10-31T12:28:26Z")

</div>

I'm trying to put an icon in a combobox next to a text selection (it's a select your country with a flag and country name). I've searched all over google for cellrenderer, combobox, etc. and haven't found any example o…

---

## [Open certain category - XML Menu accordion](https://forum.kirupa.com/t/open-certain-category-xml-menu-accordion/274548)

<div class="topic-metadata">

**Author:** [@Only\_Dust](https://forum.kirupa.com/u/Only_Dust)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 11:53am UTC](https://forum.kirupa.com/t/open-certain-category-xml-menu-accordion/274548 "2008-10-31T11:53:25Z")

</div>

I not a developer, so I bought a menu, which I saw in flashden. a menu xml accordion. http://flashden.net/files/21673/index.html My problem is the following, the menu opens all, I just would like to open certain …

---

## [Desing Element Placement](https://forum.kirupa.com/t/desing-element-placement/274546)

<div class="topic-metadata">

**Author:** [@sgomez84](https://forum.kirupa.com/u/sgomez84)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 11:50am UTC](https://forum.kirupa.com/t/desing-element-placement/274546 "2008-10-31T11:50:02Z")

</div>

Hello, I have come up with a new layout for a clients site and need some help placing and image. Visit www.siddharthgomez.com/s1.html On the bottom right you'll notice a musical instrument, question is how can I place …

---

## [Yahoo Maps text not showing](https://forum.kirupa.com/t/yahoo-maps-text-not-showing/274542)

<div class="topic-metadata">

**Author:** [@daidai](https://forum.kirupa.com/u/daidai)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 10:37am UTC](https://forum.kirupa.com/t/yahoo-maps-text-not-showing/274542 "2008-10-31T10:37:54Z")

</div>

My problem occurrs when I change the yahoo written example: \[AS\] import com.yahoo.maps.tools.PanTool; import com.yahoo.maps.markers.CustomPOIMarker; myMap.addEventListener("initialize", onInitMap); function onInitMap(e…

---

## [Display xml in textarea](https://forum.kirupa.com/t/display-xml-in-textarea/274539)

<div class="topic-metadata">

**Author:** [@kookaburra](https://forum.kirupa.com/u/kookaburra)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 6:28am UTC](https://forum.kirupa.com/t/display-xml-in-textarea/274539 "2008-10-31T06:28:20Z")

</div>

i'd like to display an xml fetched from a certain url as it is into to textarea component. can we display it the way it is displayed in a browser, i.e. well indented?

---

## [Error in installing pear..pls help](https://forum.kirupa.com/t/error-in-installing-pear-pls-help/274538)

<div class="topic-metadata">

**Author:** [@edryan](https://forum.kirupa.com/u/edryan)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 6:28am UTC](https://forum.kirupa.com/t/error-in-installing-pear-pls-help/274538 "2008-10-31T06:28:18Z")

</div>

Hi guyz, Im trying to make a page that identifies a country base on an IP. I was trying to install pear for geo ip. On my console, I browse on PHP folder and tried this line, \[FONT='Times New Roman'\]\[FONT=Verdana\] p…

---

## [Cross domain loading of FLV's](https://forum.kirupa.com/t/cross-domain-loading-of-flvs/274537)

<div class="topic-metadata">

**Author:** [@zellers](https://forum.kirupa.com/u/zellers)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 4:37am UTC](https://forum.kirupa.com/t/cross-domain-loading-of-flvs/274537 "2008-10-31T04:37:31Z")

</div>

Alright, I was told that I need some sort of file on the domain hosting an FLV in order to load it from another domain. Is this true? If so, step by step, how would I go about loading this FLV if I were to say.... put …

---

## [Premature unloading of loaded SWFs](https://forum.kirupa.com/t/premature-unloading-of-loaded-swfs/274536)

<div class="topic-metadata">

**Author:** [@RichSad](https://forum.kirupa.com/u/RichSad)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 3:41am UTC](https://forum.kirupa.com/t/premature-unloading-of-loaded-swfs/274536 "2008-10-31T03:41:39Z")

</div>

I have an AS3 Flash project that loads a bunch of movies from external SWF files. When I run in it inside the Flash CS3 Debug Movie debugger, I see an odd thing. I see it load and unpack the SWFs. After loading the loade…

---

## [Sliding Effect](https://forum.kirupa.com/t/sliding-effect/274534)

<div class="topic-metadata">

**Author:** [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 2:21am UTC](https://forum.kirupa.com/t/sliding-effect/274534 "2008-10-31T02:21:37Z")

</div>

Hey All, I'm having a problem trying to find out trying to do something. I'm trying to make a slide effect with 3 movie clips and I have no idea what it's called, so I'm not sure what to search for but I seen somethi…

---

## [Caurina tweener - trying to stop it tweening](https://forum.kirupa.com/t/caurina-tweener-trying-to-stop-it-tweening/274532)

<div class="topic-metadata">

**Author:** [@biztaty](https://forum.kirupa.com/u/biztaty)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 1:34am UTC](https://forum.kirupa.com/t/caurina-tweener-trying-to-stop-it-tweening/274532 "2008-10-31T01:34:18Z")

</div>

Hi, I have a timer, that calculates 2 seconds and after each 2 seconds it tweens my movie clip using caurina, what I am trying to do is to stop it tweening, what I am trying to do is something like this: myMC.addEv…

---

## [Mouse Tracking](https://forum.kirupa.com/t/mouse-tracking/274531)

<div class="topic-metadata">

**Author:** [@Fidodo](https://forum.kirupa.com/u/Fidodo)\
**Replies:** 0\
**Last updated:** [October 30, 2008, 11:40pm UTC](https://forum.kirupa.com/t/mouse-tracking/274531 "2008-10-30T23:40:35Z")

</div>

Does anyone know of any mouse tracking APIs out there? i.e. tracking mouse movements of a user session for data collection. If there's nothing out there, I can come up with something but I don't want to develop something…

---

## [Rotation Issue](https://forum.kirupa.com/t/rotation-issue/274530)

<div class="topic-metadata">

**Author:** [@kurrle](https://forum.kirupa.com/u/kurrle)\
**Replies:** 0\
**Last updated:** [October 30, 2008, 11:32pm UTC](https://forum.kirupa.com/t/rotation-issue/274530 "2008-10-30T23:32:15Z")

</div>

Hello everyone. I think what I have on my hands is a little trigonometry problem but I'm not sure because I never listened in math class. Here is the file I am referencing: http://pixel8media.com/help/index.html I'm …

---

## [Making a Flash Menu Remember Page Selected](https://forum.kirupa.com/t/making-a-flash-menu-remember-page-selected/274529)

<div class="topic-metadata">

**Author:** [@sliilvia](https://forum.kirupa.com/u/sliilvia)\
**Replies:** 0\
**Last updated:** [October 30, 2008, 11:30pm UTC](https://forum.kirupa.com/t/making-a-flash-menu-remember-page-selected/274529 "2008-10-30T23:30:26Z")

</div>

Hi all, I have a flash menu that I would like to use. The problem is that the menu animations work fine, but there is nothing to show the user which page they are currently on. eg I want when a user selects 'contact' for…

---

## [Problem with RPG:Tile tutorial](https://forum.kirupa.com/t/problem-with-rpg-tile-tutorial/274525)

<div class="topic-metadata">

**Author:** [@dachimpy](https://forum.kirupa.com/u/dachimpy)\
**Replies:** 0\
**Last updated:** [October 30, 2008, 10:41pm UTC](https://forum.kirupa.com/t/problem-with-rpg-tile-tutorial/274525 "2008-10-30T22:41:27Z")

</div>

I have been following kirupa.com - RPG Programming: Tiles tutorial but have been applying it to my program rather than copying it. I have hit a problem with the collision detection \[SIZE=2\]\[COLOR=black\]\[FONT=Arial\]\[SI…

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

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