# flash

**URL:** https://forum.kirupa.com/c/programming/flash/38.md?page=1747

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

**Page:** 1748

---

## [Dynamically loading MySQL data into text field](https://forum.kirupa.com/t/dynamically-loading-mysql-data-into-text-field/190482)

<div class="topic-metadata">

**Author:** [@Dopemac](https://forum.kirupa.com/u/Dopemac)\
**Replies:** 0\
**Last updated:** [June 12, 2006, 9:24am UTC](https://forum.kirupa.com/t/dynamically-loading-mysql-data-into-text-field/190482 "2006-06-12T09:24:42Z")

</div>

Ok, I know this has been covered countless times but regardless of the numerous tutorials, posts etc. that I read I cannot get flash to read in my mysql data. I can make it read in a simple variable i.e. $x = "abc"; p…

---

## [\[AS 2\]How to resize dynamically loaded picture](https://forum.kirupa.com/t/as-2-how-to-resize-dynamically-loaded-picture/190480)

<div class="topic-metadata">

**Author:** [@btibia](https://forum.kirupa.com/u/btibia)\
**Replies:** 0\
**Last updated:** [June 12, 2006, 9:18am UTC](https://forum.kirupa.com/t/as-2-how-to-resize-dynamically-loaded-picture/190480 "2006-06-12T09:18:15Z")

</div>

Hello, Guys i have a problem, how can i resize the dynamically loaded pictures: I use this tutorial: http://www.kirupa.com/developer/mx2004/thumbnails.htm but i have around 100 pictures, and i don't have the time to ma…

---

## [A little help with flash embed issue](https://forum.kirupa.com/t/a-little-help-with-flash-embed-issue/190479)

<div class="topic-metadata">

**Author:** [@Norty](https://forum.kirupa.com/u/Norty)\
**Replies:** 0\
**Last updated:** [June 12, 2006, 9:16am UTC](https://forum.kirupa.com/t/a-little-help-with-flash-embed-issue/190479 "2006-06-12T09:16:26Z")

</div>

Hi guys, I wonder if you can help me. I have a problem embedding multple flash files. I have followed Kirupa's guide but still no luck.

---

## [MC from Library to the stage](https://forum.kirupa.com/t/mc-from-library-to-the-stage/190478)

<div class="topic-metadata">

**Author:** [@axew3](https://forum.kirupa.com/u/axew3)\
**Replies:** 0\
**Last updated:** [June 12, 2006, 9:14am UTC](https://forum.kirupa.com/t/mc-from-library-to-the-stage/190478 "2006-06-12T09:14:09Z")

</div>

Hi all, maybe i’m wrong in something using \[COLOR=#993300\]this\[/COLOR\].\[COLOR=#993300\]createEmptyMovieClip\[/COLOR\]\[COLOR=#000000\](\[/COLOR\]\[COLOR=#0000ff\]“theClip”\[/COLOR\], \[COLOR=#993300\]getNextHighestDepth\[/COLOR\] COL…

---

## [hitTest worth using for first pass?](https://forum.kirupa.com/t/hittest-worth-using-for-first-pass/190476)

<div class="topic-metadata">

**Author:** [@ClassMyAss](https://forum.kirupa.com/u/ClassMyAss)\
**Replies:** 0\
**Last updated:** [June 12, 2006, 8:59am UTC](https://forum.kirupa.com/t/hittest-worth-using-for-first-pass/190476 "2006-06-12T08:59:54Z")

</div>

Hey there, At the moment I'm working on some generic utility code that I'm going to need for some of the games I'm planning, and a major piece of that is dealing with collision detection. Although I'm new to Flash, I'…

---

## [JS function: launchSite('about')](https://forum.kirupa.com/t/js-function-launchsite-about/190462)

<div class="topic-metadata">

**Author:** [@AfterAll](https://forum.kirupa.com/u/AfterAll)\
**Replies:** 0\
**Last updated:** [June 12, 2006, 3:39am UTC](https://forum.kirupa.com/t/js-function-launchsite-about/190462 "2006-06-12T03:39:14Z")

</div>

I have this stupid JS code I can't figure out, cuz I'm in no way a coder. Basically what needs to happen is, the js function in the HTML needs to open the flashsite in a popWin and go to a certain scene, ie: "about". …

---

## [UIScrollbar component won't scroll!](https://forum.kirupa.com/t/uiscrollbar-component-wont-scroll/190458)

<div class="topic-metadata">

**Author:** [@flashnewbe82](https://forum.kirupa.com/u/flashnewbe82)\
**Replies:** 0\
**Last updated:** [June 12, 2006, 2:04am UTC](https://forum.kirupa.com/t/uiscrollbar-component-wont-scroll/190458 "2006-06-12T02:04:52Z")

</div>

Hello I am new to flash 8 and need some help. I have a dynamic text box that is loading an external .txt and I am (trying) to use the scrollbar component. the first problem is it seems not to load all of the text, or…

---

## [Swf Preloading Problem](https://forum.kirupa.com/t/swf-preloading-problem/190450)

<div class="topic-metadata">

**Author:** [@Daimz](https://forum.kirupa.com/u/Daimz)\
**Replies:** 0\
**Last updated:** [June 12, 2006, 12:37am UTC](https://forum.kirupa.com/t/swf-preloading-problem/190450 "2006-06-12T00:37:22Z")

</div>

I followed a tutorial at gotoAndLean.com on how to use swf preloading and it works and is amazing I only have one problem and that is that the content dosent load into the "holder mc" in stead it is of slighltly. Can som…

---

## [Dynamic Variable Names](https://forum.kirupa.com/t/dynamic-variable-names/190449)

<div class="topic-metadata">

**Author:** [@B\_L\_U\_E](https://forum.kirupa.com/u/B_L_U_E)\
**Replies:** 0\
**Last updated:** [June 12, 2006, 12:14am UTC](https://forum.kirupa.com/t/dynamic-variable-names/190449 "2006-06-12T00:14:50Z")

</div>

I have the following code \[AS\]si = setInterval(function () { ind++; ind\>7 ? clearInterval(si) : null; var tw = new Tween(root.mc\["a"+ind\], "\_xscale", Regular.easeOut, 0, 200, 60); new Tween(root.mc\["a"+i…

---

## [Photo gallery zoom effect](https://forum.kirupa.com/t/photo-gallery-zoom-effect/190447)

<div class="topic-metadata">

**Author:** [@no\_rain](https://forum.kirupa.com/u/no_rain)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 11:35pm UTC](https://forum.kirupa.com/t/photo-gallery-zoom-effect/190447 "2006-06-11T23:35:21Z")

</div>

So basically what I want is to have all my photos kind of scattered on the page like theyre just lieing there kind of. When you click one, that single photo zooms up to almost fill the page and rotates to go from crooked…

---

## [Call javascript from Flash](https://forum.kirupa.com/t/call-javascript-from-flash/190444)

<div class="topic-metadata">

**Author:** [@jjvalles](https://forum.kirupa.com/u/jjvalles)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 10:58pm UTC](https://forum.kirupa.com/t/call-javascript-from-flash/190444 "2006-06-11T22:58:16Z")

</div>

How would i call this javascript from flash. This is in my html document. \<a href="javascript:Effect.Combo('slidedown', {duration: 0.8});"\>Button1\</a\> How would i set this up in my html doc. and the what would i u…

---

## [Trying to transfer an Array](https://forum.kirupa.com/t/trying-to-transfer-an-array/190443)

<div class="topic-metadata">

**Author:** [@stoodder](https://forum.kirupa.com/u/stoodder)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 10:38pm UTC](https://forum.kirupa.com/t/trying-to-transfer-an-array/190443 "2006-06-11T22:38:30Z")

</div>

hey currently in flash im opening up a file then i have a ufnction that turns part of that file into an arra, anyways with this fucntion that creates the array i want to transmit all th data thatsin the array to an outsi…

---

## [How to get width and height of loaded movie after onLoadInit is called?](https://forum.kirupa.com/t/how-to-get-width-and-height-of-loaded-movie-after-onloadinit-is-called/190428)

<div class="topic-metadata">

**Author:** [@russellarmand](https://forum.kirupa.com/u/russellarmand)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 6:50pm UTC](https://forum.kirupa.com/t/how-to-get-width-and-height-of-loaded-movie-after-onloadinit-is-called/190428 "2006-06-11T18:50:04Z")

</div>

I'm using a FOR loop to attach a few movie clips to the stage, and then I'm loading a different image into each movie clip. I have this working fine. Now I need the height and width of the different images being loaded…

---

## [I don't understand this : (](https://forum.kirupa.com/t/i-dont-understand-this/190426)

<div class="topic-metadata">

**Author:** [@x\_polar](https://forum.kirupa.com/u/x_polar)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 6:34pm UTC](https://forum.kirupa.com/t/i-dont-understand-this/190426 "2006-06-11T18:34:52Z")

</div>

Hiya everyone, once again the infamous x\_polar encountered a rather stupid yet annoying problem, please help me solve it as this piece of code is my theoretical foundation of something bigger :cyborg: for (var i:Numbe…

---

## [Using the Microphone](https://forum.kirupa.com/t/using-the-microphone/190425)

<div class="topic-metadata">

**Author:** [@LazyFish](https://forum.kirupa.com/u/LazyFish)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 6:31pm UTC](https://forum.kirupa.com/t/using-the-microphone/190425 "2006-06-11T18:31:42Z")

</div>

hi, I am working on a project really simple but cant find a solution for a small thing... I want to use my microphone to control the blur effect of a circle(mc) It has been two days I tried nearly all I know but nothing …

---

## [bitmapData question](https://forum.kirupa.com/t/bitmapdata-question/190423)

<div class="topic-metadata">

**Author:** [@louissi](https://forum.kirupa.com/u/louissi)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 6:09pm UTC](https://forum.kirupa.com/t/bitmapdata-question/190423 "2006-06-11T18:09:46Z")

</div>

i am making a brick game in flash, and i want to destroy my bricks in a special way. Here is the function i created: import flash.display.BitmapData; function destroy() { for (xv=30; xv\>0; xv–) { for (yv=15; yv\>0; y…

---

## [Lock To Center On Release](https://forum.kirupa.com/t/lock-to-center-on-release/190414)

<div class="topic-metadata">

**Author:** [@saveth](https://forum.kirupa.com/u/saveth)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 3:27pm UTC](https://forum.kirupa.com/t/lock-to-center-on-release/190414 "2006-06-11T15:27:03Z")

</div>

Hello, I was wondering if anyone can get this to lock to center when you click on it and then restart rotation after you click on it again. Thanks for any help you can provide. http://www.levitated.net/daily/levCylin…

---

## [I'm almosrt afraid to ask](https://forum.kirupa.com/t/im-almosrt-afraid-to-ask/190410)

<div class="topic-metadata">

**Author:** [@robster16](https://forum.kirupa.com/u/robster16)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 2:49pm UTC](https://forum.kirupa.com/t/im-almosrt-afraid-to-ask/190410 "2006-06-11T14:49:27Z")

</div>

Hi there, I must be retarded here, so I'm afraid to ask, but what is the proper actionscript that makes a movieclip that is inside the library to load into a container movie? Without a button, just that actionscript in…

---

## [Problems with buttons in Flash 8](https://forum.kirupa.com/t/problems-with-buttons-in-flash-8/190404)

<div class="topic-metadata">

**Author:** [@MRBLING](https://forum.kirupa.com/u/MRBLING)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 1:41pm UTC](https://forum.kirupa.com/t/problems-with-buttons-in-flash-8/190404 "2006-06-11T13:41:45Z")

</div>

Hi there, I am having problems with buttons I have created for this website: www.jamcat.eu It seems you have to click twice before they work sometimes and also the sound doesnt play everytime you roll-over them. …

---

## [SWFObject](https://forum.kirupa.com/t/swfobject/190402)

<div class="topic-metadata">

**Author:** [@Danko](https://forum.kirupa.com/u/Danko)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 12:14pm UTC](https://forum.kirupa.com/t/swfobject/190402 "2006-06-11T12:14:14Z")

</div>

I use FlashObject.js (now \> SWFObject.js \<) for displaying Fash content on my \[URL=“http://dkozar.com/dk\_web/”\]\> site \<. I’ve got two questions: If the user doesn’t have the Flash version that’s needed, he \[COLOR=“Red…

---

## [Enter Frame problem please help](https://forum.kirupa.com/t/enter-frame-problem-please-help/190396)

<div class="topic-metadata">

**Author:** [@bkeren](https://forum.kirupa.com/u/bkeren)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 11:35am UTC](https://forum.kirupa.com/t/enter-frame-problem-please-help/190396 "2006-06-11T11:35:52Z")

</div>

this is probably easy to accomplish but... is there an action script code that enables the timeline to automatically enter a frame label on entering a certain frame...something like onEnterFrame or something??? please he…

---

## [Photo Gallery (with thumbnails) - Caption & HTML](https://forum.kirupa.com/t/photo-gallery-with-thumbnails-caption-html/190394)

<div class="topic-metadata">

**Author:** [@matm00](https://forum.kirupa.com/u/matm00)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 11:23am UTC](https://forum.kirupa.com/t/photo-gallery-with-thumbnails-caption-html/190394 "2006-06-11T11:23:40Z")

</div>

Hi. Is there a way to use HTML in the caption node of the xml file? I'm sure I heard somewhere that you could wrap your HTML in CDATA tags, but this doesn't seem to work. Any suggestions?

---

## [Is this an imported video? Help please](https://forum.kirupa.com/t/is-this-an-imported-video-help-please/190389)

<div class="topic-metadata">

**Author:** [@mx\_guest2004](https://forum.kirupa.com/u/mx_guest2004)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 9:48am UTC](https://forum.kirupa.com/t/is-this-an-imported-video-help-please/190389 "2006-06-11T09:48:24Z")

</div>

Hi, I think this is a video clip imported to Flash. If it's the case, how can I make a video to look like such animated vector figure? Any tutorial/example ? Thanks

---

## [Read variables from inputText?](https://forum.kirupa.com/t/read-variables-from-inputtext/190388)

<div class="topic-metadata">

**Author:** [@Ophyr](https://forum.kirupa.com/u/Ophyr)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 9:25am UTC](https://forum.kirupa.com/t/read-variables-from-inputtext/190388 "2006-06-11T09:25:07Z")

</div>

I was wondering if anyone knows wether it's possible to create variables from text inside an inputText. Example -\> if I put the text "bDead = false" inside an inputBox, and I press some button, the variable bDead is cr…

---

## [XML Preloader](https://forum.kirupa.com/t/xml-preloader/190387)

<div class="topic-metadata">

**Author:** [@rajeshambady](https://forum.kirupa.com/u/rajeshambady)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 9:16am UTC](https://forum.kirupa.com/t/xml-preloader/190387 "2006-06-11T09:16:43Z")

</div>

\[COLOR=red\]preloadbar\_mc.onEnterFrame = function(){ if (!this.target) return (0); var loaded = target.getBytesLoaded(); var total = target.getBytesTotal(); var scale = 0; if (loaded && total){ var percent = loade…

---

## [I have to solve this problem: php to flash!](https://forum.kirupa.com/t/i-have-to-solve-this-problem-php-to-flash/190383)

<div class="topic-metadata">

**Author:** [@hyacinth](https://forum.kirupa.com/u/hyacinth)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 8:37am UTC](https://forum.kirupa.com/t/i-have-to-solve-this-problem-php-to-flash/190383 "2006-06-11T08:37:10Z")

</div>

This is my script(xmlphotogallery2.fla): within "action layer" myPhoto = new XML(); myPhoto.ignoreWhite = true; myPhoto.onLoad = function(success) { //portfolioTag = this.firstChild; numimages = this.firstChild.childNo…

---

## [Loader bug?](https://forum.kirupa.com/t/loader-bug/190382)

<div class="topic-metadata">

**Author:** [@topaz](https://forum.kirupa.com/u/topaz)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 7:43am UTC](https://forum.kirupa.com/t/loader-bug/190382 "2006-06-11T07:43:42Z")

</div>

Hi guys, I was just trying out displaying the progress of external files and was having a bug. You see when i load a movie it loads in a matter of seconds but the once in a while it takes a very long time to load it.I am…

---

## [How would I create an interactive form in flash?](https://forum.kirupa.com/t/how-would-i-create-an-interactive-form-in-flash/190380)

<div class="topic-metadata">

**Author:** [@milesdavis](https://forum.kirupa.com/u/milesdavis)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 7:11am UTC](https://forum.kirupa.com/t/how-would-i-create-an-interactive-form-in-flash/190380 "2006-06-11T07:11:22Z")

</div>

Hey All, I'm trying to create a form box in flash, where I could create a list of states -- if a user types in one of the states on the list, he or she will see information about that state, if he or she types in a sta…

---

## [Move MC on mouse move](https://forum.kirupa.com/t/move-mc-on-mouse-move/190374)

<div class="topic-metadata">

**Author:** [@ZeeLexDesigns](https://forum.kirupa.com/u/ZeeLexDesigns)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 4:56am UTC](https://forum.kirupa.com/t/move-mc-on-mouse-move/190374 "2006-06-11T04:56:33Z")

</div>

Hi all . How to move this MCnavigation on mouse move. For example if I move my mouse to the right the MC Navigation text moves to the left and mouse to the left it moves to the right. Example file: http://lex.zeelex.com…

---

## [How do I get the width of an image create by loadMovie?](https://forum.kirupa.com/t/how-do-i-get-the-width-of-an-image-create-by-loadmovie/190373)

<div class="topic-metadata">

**Author:** [@russellarmand](https://forum.kirupa.com/u/russellarmand)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 4:52am UTC](https://forum.kirupa.com/t/how-do-i-get-the-width-of-an-image-create-by-loadmovie/190373 "2006-06-11T04:52:46Z")

</div>

I'm creating an empty clip "image\_mc" and loading an image into it via XML. The image is appearing fine, and the alpha is working too. But when I try to trace the width of image\_mc, it keeps returning "0" -- and what I'm…

[Previous page](https://forum.kirupa.com/c/programming/flash/38.md?page=1746)

[Next page](https://forum.kirupa.com/c/programming/flash/38.md?page=1748)
