all groups > flash actionscript > february 2007 > threads for monday february 19
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
Word count function
Posted by golem2 at 2/19/2007 11:59:56 PM
Hi ,
Anyone has a good word count function? One that will ignore long white spaces and newlines?
Many thanks
Golem... more >>
cursor returns to text field
Posted by Simhanature at 2/19/2007 9:32:01 PM
I have a simple question
cursor returns to text field onclicking outside in flash 8.0
can anyone help me?... more >>
dynamic movie clips issue
Posted by doobster at 2/19/2007 9:00:36 PM
The following code plots X number of points on an image for me.
All the data is already loaded and the points draw correctly. The issue that
occurs is only the last rollover works. Any others do not work.
Can someone please tell me what I'm doing wrong?
Thanks.
for (x = 0; x <=... more >>
Flash, PHP, mySQL Questions
Posted by SymTsb at 2/19/2007 8:37:54 PM
Hey guys.
You'll see my php file down below. Here's what is going on. My PHP file
serves as a path and file name generator. It's purpose is to simply generate a
list of all the jpgs inside a given directory and return the list back to
flash. This is working flawlessly directly from the... more >>
best way to do timeout prompts?
Posted by TomFantasia at 2/19/2007 8:32:18 PM
I'm using MX 2004, and I need voiceover timeout prompts. What's the best way
to accomplish the timing? I've used onEnterFrame to count down some timers,
but, but I've had mixed results - they don't have to be too accurate, just
working with some predictabillity. I'm also concerned that using ... more >>
XML class instance problems while getting result
Posted by Lujunq at 2/19/2007 8:26:50 PM
Hi, I'm trying to use a XML object in a class I'm creating. Something like this:
class MyClass {
// vars
private var myXML:XML;
private var myString:String;
// constructor
function MyClass(url:String) {
this.myXML = new XML();
this.myXML.ignoreWhite = t... more >>
_parent, _root issue???
Posted by hutch-diggens at 2/19/2007 7:23:12 PM
I'm having a issue:
I have a mc on the main timeline, inside that mc i
have multiple mc's, in one of those mc's--we'll call
it content2_mc--on the actions layer I have:
label="s" + _root.link;
gotoAndPlay(label);
and on the buttons i have:
on (release) {
if (_root.link<>1) {
... more >>
Sound Fade onEnterFrame
Posted by dmschenk at 2/19/2007 6:50:55 PM
Please help!
I'm trying desparately to get the audio to fade over a 3 second period when
the movie gets to a specific frame near last few frames of my movie but haven't
been able to find any code that works for me. I've seen several that work for
button but haven't been able to convert the ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
getting PHP to communicate with FLASH
Posted by em_shomer at 2/19/2007 6:43:19 PM
Im having some issues getting my flash contact form to communicate with my
form.PHP I have been scouring tutorials but im just not getting what exactly
goes into the PHP file. My variables are different from the tutorials I have
seen. This is what I have
I guess my main question is how do... more >>
Tween Class fading loop, acting up with multiple clicks
Posted by Visionology at 2/19/2007 6:21:02 PM
Hello all,
I have a thumbnail gallery that I am working on. The gallery works fine and
when you click the thumbnails it loads the respective swf into the
container.picture movieclip.
I have used the tween class to fade a set of clips in a single swf in a loop
infinitely.
The pro... more >>
String to number?...
Posted by DIY_Lobotomy at 2/19/2007 6:06:53 PM
This is really easy I think, but I just couldn't find out how to do it...
How do I get a string converted into a number?
So, if I had "2" and "5", for example, I'd want them to add together to be 7,
not "25"...
I dunno if this information is necessary, but I have a long string of numbe... more >>
I'm generating a grid from xml...
Posted by depakchopra at 2/19/2007 5:31:28 PM
My project here is getting pretty complicated, and I fear that in trying to
explain this, I might confuse you. If so, please let me know.
To start with, I am generating a grid through xml. In the code supplied here,
there are about 800 little 25 X 25 squares. All of these squares are mcbutt... more >>
getURL not working when swf is loaded into another swf
Posted by stormmedia at 2/19/2007 5:15:23 PM
Ok, I need some help for something relatively simple which for some reason I've
not been able to find any information on at all?
Hopefully it will be something easy to fix.
Essentially I have the following:
[li]my main movie "Home.swf"
[li]another movie "Sub.swf"
I've loaded "Sub... more >>
Flash menu, appear on hover
Posted by DarkDayz at 2/19/2007 4:22:18 PM
i'm trying to build a menu that is invisible until you hover over the area
where the menu will be positioned.
It's not really a drop down menu as i dont want any elements to be visible
until you hover over the area, which will then make the menu appear with
various buttons.
Is this pos... more >>
Coding Loader Help
Posted by Magical Samurai at 2/19/2007 3:22:34 PM
I'm new to flash, just experimenting with what I can do. I have a work with
preloaders to load images from online. So when button1 is triggered by the
mouse rollover, I get picture1 to appear. I have a fade in set there, though I
need to find a way to get a fade out from one image when another... more >>
Printing
Posted by PPineapple at 2/19/2007 2:29:42 PM
i have a button and i want it to print a frame when pressed
this is what i've got:
on (release) {
//I need to print a frame labled "c2"
}
thanks... more >>
I didn't write that...!?!
Posted by joenez at 2/19/2007 2:19:50 PM
Hi guys
I've got a clip with some code that I've got linked to an xml file. I've
changed a couple of links in the fla and the xml but the fla is still looking
for the original variable name. I've checked all over the scene but to no
avail...:confused;
I KNOW this is going to be a reall... more >>
for and with
Posted by tepac at 2/19/2007 11:11:18 AM
for (i=i; i<=1000; i++) {
with("_root.karta.brodovi.brod"+i){
lineStyle(0,16777215,100);
moveTo(xxx,yyy);
lineTo(xx,yy);
}
}
the problem is this line with("_root.karta.brodovi.brod"+i){
when i put with(_root.karta.brodovi.brod1) it works.... but how to
make it work inside for ???
h... more >>
FILE DOWNLOAD CLASS?
Posted by Cyandi_Man at 2/19/2007 12:53:17 AM
Hi I am working on a webpage that allows the user to download files from the
server. However i am not sure how to modify the code to show the download
status so the user knows its actually download sumthing - i was under the
impression that this is supposed to show automatically - if so - wh... more >>
Unload SWF at end of movie
Posted by Happiest Camper at 2/19/2007 12:51:09 AM
I have a series of movies that I have made into SWFs. I load the first movie
into the base file into an empty movie clip that I have named "swfLoader". When
the loaded movie is finished playing I want it to perform a function to load
the next movie. How do I do this? I have done this before wi... more >>
download size HELP!!!
Posted by SPGAnne at 2/19/2007 12:05:31 AM
I'm completely baffled and could use some major help from the gurus here. I
have a .swf I've published where I have the export actionscript classes set to
frame 7 (right after my frames 5/6 loading loop stuff). When I publish the
..swf and upload to the internet it says it is 557KB in size, ... more >>
ComboBox problem
Posted by David Mok at 2/19/2007 12:00:00 AM
I have made a simple ComboBox, which
works fine to produce a drop-down
menu list as the following:
// MyComboBox.fla
// with an instance of ComboBox
// named "swf_load_box"
// on the stage.
trace("loading mark:");
swf_load_box.addItem("test1", "test1.swf");
swf_load_box.... more >>
probably a simple solution
Posted by hutts72 at 2/19/2007 12:00:00 AM
Ive searched numerous forums and links to try and create a preloader that uses
the alpha to fade a movieclip in while loading. Here is what i have tried...
(using Flash8)
myLoaded = Math.round(getBytesLoaded());
myTotal = Math.round(getBytesTotal());
myPercent = myLoaded/myTotal;
myBar... more >>
converting flash 6 site to flash 8
Posted by yibbet at 2/19/2007 12:00:00 AM
Hi,
I am using a template that was written in flash 6 and am trying to add extra
functionality that requires it to be published in flash 8.
When I try this it reports an error in the preloader code. Here it is:
[Q]t = this.getBytesTotal();
l = this.getBytesLoaded();
p = l/t*100;
_r... more >>
variable setInterval
Posted by dave at 2/19/2007 12:00:00 AM
I have a button that when pressed moves a graphic on screen.
I would like it so that it moves only 1 pixel if you click it once, but if
you hold it down it moves at an increasing pace. I have used a setinterval
to move it constantly when the button is held down, but would like to add
this a... more >>
make movie clip move upwords on the stage
Posted by shefferh at 2/19/2007 12:00:00 AM
hi
i have a movie clip, instant name - mmm
i have a button, instant name - bbb
what action do i have to give the button to make the movie clip move up when i
press the button?
what action do i have to give another button to make the movie clip move down
when i press the button?
thanks
... more >>
make movie clip move upwords on the stage
Posted by shefferh at 2/19/2007 12:00:00 AM
hi
i have a movie clip, instant name - mmm
i have a button, instant name - bbb
what action do i have to give the button to make the movie clip move up when i
press the button?
what action do i have to give another button to make the movie clip move down
when i press the button?
thanks
... more >>
How can i use NetStream?
Posted by &Necromancer at 2/19/2007 12:00:00 AM
How can i use Netstream for local playback if it is possible?... more >>
get Timer() versus setInterval()
Posted by absurd29 at 2/19/2007 12:00:00 AM
I'm using get Timer() to pause animations before they start again but am
worried that, having 8-10 of these in a movie, is not an efficient use of
memory. Someone told me to use setInterval() instead. Does anyone know if that
is a more efficient method? (for an application accessed online.)
... more >>
|