all groups > flash actionscript > november 2005 > threads for friday november 18
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
using getpixel to gather data for ASP
Posted by SteveMW at 11/18/2005 11:58:29 PM
Here Is what the ASP page is looking for:
rows ? the number of rows in the image
cols ? the number of colums in the image
row_n ? a comma-separated list of decimal values for the pixels in the row
The first two are easy.
I'm trying to getpixel to create a string for each row, and its... more >>
easing to _X position
Posted by jonako13 at 11/18/2005 9:51:51 PM
I'm sure there are better ways to script it than I was trying, but my idea was
kind of like being in the middle of a room with 4 walls.The stage would be like
a static camera facing one wall. The room starts to revolve slowly picking up
speed. The room continues to spin at it's max speed for a... more >>
Getting _root variables
Posted by Shwaza at 11/18/2005 9:11:43 PM
Hi, I have a variable "flv" that is at the _root level. Is there any way for me to get that information from the variable to a movie clip at one level higher?
Thanks.... more >>
list rollover syntax
Posted by timdiacon at 11/18/2005 9:07:59 PM
Hello,
I have a bunch of images which are each contained within their own movie clip
named thumb1, thumb2 etc
They are all set to alpha=0 and when I rollover my list component I want the
thumb relavent to the index of the list item rolled over to become visible. At
the moment I have:
... more >>
Stage Listener / Fullscreen Image
Posted by buckyball28 at 11/18/2005 9:06:09 PM
I've been researching this for a couple days. Not real code savvy. I basically
want to imitate this setup shown here of a large background image on some pages
that expands/collapses proportionally based on window size. While at the same
time, the buttons or other images stay the same size. Exa... more >>
My Eyes aren't working.
Posted by sk8bordgeek at 11/18/2005 9:06:04 PM
I have provided an FLA file so you guys can tell me what is wrong. I think it is a problem with the actionscripting. Click maxwellp5@frontiernet.net to e-mail me. Thanx for looking!... more >>
Static members can only be accessed directly through classes.
Posted by l810c at 11/18/2005 9:03:34 PM
I'm loading a transparent gif into a bitmap data class. This was causing Flash
to crash when I Test Movie. Ironically, the swf created before the crash works
fine in Flash Player.
This is original code that cause Flash to crash.
var pat2:BitmapData = BitmapData.loadBitmap(pattern11);
... more >>
Dynamic Text shows up as Numbers/Digits
Posted by carneasada00 at 11/18/2005 8:59:23 PM
Whenever i dynamically load text either through xml or an external txt file it shows up as numbers... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
referencing buttons inside a movie clip
Posted by cmd121 at 11/18/2005 8:52:48 PM
I'm a flash beginner...
my goal is to put all/most of my actionscript on frame 1 of main timeline
i have a movie clip with buttons, but the buttons dont exist on frame 1 of
that movie clip. If I try to use the following in the main timeline to control
a button, it doesnt work:
mc_nam... more >>
Send form information without leaving the current page
Posted by hminc at 11/18/2005 8:42:13 PM
I have developed a Flash website with a contact us form. Does anyone know a way
to submit the form and send the information to a PHP page WITHOUT leaving the
current page that contains the Flash file? Or do I have to write a page that
recieves the information and then sends them back to the F... more >>
Attn: all flash gurus
Posted by March01 at 11/18/2005 8:04:11 PM
http://www.endured.com
I'll try to make this short. For some time, I have been trying to self-publish
my ebook. I typically start with Acrobat and inevitably get fed up with its
limitations and put the project aside for a few months. This time, I opted to
make my ebook in Flash. Now that i... more >>
Help with Relative object paths in AS
Posted by NFURY8 at 11/18/2005 7:40:06 PM
I am using a script I found on FlashKit for scrolling text. It uses a static
text box with a mask and a bar the slides next to it.
The static text box is in a symbol named 'text'. The handle that is used to
slide the text is named 'Scrollbar' with AS. and inside 'Scrollbar' is another
symb... more >>
Sound stream via flash
Posted by vizion2 at 11/18/2005 7:29:28 PM
Can anyone point me to some coding examples for streaming live sound from the client to the server ?
any pointers much appreciated
David... more >>
PayPal button to use in Flash 8
Posted by lkelly1030 at 11/18/2005 7:11:39 PM
I have created a website entirely in Flash. I need to add one of paypal's
premade buttons that contains the following code:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="jojam... more >>
TextInput
Posted by Richard Ragon at 11/18/2005 3:47:56 PM
Is there a way to make the text justify right in a TextInput Component?
Thanks
-Richard... more >>
Javascript And Flash in Mozilla
Posted by sgtcmofo at 11/18/2005 12:44:56 PM
I have a javascript function that changes the movie in the <object> tag and
plays the movie in IE, but when I change the "src" in the <embed> tag the
movie doesn't play. Below is the javascript.
function videoStart(){
if (bWin32IE == true) {
document.objMovie.movie = videoFile;... more >>
startdrag not working
Posted by Gauav J at 11/18/2005 11:40:33 AM
Hello Guys,
I want your expertise help from you if you can just help me !! i am loading a
external image into a movie clip and and i m tring to drag the movie cip its
not working .... but when instead of loadMovie i use attachMovie to load clip
from the library it works why ???
class... more >>
getURL() input parameter maximum number of characters?
Posted by rudgr at 11/18/2005 10:27:58 AM
Hi,
I want to send the value of a flash text field back to the html the swf is
embbeded in by calling a javascript function from actionscript's getURL method:
getURL("javascript:updateValue('" + str + "');");
But it seems that there is a maximum number of characters that can be send as... more >>
movieclip _height and _width parameters read only???
Posted by keithb at 11/18/2005 10:22:04 AM
From testing, it appears that movieclip _height and _width parameters are
read only. Movie clips seem to grow to match the size of their contents. Is
this the way it works? If so, it would be good to state in the documentation
that these parameters are read only.
Thanks,
Keith
... more >>
Tweaking this function...
Posted by Brian at 11/18/2005 10:18:03 AM
The following function creates a grid of attached movie clips. I got
this from Pluda. He build it so the grid goes from top to bottom first
and then left to right. So if I have a 4 by 4 grid, number 4 will be in
the bottom left. I would like to have it where the numbers build left to
right, ... more >>
problem with my button - movie by over state
Posted by Bonte007 at 11/18/2005 9:31:20 AM
Hi I wanted to create a button which blink when you roll over it.
SO i created an up state and over state.
In the over state is a movie, frame go goes to frame 2 and frame 2 goes to
frame 1, to make it repeat.
BUT, I got a problem, the first 3 seconds, the player waits and then gives an ... more >>
Radio Button Problem
Posted by FlashySandy at 11/18/2005 7:40:31 AM
I am working on an xml based quiz where option will be displayed in the
radiobuttons. evrything is fine. The problem comes when some long amount of
text is coming in the radioButton.although i have set its width property to 700
by using setwidth method. bt the problem still comes. is there any... more >>
Flash 8
Posted by Angel*lina at 11/18/2005 7:05:24 AM
Hi everybody
Can anyone help me ....
i need the action script in flash 8 to create a new window with defined height
and width
the one i did in flash 7 is not working in flash 8
here it is :
on(press){
_root.sender.send("myConnection","doAction",2);
}
on (release) {
get... more >>
Motion Tweens and Action Script
Posted by Mr Helpy mcHelpson at 11/18/2005 12:42:39 AM
Please point me to a tutorial, or an answer on how to do the following (if its
possible).
in your head, pretend you just made a motion tween with a box that moves from
left to right, spanning 50 frames.
Is it possible to move that second keyframe using actionscript, either while
or bef... more >>
multiple Password access
Posted by doinka at 11/18/2005 12:03:17 AM
I have one password that works if this is added to a button.
How do I allow multiple passwords to be excepted?
this works for one password...
--------------------------------------------------------------------------------
--
on (release, keyPress "<Enter>") {
if (pass eq "jonsmith")... more >>
Why is input text NaN in 8?
Posted by nfstc_graphics_guy at 11/18/2005 12:00:00 AM
I've got a really weird problem here, and I'm hoping that someone can provide a
simple (if weird) answer/solution.
I have an input text box. Okay so far. I have a variable at _root level
assigned to that box. Still okay. I want to take that variable (which is
supposed to be a user-inputt... more >>
Menubar based on external XML - gotoUrl
Posted by Dario de Judicibus at 11/18/2005 12:00:00 AM
What's wrong with this piece of code (myMenuBar is the ID of a menuBar
component in frame 1)?
myMenuBar.gotoUrl = function(evt)
{
getURL(evt.menuItem.attributes["data"]) ;
}
var myMenuBarDP = new XML() ;
myMenuBarDP.ignoreWhite = true ;
myMenuBarDP.load("MenuBarExample.mxml") ;
myMe... more >>
Dynamic LoadVars Object
Posted by Retroboy_mx at 11/18/2005 12:00:00 AM
HI!!
in my current project read and write to the DB all the time and I don't want
to create a function for every LoadVars Object
I try to work in a function that create dynamic LoadVars Objects to send data
to PHP without successful .
Any idea...
Thks ;-D
gLoadToServer ... more >>
Typing
Posted by parke at 11/18/2005 12:00:00 AM
I am making a typing program. As you type in a letter into the input textbox(String1) the next letter you need to type in the dynamic text box(String2) is underlined.... more >>
rotation limits?
Posted by organicdigital at 11/18/2005 12:00:00 AM
Can anyone please point me in the right direction with this?
I am trying to create a rotating knob that will control volume eventually. I
need to set limits as to how far it can rotate like a normal volume knob on a
stereo. Most of this is taken from a tutorial. this is where i am at right now... more >>
Script for swaping animated Graphic symbols???
Posted by Beenahemkar at 11/18/2005 12:00:00 AM
Hi
Is there an action script for swap, as simple as that? I want a graphic symbol
with some animation to be swapped with another similar graphic symbol at a
random mouse click, the earlier trick is doing great when i have no animation
running between the symbols, but what I want to do is o... more >>
encrypted paypal button
Posted by sciurba at 11/18/2005 12:00:00 AM
hi,
im trying to figure out how to use the encrypted "buy now" button code that
paypal provides. im using flash MX (v6, pre-2004...yeah, i know im out of
date...i just dont use flash too often) and im unfortunately, for all practical
purposes, a newbie with action scripting and javascript.... more >>
for loop syntax
Posted by timdiacon at 11/18/2005 12:00:00 AM
Hello,
I am trying to get a for loop to load a bunch of images into empty movie clips
and then destroy them so that they are in the users cache and can be used with
a rollover action (the images must be externally imported) Currently I think
the for loop going back to the start of the loop... more >>
Problem when callinng javascript
Posted by Xx)MaveriK[X] at 11/18/2005 12:00:00 AM
I have a flash banner inside a DIV tag at my site. I wanted to make a "Close"
button inside this flash. This button calls a javascript that hide the DIV tag,
but flash sends me an alert saying that this call is a "...potential unsafe
operation".
I have got this menssage many times when using... more >>
variable as a parameter in a function?
Posted by pfappia at 11/18/2005 12:00:00 AM
I'm trying to use a function to determine the location of a movie clip, and
then affect the function(#,#) with variables taken from php and/or determined
by other equations. I've read somewhere that you can't use variables in a
function? If so, can anyone suggest the best way to get this kind... more >>
How to set the rotationPoint of the MovieClip dynamically?
Posted by myraider at 11/18/2005 12:00:00 AM
As the title says...
Thanks a lot.... more >>
Prevent clicking on text boxes
Posted by MichaelBlum at 11/18/2005 12:00:00 AM
I'm trying to prevent the user from changing the text box focus using the
mouse. I only want to allow them to tab sequentially in one direction. I got
the second part to work but I can't seem to get the clicking thing worked out.
I tried creating a button with only a hit frame but it appea... more >>
TransitionManager and Tween class
Posted by mballom3 at 11/18/2005 12:00:00 AM
Hi,
Is it possible to set WHEN a clip starts using the TransitionManager and
Tween class?
For example i want clip1 to start animate at frame 5, and clip2 at frame 8,
clip3 at frame 11, and so forth. Normally i would simply add them on timeline
at respective frames and extend frames ti... more >>
Conditional Acton Not Working
Posted by Motoed-Work at 11/18/2005 12:00:00 AM
have a movie, it has a "show area" that has is an instance, let's call it
mov_show
mov_show has 5 labels every 10 keyframes (10, 20, 30...etc.)
At each of these frames, I have a movie instance (mov_Ad_1, mov_Ad_2...etc)
placed with an action of "stop".
Here is how I intend for this to... more >>
help with '_root.prevFrame()'
Posted by purpleape at 11/18/2005 12:00:00 AM
Hi all,
I have been using this script on a button succesfully
on (release) {
_root.prevFrame()
}
Now I need to make the button go to the root movie but not prevFrame, rather a
marker on the root movie. Any way to do this easily?
Im not an action scripter, so I hope this is an... more >>
substitution of _root in '_root.gotoAndPlay' ?
Posted by purpleape at 11/18/2005 12:00:00 AM
Hi Again,
Thanks for the previous response that got me
on (release) {
_root.gotoAndPlay("slide2");
}
I just realized that there are movies embedded in movies where Im using this
script. So I would like to substitute the term _root with a more exact location
for the button script.... more >>
Password: Required Characters
Posted by adam NO[at]SPAM blueapplestudio at 11/18/2005 12:00:00 AM
A portion of my site will be password protected soon. I was going to allow
clients to pick their own passwords and usernames. Both will have a
restriction on quantity of characters, and on character types. When they enter
the site, the client enters password and username, it's validated, an... more >>
Coordinates of buttons in screens
Posted by garryleebooker at 11/18/2005 12:00:00 AM
I want to put a UIComponent menu item in a Flash Slide Presentation (MX 2004
Professional) I followed the instructions in a Help page (search for
"CommandBtn" to find the help page I used. ) The only difference is that my
file is a Screen, not a normal Flash file.
The help page includes... more >>
onRollOver + loadmovie
Posted by duskofdawns at 11/18/2005 12:00:00 AM
Hello,
I was wondering if anyone could help me with what should be a simple piece of
coding.
What I'm going for is a modified version of a navigation bar like
macromedia.com has. And so far I thought I had the concept broken down enough
to try to make my own; however, I have yet to get... more >>
Communication: Javscript to Actionscript
Posted by PeleP at 11/18/2005 12:00:00 AM
Hi, I have a little problem.
I have read that it is possible to pass a variable from javascript into flash.
But I am using frames on my web site (Frame 1 and Frame 2).
I have placed a link on frame 1, that should trigger a javascript function. I
want this function to pass the variable into... more >>
Drag and Drop Multiple Targets.
Posted by redl3tt3r at 11/18/2005 12:00:00 AM
Greetings yall,
|--The Lowdown-------------------------------|
Here is the thing. I am new to the world of drag and drop, and as allways I
cant do anything the easy way. :) This is what I need to do. I have 4 squares
that I need to be able to drag and drop. I need to be able to drop any on... more >>
Full screen background
Posted by jester at 11/18/2005 12:00:00 AM
Hi everyone, I am trying to incorporate a very large background in my flash
doc., the background is about 2000px x 2700px (trying to cater to all screen
resolution), the goal is to have my flash document, which is 800 x 800,
imported it into dreamweaver and somehow have the background to displ... more >>
Shared Objects Problem
Posted by Thprd at 11/18/2005 12:00:00 AM
I'm wrapping a project for our maintenance department that will allow them to
collect information about tasks performed (mowing, watering, etc) on a handheld
device. When reconnected at a PC, the application uploads an xml object (saved
as a shared object) to our webserver for processing.
... more >>
Dynamic audio control button that swaps images depending on volume state?
Posted by _tree at 11/18/2005 12:00:00 AM
Hello,
I'm trying to find a tutorial (or help) on how to create an audio on/off
button that, depending on the state of the audio (volume set to 0 or volume set
to 100) will update the button with the correct graphic (on or off state). I
hope that made sense? I know I have seen this code be... more >>
Help: Can't call attachMovie()-born movie clips using arrays??
Posted by RedSox_Rob at 11/18/2005 12:00:00 AM
Hello, I'm building a game in Flash MX and am using attachMovie() to put
instances of a movie clip on the stage. In the code below, everything works
perfectly except for the rotation segment. A couple things I've tried:
1. If I call the flies without using an array (ex.: Fly0._rotation="18... more >>
Button link in scroll
Posted by csa at 11/18/2005 12:00:00 AM
How can I get a button within a component scroll to open and play an animation
in within the timeline?
I am currently using the following on my buttons, but this doesn't work when I
add it to the scroll.
on (release) {
gotoAndStop("myframe");
// update state
_level0.setStateVar(... more >>
Date in actionscript
Posted by vulnerable_one at 11/18/2005 12:00:00 AM
:beer;
Dear all;
I am new to the actionscript scene, but my boss has come up with developing an
advent calendar in flash for christmas. I have completed the calendar with some
fancy movies in it. That wasn't a problem, the problem I have is this,
I want some one to help me out with a... more >>
ternary operator support for actioncript 2
Posted by CohenLee at 11/18/2005 12:00:00 AM
Can anyone tell me if actionscript 2 supports them?... more >>
using Javascript to control Flash movie
Posted by Don Hinshaw at 11/18/2005 12:00:00 AM
Hello all,
I asked this question in a slightly different form about a month ago and
got no response. I am hoping this might fetch some help.
My page is here: http://test.hinshawdesign.com/cc/shoe_v3.html
In PC browsers, the various hyperlinks on the page will change the
colors of the parts of... more >>
Help with input fields
Posted by jacobdol at 11/18/2005 12:00:00 AM
:confused;
I use Flash 8 on Mac OSX 10.4.3.
this is a code that I use to create a simple input text field -
var fTextFormat:TextFormat=new TextFormat();
with (fTextFormat){
font="verdana"
size=8
color=0xFFFFFF;
}
this.createTextField("name_txt", this.getNextHighestDepth(), 10, 1... more >>
|