all groups > flash actionscript > may 2004 > threads for wednesday may 26
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
date = _root.today() problems
Posted by nfrared at 5/26/2004 10:33:34 PM
Hi. I'm not that great with Flash yet, as I am relatively new to it, thus I was
wondering if you could help.
I have a relatively complex mini-blogger, but it wont load, since the date =
_root.today(); command used to get and display the date won't work. The
debugger says as follows:
**Wa... more >>
playing specific frames of a movie clip
Posted by D_Vallentyne at 5/26/2004 10:21:41 PM
hello
i wish to set up a button that will play specific frames of a movie clip
instance, lets say 1 - 10 on rollover and 10 - 20 on rollout. what i can't
figure out is how to get it to finish frames 1-10 before starting 10-20 on a
rollout. i want to play all 20 frames of the instance if y... more >>
How to target contents of ScrollPane?
Posted by Nicholai at 5/26/2004 9:24:11 PM
I have a scrollpane which loads a movie clip. I have a button at the root of
the movie which needs to target the content inside the scrollpane. How do I do
it?
I've tried
on(release) {
_root.scrollpane.my_MC.gotoAndStop(2);
}
scrollpane is the instance name of the ScrollPane ... more >>
Hidden vars in url...
Posted by kafir at 5/26/2004 9:15:43 PM
I'm sending information from my flash to a php file. Is there anyway that i can
avoid the vars being displayed in the url?
This is my code so far. I works great but i need it to hide the vars because
i'm sending alot of information.
var args;
args = "newSearch = 1";
args+="&searchT... more >>
problem creating nested button in component
Posted by higgo at 5/26/2004 8:58:34 PM
Hi, I'm using MX Pro and have created a component (TextBox) that has a button
(mcButton) in its Library. In the actionscript for the component, I use
CreateObject to create an instance of the button on the stage.
this.createObject("mcButton", "mcButton", getNextHighestDepth());
Th... more >>
Open window with specifi parameters
Posted by rolfejr at 5/26/2004 8:46:25 PM
How can I use flash to open a new browser window that is a certain size and
does not show the toolbar, scrollbars, status bar, etc. Basically I want to do
in Flash what I can do with the following javascript:
window.open('new.htm','new','toolbar=0,scrollbars=0,location=0,height=370,width=
... more >>
textfield on movieclip
Posted by Vancats at 5/26/2004 8:27:27 PM
I got a simple but weird problem abt creating textfield on a movieclip...
_root.tranparent_layer1.createTextField ("mytext", 1, 10, 45, 1000, 22) ;
mytext.html=true;
mytext.htmlText= "<a href='http://nhl.com'>home</a>";
(note, tranparent_layer1 is a blank clip which to located the html t... more >>
Script Gods! - Simple Scrolling Menu - Please Hel
Posted by novon at 5/26/2004 8:27:13 PM
Okay - There is a simple fix but I can't figure it out!:confused: I'm trying
to do something similar to this (just the scrolling client list):
http://novonic.com/misc/menu.fla
Here's the code, Thank you in advance:
ym = 0;
//function to set the ypos of the movieclip
function ypos(... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
components that redraw when resized
Posted by sneakyimp at 5/26/2004 8:08:19 PM
when you resize an instance of the default flash components like
FPushButtonSymbol, they automatically redraw themselves. how is this done?
i've done the macromedia component tutorial, i've created my component, it
references my live preview movie, but it the docs don't tell you how to redr... more >>
easy calc problem
Posted by Screenweasel at 5/26/2004 8:05:38 PM
I have two input fields. My goal is to have a button that adds (or otherwise
calculates) the values associated with these input fields. My code is simply
outputting the two numbers side by side instead of mathematically adding them
(producing results like '44' instead of '8', or '55' instead o... more >>
setVariables for a _global and sharing this with javascript?
Posted by burn1down_2k NO[at]SPAM hotmail.com at 5/26/2004 7:57:36 PM
I think this mite not able to be done, but i was just curious..
my situation..
I have a nice web application that uses a flash menu system, and an
asp.net body containing information..
When a task is completed(calling it thru javascript onload of the
asp.net body), i want to pass a variab... more >>
Calling variables in the root from loaded SWF
Posted by PeaceKeeper at 5/26/2004 7:53:57 PM
I loaded an external SWF using loadMovie(). And I can't seem to access a value from a text box (myTextBox.text), which is in the root SWF, from my loaded SWF. Any suggestions?... more >>
Load text with link to load text
Posted by Liraz at 5/26/2004 7:43:09 PM
There is 2 dynamic text boxes; "InstanceName_0" & "InstanceName_1"
"InstanceName_0" load text from "minutes.txt"
In "minutes.txt", there are links of text files inside; "1.txt", "2.txt",
"3.txt"...
When people can click on the links in "InstanceName_0"
Then another text file will load and ... more >>
Progress Bar
Posted by divepirates at 5/26/2004 7:02:34 PM
I've followed the tutorial on how to place a preloading bar on screen in Flash
Pro 2004. I can't get it to show up or if it does show up it just sits there
can someone please tell me what I need to do?
I am placing the progress bar as pBar, Placing the loading with it (loader)
but am having... more >>
beta 3d site
Posted by philippe at 5/26/2004 7:01:22 PM
hi,
I'm a young architect and a step away from finishing my online
portfolio. got one big last crucial problem: for any reason the cpu is
not fast enough to go to certain frames without a delay. it works fine
with the first frames, but increses the more 'distance' there is between
the frame... more >>
Loading Dynamic Images
Posted by Vimpact at 5/26/2004 6:51:12 PM
I have a flash movie that builds a row of images from image names being passed
from a database. When you click on a left of right arrow the row of images
slides from left to right or right to left. Whichever image is in the center is
focused. Here's the trick. The client wants the images to an... more >>
load movie problem
Posted by rosco p at 5/26/2004 6:48:23 PM
Hi all,
I am relatively new at flash and have created a site for a friends racing
team...
www.blackonblackracing.com
Please be patient as I haven't added a preloader yet - it is about 400kb at
the moment. I am getting on ok (I think) but want to use the load movie
function for some... more >>
sending variables
Posted by jdudan at 5/26/2004 6:10:53 PM
Hello.
I am using Matt's FormMail script in my flash movie for users to sign up for
our newsletter. It works fine when I use this script on the submit button...
on (release) {
getURL("http://www.goairtight.com/cgi-bin/FormMail_flash.cgi", _blank,
"POST");
}
But I need the cgi s... more >>
HTML links to reference to movie, not URL
Posted by Bundy30 at 5/26/2004 6:05:06 PM
Hello,
I have a text area that displays HTML text that is pulled from an XML file and
its formated by a css file.
All works great, but I have to insert a link that would not link to an
external URL but would make the current movie jump to a different frame..
how or can I do that?
this i... more >>
vars from flash to search.php
Posted by kafir at 5/26/2004 5:20:57 PM
I have made this script which redirects my to simple.php. But it seems like it
does send the vars with to my simple.php fil. What i'm i doing wrong?
process_lv = new LoadVars();
process_lv.newSearch = 1;
process_lv.searchType = 1;
process_lv.searchArea = 0;
process_lv.pictureReq = ... more >>
Syntax error in one, not the other??
Posted by CraigJW at 5/26/2004 4:10:52 PM
Today's crisis: I am trying to create a functional volume slider for a series
of short Flash movies. I have found this page:
http://www.kirupa.com/developer/mx/slider.htm
and I downloaded the tutorial files. They run just fine. However, trying to
replicate the slider object in Flash refu... more >>
Centering
Posted by thoand at 5/26/2004 3:44:05 PM
Hi
Look at this: http://www.mr-andersen.no/center.html
Can anyone explain why the movieclips is shaking?
source code included in this post
Pleease help, have tried so much now, but nothing works
best regards Thomas
Stage.align = "TL";
Stage.scaleMode = "noScale";
fscommand(... more >>
exit / quit
Posted by Jazzie5 at 5/26/2004 3:28:21 PM
Hi,
I posted this question a few days ago but thought I would start a new thread
as it kind of differs slightly from the original question.
I am a complete novice with Flash and am having to submit a kids prog for a
university assignment (student teacher).
It isnt going to be a standalon... more >>
on(press){Keep doing it please!!;} help plz.
Posted by Habitmaster at 5/26/2004 3:24:42 PM
Below is the code attached to my arrow button. On press, it moves the picture
(quad_mc) 15 pixels to the right.
All fine and good but I want the picture to continue motion as long as the
mouse button is being held down.
Do I need a loop to keep checking for buttons press?
on(press) {
... more >>
Sending Data to a Legacy Server
Posted by JRWeb at 5/26/2004 3:20:26 PM
Hello,
I have Studio MX 2004 in my possession. I frequently use 2 products;
Dreamweaver and Fireworks. I want very much to include Flash into the picture
here at work for possibly creating an electronic form that people can submit to
a database on a Legacy Server. I don't have the Profe... more >>
For loop within a function!
Posted by milkhead at 5/26/2004 3:02:25 PM
Hi All
Can't believe I have been trying to nut this out for over a week now.
I have a holder_mc on main timeline.
On first frame of holder_mc I have this code:
myData = new LoadVars();
myData.load("http://www.starladesign.com/hightest/exist.php");
myData.onLoad = function(){
var num = ... more >>
video cam
Posted by pazzi at 5/26/2004 2:27:00 PM
hi
i need some help!!!!
i have have been working on a project with flash that uses a web cam and
everytime i open the swf the play asks me to allow access the camera.
HOW CAN I DISABLE THIS AND ACCESS THE CAM WITH OUT ASKING ME !?!?!?!?
THANKS
... more >>
Timed out script?
Posted by stacyp at 5/26/2004 1:59:29 PM
Hi
Would be grateful if anyone knew anything that might help me crack this
I have four buttons that stop a movie clip spinning and zoom into a view of
the spinning object. If the user does not press any button for say a couple of
minutes is there anyway I can detect that and add a script t... more >>
Arrays & list component
Posted by Paulrus at 5/26/2004 1:40:45 PM
Hello everyone,
I'm working on building some lists using an array and the list component.
Right now I have an array which I use as the datasource for the list
component. Then when you click on an item in the list it adds it to a new
array. But I'm having a problem with what I want to d... more >>
placing components using actionscript
Posted by punit_gupta at 5/26/2004 12:59:30 PM
Hi Guys,
I am working on a flash based system. We need to create different flash
components at runtime using action script. Following is the code I have written
to create a Label component, it works alright except that I am not able to
place components around the screen with actionscript.... more >>
Why doesn't work?!
Posted by www.absaranmakan.com at 5/26/2004 12:54:04 PM
// Set you files Path
var path:String = "clips/"
//Put your clips Numbers in num
var num:Number = 10
//Put your movie clips defualt item here
var defaultName:String = "clip"
// Create movie clip
_root.createEmptyMovieClip("clip",1)
with(_root.clip){
moveTo (200, 200);
be... more >>
To clear the screen
Posted by Manoj vn at 5/26/2004 11:43:01 AM
Hi forum,
In my interactive movie all frames contains objects . There is a next button
to go to the next frame. While i am going to the next frame the object of the
first frame still exists. I want a clear screen after clicking the next
button. Is there is any in build funtion like clrscr()... more >>
Screens
Posted by Brian at 5/26/2004 11:06:03 AM
I am working with screens for the first time. I am building a bunch of
screens first without adding the interactivity for all of them to get
back and forth between them. I was wondering if there was a way to
preview screens past the first one so I can check on what I am building?
Thanks a b... more >>
resizing the picures dynamically
Posted by venkateshnatarajan at 5/26/2004 10:48:41 AM
i have pictures dynamically uploaded in a movie clip, but the pictures are off different sizes, but i need the pictures to be sized evenly. ... more >>
Set length of string
Posted by Nocky35 at 5/26/2004 10:48:15 AM
Hi, When i press a button, i send the text from a text box to a database to be
saved. I want this to be set at 15 characters every time, e.g. if someone
enters a 15 length string, fine. But if they enter a 8 length string, then pad
it out with spaces or '___' . Do you know if i can do this ... more >>
if... else if... else if... else if... else if...
Posted by Kruel at 5/26/2004 10:40:37 AM
I assume you are able to do this sort of if else if else if else but I am
struggling with the syntax. My code currently checks the initial if and then
just executes the code in the first else if even when it is not true.....
My code is like this right now:
if (blar) {
dothis;
} e... more >>
[Flash MX] FRAME RATE
Posted by Rafael Maruggi at 5/26/2004 10:29:05 AM
Hi,
How can control the frame rate dynamic?
sorry by my english!
Thanks,
Maruggi, Rafael
... more >>
handling global array
Posted by sschofield123 at 5/26/2004 10:22:04 AM
I have a problem that is doing my head in. I want to fill a datagrid with stuff
got from 2 web services. Due to the peculiar order actionscript seems to want
to execute things, I have had to set up a global array, fill this using one web
service on one scene, go to next scene, fill other bit u... more >>
finding scroll position
Posted by speedy d at 5/26/2004 10:21:48 AM
whats the easiest way to find the current cursor position of a text box? i know
there is TextField.bottomScroll etc..
i have a text box which autosize is set to true (so it expands as more text is
typed). When the user uses the arrow key to go back up the text, i'd like to
find the current... more >>
buttons image stop
Posted by Jazzie5 at 5/26/2004 10:06:14 AM
Hi all,
I am a complete beginner and would really appreciate some advice!!
I am creating a kids prog and want to add ticks or crosses to a quiz at the
end. I have added some neat buttons sounds, rollovers etc but want the tick, or
cross, to stay visible on the stage once they have answered a... more >>
LoadMovie. specify hight and widht.
Posted by biiin at 5/26/2004 9:55:13 AM
hava litle problem. woul like to load a swf calld park3.swf into another
swf.....i would like the movie park3 to play in a moviclipp called film, park3
replaces the moviclip, as it should, BUT, it does not remain at its size, i
would like it to be 325*298. But it just cover up all the original... more >>
Print only the current frame
Posted by rema at 5/26/2004 9:08:11 AM
My client only wants to print the frame that you are in using the designed
print button (can't just use browser print or the right click on movie
controls). There are 7 frames in the movie. So each frame needs to be printed
seperately.
Attaching #p prints all seven frames.
I've also trie... more >>
FLV from Vitalstream...
Posted by biiin at 5/26/2004 8:43:44 AM
Hi!
Hope ya all doing fine!
I would like to load 4 FLVs into one SWF.....the FLVs are located on
vitalstreams server. Im currently using FLash MX. But i hava a trial version
of Mx pro 2004 and will buy it if nessesery.
I thougt i could load them into to a movie clipp, using LoadMovie... more >>
Read/Write to a file? (*.txt)
Posted by pmxgvn at 5/26/2004 7:16:40 AM
Help me!
Can I read the data from a file *.txt to a array x[] in Flash?
And can i write the data from a array x[] in Flash to a file *.txt?
How?
I thanks.... more >>
loadMovie but buttons underneath still active
Posted by gauravmathur at 5/26/2004 6:48:24 AM
Hi all AS gurus...
I have struggled with this for quite some time now;
Whenever I load a movie on top of another movie using the loadMovie command
....the buttons of the movie underneath still show (the mouse turns to the hand)
& create a lot of problems... as they can still be clicked!!!!!
... more >>
SLOW scrolling
Posted by pharaohman98 at 5/26/2004 6:06:20 AM
Hi All,
I am continuing to work on my side scrolling flash game but I am running into
some rather annoying circumstances. I have a window of 640x480 and the entire
width of my first level is 1280px. Although I'm only using a 53KB .gif file
for the (non repeating) background, it absolutel... more >>
Stop text from stretching in a text box.
Posted by C#_Guy at 5/26/2004 5:55:57 AM
I want to resize a inputtext box to my ideal size. but I want to stop the text
from stratching or changing size. I want it to just word wrap down exactly as
it is so i can scroll that box.
can anyone help me?
Thanks
... more >>
Help with Simple Buttons
Posted by C#_Guy at 5/26/2004 5:45:08 AM
Hi "AS" gurs,
Can any one point out what is problem with this script. I just have four
keyframes & four buttons placed.
stop();
templatesbutton.onPress = function(){
gotoAndStop(1);
}
graphicsbutton.onPress = function(){
gotoAndStop(2);
}
toolsbutton.onPress = function(){
... more >>
Dynamic text box. Your help will be appreciated
Posted by jyang NO[at]SPAM hacc.edu at 5/26/2004 5:21:59 AM
Hello: everyone.
I have a problem with using scrolling bar in the dynamic text box. I
used a following actionscript to modify the scrolling bar, but when I
tested the movie, the text color and font didn't change according to
the actionscript I wrote. I don't know what's wrong here. Can anybod... more >>
MC color from LoadVars
Posted by joejaslgv at 5/26/2004 2:40:56 AM
Hi, I am loading data from a text file. I want to change the color of a MC to the "color" value from my text file.
Can you help me out?
thanks!... more >>
Redirect form submission response to Flash frame?
Posted by tilsgirl at 5/26/2004 2:14:58 AM
Hello,
I am a newbie to flash and am designing a submission form using ASP to process
the form. How do I redirect after submission so that the user is taken to a new
frame in the movie clip that verifies that the form was submitted?
Thanks in advance for any help!
... more >>
"Sound off" Actionscript question
Posted by chowin at 5/26/2004 2:11:42 AM
Help!!!
I'm trying to create two buttons that will control the background
music in my Flash movie. One button an off button and the other an on button.
The background music plays automatically when the movie reaches frame 213, but
I'd like to give the viewer the option to turn ... more >>
|