all groups > flash actionscript > march 2006 > threads for monday march 6
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
Help simplifiying script
Posted by jkwilkerson at 3/6/2006 11:06:18 PM
Fellow Flasher,
I have an issue. Can anyone take a look at the included script and give me an
idea of how to tidy it up? Basically I would like to know if there is a call or
function that I can do to condense the last nine button calls. I am creating
the "buttons" dynamically and I would ... more >>
retrieving substring from a string
Posted by Antonio_82_ at 3/6/2006 10:38:06 PM
hello everyone, does anyone know how to extract in actionscript, given a string, say:
var str = "Pittsburgh";
the last 5 letters ("burgh")?
thanks
a... more >>
controlling main movie from a loaded movie?
Posted by ddirk at 3/6/2006 10:13:40 PM
Say I have a movie loaded into Layer 10.... and I want a button in that loaded movie to tell the the root movie to go to the next frame....
layer0.nextFrame (); doesn't work... any ideas?... more >>
loading text from .txt
Posted by katscann at 3/6/2006 10:11:07 PM
I'm trying to load text from a .txt file into an .fla. I get an error in my
output window: undefined. This is my code:
myLoadVars = new LoadVars();
myLoadVars.onLoad = function()
{
location = myLoadVars.location.split(",");
days = myLoadVars.days.split(",");
dates = myLoadVars.d... more >>
Firefox and Netscape problem
Posted by Brian at 3/6/2006 9:59:42 PM
Any ideas why this full browser flash file could be having this issue
only on Firefox and Netscape. The file displays half way of the browser.
http://www.brough.com
Thanks for any suggestions.
Brian... more >>
Preloader component
Posted by alien4m_mars at 3/6/2006 9:40:44 PM
hi am using the preloader component in flash 8...
using a listener
var pbListener:Object = new Object();
pbListener.complete = function(evt_obj:Object) {
evt_obj.target._visible = false;
evt_obj.target.removeListener(pbListener);
};
but whn i want to reuse the preloader it do... more >>
Help with bandwidth problems
Posted by sampurtill at 3/6/2006 9:25:05 PM
Ok, so here we go.
I have two different server accounts, one that has ColdFusion and Flash Media
Server on it and the monthly bandwidth limit is 100GB. Another account has PHP
and that stuff and I get 1,500GB of monthly bandwidth on that. We've calculated
that with approximately 10,000 hit... more >>
loadvars php/msql
Posted by d_arc9 at 3/6/2006 8:56:31 PM
Hello...
I am not new to flash, but new to actionscripting... I am trying to send some
variables to a php script (to insert some data on mysql). But when click my
button... flash sends me to the php script page... I don't want it to do
that... but rather go to a different frame in my flash... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Pass Text through text form
Posted by severndigital at 3/6/2006 7:01:18 PM
i've been toying around with this for a few days and have gotten nowhere.
Does anyone know how to take text that is typed into a textfield and then have
it show up in the flash movie?
thanks in advance.
... more >>
Coding issue
Posted by TiJayOldroyd at 3/6/2006 6:56:09 PM
:confused; Aight, this worked before I started making it idiot proof...(then
again, that is the difference of a 90 line program and a 900 line program) but
this idiot here is getting lost somewhere...
my balls move around the screen onRelease. The grow onRollOver, and shrink
onRollOut..... more >>
getURL
Posted by flashForum at 3/6/2006 6:38:42 PM
Hello all,
I have several pictures of screenshots. Every picture is its own .fla file
and in the end its own .html file. I have a main movie with a button that I am
trying to script to open these pictures in a new window. For example,
on(release){
getURL("http://localhost.picture1.htm... more >>
Stopping a automatic scroller
Posted by Cristian from Milan at 3/6/2006 6:17:32 PM
Hi I've created a scroll like
http://www.rempox.it/forum/actionscript/fx_slide_scroll.html but without the
buttons and mine is vertical.
I want the scroll to stop on mouse rollout and to start on mouse rollover.
How do I do that?
Thanks a lot.
... more >>
input text in movie clip
Posted by llbibill at 3/6/2006 6:10:39 PM
Hello,
I have a problem and couldn't figure out. I have 2 movie clip name movie1 and
movie2. Inside movie1 has a input text. I want when user type any text in
movie1 then movie2 get that message. How do I do it? I also have a button for
user click to release the info.
please can a... more >>
Changing the Volume of a NetStream Object
Posted by kurtsprinzl at 3/6/2006 6:01:10 PM
I'm using a NetStream object to display video in Flash. I'm creating my own
player controls to control the video, and I've managed to get everything to
work except for the volume controller.
Does anyone know how to change the volume of a NetStream object?
If this cannot be done for some... more >>
Changing the Volume of a NetStream Object
Posted by kurtsprinzl at 3/6/2006 6:01:07 PM
I'm using a NetStream object to display video in Flash. I'm creating my own
player controls to control the video, and I've managed to get everything to
work except for the volume controller.
Does anyone know how to change the volume of a NetStream object?
If this cannot be done for some... more >>
Changing rotation dynamically...
Posted by DIY_Lobotomy at 3/6/2006 5:23:04 PM
I would like to have two MCs - when the user drags the first MC with their
mouse to the right, then the second MC will rotate around its registration
point clockwise. If the user drags the first MC to the left, the second MC
will rotate around its registration point COUNTERclockwise...
Is... more >>
OOP - accesssing class instances globally
Posted by stephan.k at 3/6/2006 5:09:25 PM
Hello Forum
I am building an application and it becomes more and more necessary for a
couple of classes and movieClips to be able to be accessed by multiple classes
during runtime.
I am instantiating my MainManager.as on the root. From there on the classes
and instances branch off. ... more >>
Variables...
Posted by maguskrool at 3/6/2006 4:26:22 PM
Hi.
I have the following code on my timeline:
var my_number:Number = 0;
function IncrementN (n:Number):Void {
n++;
}
IncrementN (_root.my_number);
IncrementN (_root.my_number);
I thought that the 1st time IncrementN is used it would make my_number = 1,
and then the second ti... more >>
procentage counter for preeloader
Posted by Skivling at 3/6/2006 3:41:34 PM
Hi!
I'm new to actionscript and need some help with this -i woud guess- pretty
simple thing.
I'm making a preeloader and would like a %-counter in my "progress bar" movie
clip counting 100 frames.
All i need to know is how to spread numbers out from 1 to 100 over the 100
frames without... more >>
Extensions
Posted by KHeffey at 3/6/2006 3:40:54 PM
I would like to create a function library to allow flash to talk to the devices
my company makes? The protocol is proprietary so writing it in action script is
not acceptable because it can so easily be decompiled. Currently on Windows we
can use the external functions to access an ActiveX obj... more >>
Smoothly rotating an MC with button control
Posted by roadcrew at 3/6/2006 3:40:52 PM
Hi,
i've been reading in the forums about rotation with actionscript, but haven't
found anything that helps me, so I guess I'll just ask a question:
I have a graphic of a circle that is divided into 4 parts (like a pie). I want
to rotate this "Pie" 90 degrees when a button is clicked. I did ... more >>
misbehaving scroll area
Posted by rcioni NO[at]SPAM gmail.com at 3/6/2006 3:11:35 PM
Hi everyone,
If anybody can help me with this I would be forever grateful. The
scroll area in my SWF has this odd bug where, if you're scrolling and
then move the mouse outside of the scroll area without releasing the
mouse, suddenly the whole scroll area (not just the scrollbar) start to
scrol... more >>
Proper method of handling an XML file?
Posted by WickedSense at 3/6/2006 2:01:09 PM
I have a site that has a Flash and HTML interface. They both call an XML file
that contains the content for the pages. This allows my client to upade
dynamically. I have never called XML in Flash. Anyone got a quick example or
whatever? Thanks.
... more >>
please, help
Posted by surprizvsem at 3/6/2006 1:53:24 PM
I don`t know, is there any possibility of realtime skewing of a movie clip(or even disorting?) using scripts?
please help I really need it ... more >>
localconnections between instances of the same swf file
Posted by JesperBisgaard at 3/6/2006 12:57:48 PM
Hi i am building a website which allows people to show actions to each other
and in order to do this i need them to make localconnections between each
instance of the swf file and then send mouse coordinates between them. I am
seeking a way to initialize all these connections on the run. As I ... more >>
FlashVars - what am I doing wrong?
Posted by DMennenoh *TMM* at 3/6/2006 10:34:13 AM
http://www.blurredistinction.com/testing/littleLadyMemory.php
This is a little memory game I'm making for a friend's site. If you look at
the page source you'll see I'm setting the value of mykey = taco
This is, of course, just for testing. The movie has only one frame and I
simply do a:
te... more >>
setInterval or getTimer - which to use and how
Posted by _postdBy(Vern); at 3/6/2006 1:56:20 AM
I am trying to delay the time before a button resets a variable value on a
rollover event. Here are the details:
I need a button to reset a variable when the user rolls over it, but I need it
to delay about a second before doing so. Anyone handy with getTimer() or
setInterval() ? Not sure... more >>
[Flash MX] Interaction with external program W32
Posted by Johannes Frittum at 3/6/2006 1:13:22 AM
Hi!
I'm developing an IDE for a special assembler and don't ask me how, but my
boss is into flash. So he asked me to do it in flash. No problem so far. Now
he wants me to add a part to interact with hardware. No problem so far.
I know that direct hardware-access seems impossible from flash... more >>
Flash > PHP/MySQL on a different server
Posted by Infin8 at 3/6/2006 12:00:00 AM
Is it possible to run a flash form which sends data to a php script on a
different server?
I currently have the flash form, php script and MySQL database working when I
run them all from the same server but when I move the flash form to a different
server (hosted by a different company) the ... more >>
Varying an obects Zooming Sequence
Posted by hetti at 3/6/2006 12:00:00 AM
HI,
How do i Varying an obects Zooming Sequence according to its _y value. That
zooming has to be an odd value..now, this is working...
zoomA = ;
ind = 0;
function zoomball() {
object._xscale = object._yscale=zoomA;
ind++;
if (ind>5) {
zoomA(2*ind-7);
}
}... more >>
Upload images
Posted by jonnybennett at 3/6/2006 12:00:00 AM
Hello, I am using php and flash 8 to let users upload images to my site. In my
php I have made it so that if a user called say 'steve' uploads a image, it
will be saved as 'steve.jpg'.... Therefore users can only upload one image. If
they upload a new image it will simply replace the previous ... more >>
Rpg Selecter (Trying To Pause)
Posted by ~eXe~ at 3/6/2006 12:00:00 AM
What I am trying to do:
When you press down I am trying to make the whole movie clip
shift, and when you pressq up make it go up. (The movie clips is a bar
that hovers over a menu, like an rpg menu ).
But the normal scrip I had for that allows the user to hold down or up
and it makes tha... more >>
Problem with getURL
Posted by Andy-K-1 at 3/6/2006 12:00:00 AM
Hi,
I have a problem with a button that has the following script:
on (release) {
getURL("preloader.html");
}
The file is located locally in the same directory as the swf. (it will be on
CD eventually). When i click the button all is fine if IE is set as the default
browser. If F... more >>
New to flash.. some basic doubts??
Posted by streamg at 3/6/2006 12:00:00 AM
Just to give u a brief working on a demo in flash which is continuous.
Now i need to add three buttons on it rewind pause & forward.
1) The rewind will just display the last slide & continue playing
2) The pause will pause the show (also turns into a play button)& again on
clicking it, it w... more >>
Mask intercepts 'onPress' mouse event
Posted by cycle1 at 3/6/2006 12:00:00 AM
I have a movie clip with a number of product thumbnails (defined as movie
clips) attached
I have placed a rectangular mask above this so that only some of them display
at a time
I use actionscript to move the underlying movie clip so that a user can
horizontally scroll through them using t... more >>
function FileReference::upload(url) upload twice
Posted by hungboy at 3/6/2006 12:00:00 AM
I'm using flash to upload files with a php and sql server. But I found the
upload function call url (a php file) twice every time. My way is write some
words to a file in the php, I found every time it write two times.
Anybody know why?
... more >>
Controlling a movieclip
Posted by Kez22 at 3/6/2006 12:00:00 AM
I need to know how to get flash to play the last point it was at in a
movieclip.
I have 10 buttons but only 5 are on the screen at any one time. They are
static until the user rolls over an arrow and then buttons scroll round so the
new buttons appear. When the user mouses off the arro... more >>
easy question on sum
Posted by Antonio_82_ at 3/6/2006 12:00:00 AM
hi i am new in actionscript, i wanted to ask you something: how do you perfrom an sum operation by having two variable say "var1 = 4" and "var2 = 5" and have 9 as result?
thanks... more >>
Does Flash 8 have mathemetical formulae? (trigonometry ones)
Posted by divineCherry at 3/6/2006 12:00:00 AM
Hi everyone!
I need to develop a game like teaching aid for people studying engineering and
might need to draw some vector graphics and thus use cos() sine() functions. I
was wonderign if Flash 8 sripting language supports that or may be are there
some extensions I need to get?
... more >>
|