all groups > flash actionscript > january 2005 > threads for thursday january 27
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
php 2 flash - special character problem
Posted by Tim Robertson at 1/27/2005 11:31:22 PM
I currently have a php page which gets results from my MySQL database and is
loaded into my Flash document using "loadVars".
Everything works fine but if one of the characters is a special character
(for examply my data is french so characters such as à or é) do no show up
so instead of displa... more >>
Data problems on Internet Explorer on the PC
Posted by YurichCreative at 1/27/2005 10:29:16 PM
I have a XML load function, then a function which parse the XML data into an
array. This array populates variables which get displayed in dynamic text field
boxes. When I make a call to run all this, it will not refresh the data when
ran on IE on a PC. It works fine on Netscape (mac & PC... more >>
dynamic movie clip names
Posted by CR Chisholm at 1/27/2005 10:15:11 PM
Ok, stupid question....
I have a movie clip instance named Master . I want to duplicate this clip
several times for menu buttons something like this....
for (i=0;i<ops.length;i++) {
Master.duplicateMovieClip("Btn"+i,this.getNextHighestDepth());
.
. yada yada yada
.
... more >>
Coloring the active header of Accordion?
Posted by Zal at 1/27/2005 9:41:15 PM
Hi everyone, I finally found the way to change the fontSize of the labels in
the accordion component. _global.styles.AccordionHeader.setStyle('fontSize',
17); Now I have to set a different color of it if it's open or not. Didn't find
anything..... I found the path of the textField of it:
m... more >>
Determine current frame of external swf loaded into movieclip
Posted by especht at 1/27/2005 9:30:44 PM
I have created a movie that loads external SWFs into an existing movie clip. I
need to know when the external swf has completed playing so I can remove it. I
have tried using the following:
mcSwapableClip.onEnterFrame = function() {
trace(mcSwapableClip._currentframe);
if (this._cu... more >>
2 MC's
Posted by GhettoFabFlah at 1/27/2005 9:28:37 PM
The Situation: I am making a game in that whenever you shoot your gun/laser
type thing it has to recharge (symbolized by a bar that stretches from left to
right). both the ammo and the recharging bar are Movie Clips. The Problem:
I can't figure out how to make it so that the ammo only fir... more >>
Code problem
Posted by Xx)MaveriK[X] at 1/27/2005 9:01:52 PM
i did this code to make my_mc run 2 times slower when i roll over it. The first
time i rollover and roll out, it works well, but the next times its "fps"
increase...
please help me
thx
function roda(alvo)
{
alvo.stop();
alvo.nextFrame();
}
function set_fps(alvo, fps)
{... more >>
My array mess
Posted by thoand at 1/27/2005 8:55:22 PM
Hi I am still working on my array walking, I need to go back and forward, but
not like 123 , 321, but 123, 456 781 (reached length start at 1(allways need to
skip 0, i need it but not for walkin :)) back (notice the order) 456 123
(reached 1, start at length) 678 See my code, BEWARE my ba... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Cambio de referencia en IP en los actionscript del flash
Posted by mangeloa at 1/27/2005 8:46:07 PM
Buenas tardes,
Ante todo los felicito por el aporte de conocimientos. En vista de la
experiencia que reflejan, me dirijo a ustedes para presentarles el siguiente
caso:
Tengo un flask MX que se conecta a una BD y a traves de ASP y XML y muestra
dicha informacion. Debo de cambiar los pr... more >>
Loading Large Local SWFs
Posted by The Almighty Egg at 1/27/2005 8:32:47 PM
i am working on a small application that runs off of a CD. there is a small
main menu file that loads the other content SWFs. some of the content SWFs are
fairly large (~50 MB).
the problem i am having is that the application completely locks when i
initiate a loadMovie() or loadClip() c... more >>
dynamicly loaded text as a mask?
Posted by yofof at 1/27/2005 8:11:07 PM
well here's an idea. i load text from txt file to dynamic text fiield. i'd like to use it as a mask...is id doable? can anyone help?... more >>
Setting Styles
Posted by Dinghus at 1/27/2005 8:02:16 PM
I am trying to set the styles for a text box and I can set everything except
the background color. But is there a list of the styles that can be set ? I
hate guessing. Maybe it is 'background-color' or 'bg-color' or bgcolor or
background Anybody know where a list is that can be used in a... more >>
If statement structure
Posted by g5604 at 1/27/2005 7:58:33 PM
Hi,
so heres what i am trying to do:
onClipEvent (enterFrame) {
if (_root.newsday < 2) {
if(this._alpha>50){
this._alpha-=5;
} else {
this._alpha = 100;
}
}
clearly not going to work so how do i refer to a if statement within a if
statement?
cheers,
... more >>
Inertia Gallery
Posted by vibes_32 at 1/27/2005 7:14:04 PM
Trying to do this: http://www.usgbc.org Ok I have been looking throught the
posts and have yet to find what I am looking for. I have a movie clips that
contains 5 images, each images dimension is 418x418. I have a window to mask
the images so only one appears at any given time in the masked ... more >>
Preload Multiple Images Dynamically
Posted by moe11704 at 1/27/2005 6:48:32 PM
I am creating an intro. In this intro I am dynamically loading a few (8)
images. My probelm is the preloader. How can I preload the 8 images with a load
bar that goes from 0 to 100% once for all 8 images, not 0 to 100% for each
image. I think my problem is that I cannot get the total bytes unt... more >>
Dynamic Logo
Posted by JasonBarr at 1/27/2005 6:45:37 PM
Is it possible to have a dynamic logo in flash according to what user has sent to a server from a ColdFusion page?... more >>
LoadVars Question - Very Basic
Posted by JasonBarr at 1/27/2005 6:35:32 PM
I just purchased an actionscript book and am trying to grasp some of the
concepts. I just wanted to know if : container = new LoadVars ();
container.onLoad = myfunction;
container.load('http://www.domain.com/file.asp'); could be written like this:
LoadVars container () { onLoad =... more >>
Necessary to check for equality with true/false?
Posted by SSmith NO[at]SPAM Scantron dot com at 1/27/2005 6:20:31 PM
In other languages such as Java, C#, C++, C, etc, the following two statements
are equivalent:
if (x == true)
and
if (x)
Conversely, the following two statements are also equivalent:
if (x == false)
and
if (!x)
I'm converting some code from Actio... more >>
[AS 2.0] dispatchEvent
Posted by thinICE at 1/27/2005 6:11:11 PM
Hi, i'm trying to dispatch a custom event from a very simple v2 component
that extends UIComponent
So I add this to the class
[Event("myEvent")]
class myComponent extends mx.core.UIComponent
{
...
public function on(release)
{
dispatchEvent({type:"myEvent"})
... more >>
loader problems
Posted by atray at 1/27/2005 5:41:40 PM
I am getting fed up with this code ive been working on. It seems like it
should work but my loader freezes up when played. It appears my problem might
be where my code is located. I have it on frame 1 and maybe it should go
somewhere else, although I am not sure where. Please help me if yo... more >>
Pressing a button moves an MC....
Posted by calpolyarc at 1/27/2005 5:40:17 PM
I have a vertical strip of thumbnails, when you click on a thumbnail I want
the strip to 'slide' such that the thumbnail you clicked on has a specific y
position. All of the thumbnails when clicked will slide to this same y
position. Then once the thumbnail is in the right spot another set ... more >>
Need some help with time and levels
Posted by ErikinWest at 1/27/2005 5:23:04 PM
Just was wondering how you put in a timer and after a certain time it expires you go to another screen/seen (when you loose)
Cheers,
Erik... more >>
loadMovie loads sloooowly
Posted by descom at 1/27/2005 4:49:28 PM
i've used loadMovieNum many times before and it works fine, but this time it
loads the .swfs into the main movie much too slowly (on a dial-up connection.
dsl is okay.) the site is: www.theatermasks.com i've optimized the .jpgs as
much as i can without them looking terrible. any thoughts? t... more >>
SOKOBAN!!!
Posted by EscapeArtiste at 1/27/2005 4:42:12 PM
does anyone know wher e i can get actionscript code in order to implement the sokoban game??... more >>
3 questions, 1 answer (I suspect)
Posted by bhnh at 1/27/2005 4:24:39 PM
I've got three variations on a single theme: converting an imported string to
an array, then converting each index of that array into arrays. I've got more
than a hunch that the solution is the same for all three variations, but I'm
missing a logical step... and I've stared at it long enough... more >>
drag button issue
Posted by jess1182 at 1/27/2005 3:57:00 PM
I'm just creating a volume slider (simple I know) but my dragable button isn't
behaving normally. I cannot figure it out. Whenever its first clicked on, it
jumps to another location and then it slides properly in its new spot. I can't
figure out why it jumps around on the first-click. I thi... more >>
Can you open external programs from script in Flash?
Posted by dRUM2_UK at 1/27/2005 3:43:22 PM
I am doing an interactive cd and have a word document that is some 60 odd pages
long. I was wondering if, rather than transferring it into Flash, I can create
a button icon with script which will open it in Word? Any advice would be
greatly appreciated as it would make it a lot neater.
Che... more >>
Stage size
Posted by nvinod at 1/27/2005 3:17:42 PM
Hi, I would like to know how I can prevent flash contents being chopped off
if the size of the contents exceeds the stage size. In effect I want the stage
size to graw indefinitely without scaling. It is very urgent, could someone
please give me some help. Thank you, Seena
... more >>
Stage size
Posted by nvinod at 1/27/2005 3:17:33 PM
Hi, I would like to know how I can prevent flash contents being chopped off
if the size of the contents exceeds the stage size. In effect I want the stage
size to graw indefinitely without scaling. It is very urgent, could someone
please give me some help. Thank you, Seena
... more >>
Please help with my onEnterFrame function
Posted by dchen8 at 1/27/2005 2:54:18 PM
I have two onEnterFrame function set up. One is for gradually increasing the
alpha of a movie clip, and the other is for gradually increasing the size of
the movie clip. All the actionscript are put on the first frame, but the
problem is that I can't get the two functions work together. If th... more >>
Flash and IIS
Posted by John Cotsell at 1/27/2005 2:50:24 PM
I tried the app in flash (ctrl + Enter) and it works fine.
I try it from page a local page eg URL = c:\uniquemalts\test.swf and it
works fine
however
I try it with our local http://localserver/ it doesnt work
I try on live site and it doesnt work.
these 2 return onLoad=%5Btype%20Function%5D... more >>
Actionscript for graphics
Posted by hp812 at 1/27/2005 2:19:02 PM
Hello, I am trying to put an actionscript to a graphic, but it will not let me.
Is there a way to do this. I tried converting the graphic to a button, but it
still would not let me input actionscript. Does anyone have any ideas. Thank you
... more >>
Pass event through to web page
Posted by Mark at 1/27/2005 2:07:46 PM
Is it possible to allow an event to pass through to the underlying web page.
I've got a button in Flash which works fine. This may sit on top of a
graphic button on the web page which I'd like to use to activate dropdown
menus, which I rather handle completely in the HTML.
However Flash tra... more >>
OnClipEvent (Load) Bug
Posted by AwesomeDigital at 1/27/2005 1:51:34 PM
When I put a movie clip on my stage and add the following code to my main
timeline, the code does not work movieName_mc.onLoad= function () {
this._xscale = 175; this._yscale = 175; } But if I add ANYTHING to the
actions for that movie clip such as // some comment here in this place The
... more >>
Flv + set URL with list component
Posted by kuatox at 1/27/2005 1:34:40 PM
I?m using the media components + the list component of flash to make a list of
the videos and once i select one from the list, i have to push a boton (to set
the url) and just then i can play the video ..
Is there a way to skip that step??
i mean, i just want to pick one of the list and in... more >>
How do I do this?
Posted by indyGloeStars at 1/27/2005 12:11:28 PM
Hello all, I wanted to make a quiz online, say for example asking questions
like 'how much is 1 + 1' and expect an answer within about 5 seconds. And also
add another condition so that the faster the question is answered, the more
points will be scored. But how do I set the timer with actions... more >>
Dynamically resize stage
Posted by Brian Hunkins at 1/27/2005 11:36:41 AM
Is there a way through actionscript to dynamically resize the flash stage?
What I am doing is making an applet that will load in a video (progressive
FLV), and I want the stage to resize to the size of the video. I just don't
know the syntax. It cannot be done in Java or HTML, since it will be a
... more >>
processor intensive?
Posted by Brian at 1/27/2005 11:11:18 AM
Is there a way to see how much processor power a flash file is using?
I have the problem right now that at times a feel like a actionsscript
in my file might be too processor intensive? How can I find out.
Thanks,
Brian... more >>
Quiz value check
Posted by Ross Franks at 1/27/2005 10:20:46 AM
Can someone do a check for me?
When I have a Response value that is 19.94 for a Question in a quiz, Flash
decides to ignore that response and tells me I'm wrong.
Can someone else verify this for me and tell me I'm not going crazy???
19.93 and 19.95 work but not 19.94???
Help!!!
... more >>
removeMovieClip() isn't working
Posted by Lolo MX at 1/27/2005 10:19:41 AM
I have am making a game where a ship fires missiles. I am using the
attachMovie() method to create each missile on the screen. I am also using the
registerClass() method to combine this with a custom Object.
When the missile ends (ie: it collides with something) I am trying to get rid
of i... more >>
Flash player 7 and maths calculations
Posted by MyMaths at 1/27/2005 10:04:09 AM
I run a maths website www.mymaths.co.uk.
Having created a lot of random question tests I am now finding that they are
no longer reliable with the latest flash player. Is anybody else finding the
same problems?
For example
// This code is in the time line to create a random value for t... more >>
Difference between duplicatemovieClilp, loadMovie and createMovie
Posted by haleyoreo at 1/27/2005 5:01:20 AM
i'm a novice Flash user. Can anyone tell me the differences between
duplicateMovieClip, loadMovie, and createMovie.
When would you use them, what can they do different from one another, how
would they create random effects different from one another.
Any help on this topic would be greatly... more >>
v1 combobox to version 2004
Posted by grover970 at 1/27/2005 4:48:15 AM
For the record I am kicking and screaming to move to MX2004. I'm not a
programmer, more of a designer. And yes I need to move to 2004.
So, this was working but obviously needed to change things to work with AS2.
here is the code:
See the comments for where my problem area is. At least I ... more >>
"base" parameter not working properly in IE
Posted by earthguy at 1/27/2005 4:19:20 AM
There seems to be a problem in Flash MX. If I create an HTML file, called
index.html and I host this on a server called http://example.com/, I may want
to set it up so that it load the movies off of my local hard disk. Now if I set
the source of this index.html file so that it points to files ... more >>
2880 movieclip limitation
Posted by dajiggs at 1/27/2005 3:48:11 AM
Is loadMovie restricted to images <= 2880 x 2880??... more >>
comboBox problem
Posted by macromedia at 1/27/2005 1:33:21 AM
Hello everybody
I have a big problem using the v2 comboboc into my FP7 and AS 2.0 flash
movie.
I used the guidelines suggested by MM about loading movie into another movie
where the loaded movie has got comboboxes...
- Solution A
Using loadmovieNum
- Solution B
Including into... more >>
How to do make this preloader change when at 100%
Posted by imanru at 1/27/2005 1:08:21 AM
Okay I have this code that changes the info in a movie clip that has a dynamic
text with the % loaded of a song. I have a problem I want it to change the
string from loading 100% to song loaded. I tried a couple of things and it just
doesnt work. I tried if state and it changes the string from... more >>
Dynamic Texts Turns Invisible when movie is loaded from another MC
Posted by complexity at 1/27/2005 1:00:33 AM
Hey all, I have actionscript generate a list of names its font properties are
below, this.createTextField('driver',1,0,0,1,16); driverFormat = new
TextFormat(); driverFormat.size = 11; driverFormat.font = 'arial';
driverFormat.bold = true; driverFormat.color = 0x000000;
this.driver.setNew... more >>
textField.restrict
Posted by Dinghus at 1/27/2005 12:55:22 AM
For some reason my brain has ceased functioning. I've used the
textField.restrict before to limit input to just numbers or whatever and now I
can't remember how and I can't find anything that says how to do it. Using MX
2004.
... more >>
reporting elasped time vs. total run time of flv
Posted by nattysnatty at 1/27/2005 12:14:47 AM
hi, does anyone know the actionscript to report the elapsed time vs. total
runtime of an flv file? i found this bit of code in a source book, but the way
it displays isn't very elegant: this.onEnterFrame = function():Void {
tTime.text = nsSample.time.toString() + ' sec'; thanks so much!
... more >>
|