all groups > flash actionscript > june 2004 > threads for friday june 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
covert textField to button
Posted by krl at 6/18/2004 11:05:17 PM
So everyone knows about the capability in Flash to convert a text field into a
symbol (more specifically a button). But does anyone know how to do this
behavior in action script. It would be very useful for me at the moment. Thanks
a whole lot.
So this is what I've got:
createTextField("t... more >>
onEnterFrame issues
Posted by waveturtle at 6/18/2004 10:30:53 PM
I'm using the following code to scroll a movie clip from side to side at the
bottom of the stage...
How do I make it so the scrolling ONLY occurs when the mouse is over the movie
clip and not when the mouse is over other parts of the stage.
Any help is appreciated
onClipEvent (load) {
... more >>
actionscript 2.0 - 'this' scope issue
Posted by pwp69 at 6/18/2004 10:24:49 PM
Can some one tell me why I have to wrap variables normally scoped with 'this'
with 'with (this)' to get them to work. (see attached code snippet.) Is this a
bug or am I doing something wrong?
public function moveTo(xPos:Number,yPos:Number):Void {
// This works....
with (th... more >>
button losing functionality
Posted by JPI at 6/18/2004 10:16:07 PM
Dang. I have a MovieClip (surprise!), who's onRollOver function attaches
another movieClip to it. The attached Clip has a button on it.
Upon running the project, everything works great, except the button in the
attached movieClip doesn't work. Here's the code for the onRollOver
function... more >>
I have a button with a get url attached to it - th
Posted by munden at 6/18/2004 9:41:43 PM
I have a button with a get url action attached to it - the button is in a
movieclip which has been dragged from the library to the stage - the get url is
pointed to a pdf file (eg file.pdf) it is an absolute link - (eg
http://www.mydomain,com/file.pdf) it will not work, although if I point the... more >>
Search String For Characters
Posted by llama79 at 6/18/2004 9:37:33 PM
Simply speaking first:
How do you search a string for specific characters.
Say I have a string of information that is "Josh is trying to find
information."
With an input text box I type the characters "info".
If that snippet of characters is found in the given string I want to retu... more >>
lost variables & mask's
Posted by Alshira at 6/18/2004 9:20:21 PM
hi everybody!
I have a problem, when i try to assign a variable a textfield into a mask, the
variable is missgin
i try instance.text = var1; but this object are in a mask, if i deactive the
mask the thinks work's, but if i enableit if fails,
some one can helpme? there are some form to sen... more >>
XMLConnector -> ActionScript
Posted by bobpf at 6/18/2004 8:29:56 PM
I am trying to use a XMLConnector purely in ActionScript and it seems to not be
working, please find the attached class I wrote. Any ideas why this would not
work?
import mx.data.components.XMLConnector;
import mx.core.UIObject;
class com.con_way.flash.area.AreaController extends UIOb... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Goofy loadVariables
Posted by krl at 6/18/2004 8:28:47 PM
I have a text file with a variable in it. I created a text field to display the
variable value, but it won't. The variable and value show up on the debbugger
but not when traced.
Here's my code:
messageURL = "list.txt";
trace(messageURL);
loadVariables(messageURL,_root);
trace(var_t... more >>
tooltip in a textfield
Posted by Edwin Merced at 6/18/2004 8:04:42 PM
Id like to have multiple tooltips in an html textfield. Sort of an imediate
glossary or something that proviodes definirtions of words inside the html.
Is this done with Javascript? Any example I can look at?
... more >>
Hide Cursor or block a button I don?t know
Posted by oon at 6/18/2004 8:02:16 PM
Hello everybody:
I have a simple question i think, but i can?t find the solution.
Ok, I have loaded a movie into another movie using an empty clip. this is the
code(of button wich load it?s 2nd movie):
on(press){
_root.emptyclip.loadMovie("movie.swf");
}
Well, the problem is: when the ... more >>
Delivering a Dynamic Web Application using Instal
Posted by rsassine at 6/18/2004 7:58:36 PM
Hello out there,
the question is: can a web based application be deployed/install
like a desktop application using Installshield or Wise for example?
Let me explain (and please correct me if I'm wrong):
in order to have a dynamic web server these are the basics we need:
1. Apache
2. ... more >>
external text not working
Posted by Artemidia at 6/18/2004 7:38:33 PM
Help! I've been looking for help for weeks...
my external text is not working when the movie is loaded into another movie on
a level. it works fine in the movie when tested alone. Is there some script I
am missing to make the text load into the level that the movie is on? I had it
working w... more >>
Movie Clips
Posted by bmtorres at 6/18/2004 7:27:30 PM
Help!
I've created 5 movie clips and would like to have each one play one-at-a-time,
in a specific order. I've tired various approaches and can't seem to get this
to work. Any suggestions would be greatly appreciated.
Thanks in advance - bmt
... more >>
variables losing thier data
Posted by jv1001 at 6/18/2004 7:14:55 PM
I have created a Queue class based on an array and another class called
packets. Each packet contains a variable called "Ani" and when a packet is
created a movie clip (which is on the first frame of the movie) is duplicated,
given a random name, and stored in "Ani". the packet is then stored ... more >>
scroll acording to mouse position
Posted by JoKKeSvin at 6/18/2004 7:05:42 PM
I've seen this on several web sites, and always wondered how it was made
--> a horisontal image that moves/scrolls to the left if the cursor is moved
to the right side of the image and vice versa.
And the further to either one of the sides of the image the curser is placed,
the faster the ... more >>
Stopping onClipEvent (enterFrame)
Posted by cire548 at 6/18/2004 6:56:20 PM
I using this script for it's effect on the color of an image...but it continues
to bog the movie down even after it completes the color transformation because
of the on (enterFrame). Is there a way to stop onClipEvent (enterFrame) after
it is done with the transform?
onClipEvent (load) {
... more >>
Stop sound
Posted by ~Flash~ at 6/18/2004 6:49:11 PM
I made a script that finds your screen size sends you to a full screen intro
for your screen size and loads the website behind the intro... is it posible to
have the intro tell the website it's finished and then have the website play
music about 5 seconds after the intro?
... more >>
Alternating Images and Text in flash?
Posted by ~Flash~ at 6/18/2004 6:47:04 PM
is it possible?? And if so... how can it be done?
Flash... more >>
Trace output order
Posted by K B at 6/18/2004 6:35:34 PM
I'm having a problem where the output of trace statements don't display in the
order I'd expect.
From code that's arranged like this...
var loadVars:LoadVars = new LoadVars();
loadVars.onLoad = function()
{
while( /*condition*/ )
{ /* do stuff:
... more >>
Turning on/off form areas using Change Handlers
Posted by aylara at 6/18/2004 6:08:35 PM
Hello, Im not sure if this is possible, but i would like to create a form that
has 3 checkbox options at the top. When any one or all of them are checked,
additional form fields will show up below them to collect additional data based
on which ones are checked.
I would like the form to no... more >>
attach text to a clip.
Posted by silvernapalm at 6/18/2004 5:51:48 PM
I want to create a text field dyanmically and attach it to a movie clip. then I
want to attach that clip into another movie clip.
i.e.
the below code works if i create a text field and place it in a movie clip. I
then assign the movie clip an identifier of mpiece. Hence the attachMovie
met... more >>
HTML form conversion to FLash Form
Posted by yetsirah at 6/18/2004 5:34:35 PM
Hi can anyone help me make a conversion to flash from html?
Here are my issues:
I have some JS and some html elements I need to pass this
info to the server but it is saying that the "Login Form does not provide the
right input fields".
I have concealed the actual name (just in case thi... more >>
add a movieclip from library
Posted by Michael Voeller at 6/18/2004 3:32:53 PM
how do I add a movieclip to the stage from the library? I know how to copy
on thats already on the stage and how to load one from a file, but I can't
find anything that says how to get one from the library.
... more >>
load an array with "Load Variables" funtion
Posted by Michael Voeller at 6/18/2004 3:30:31 PM
is it possible to load an array with the Load Variables() command if I'm
using an asp script?
for flash have:
Load Variables ("script.asp", 0, vars=GET)
and have the asp code look something like:
count = 1
Do Until objRS.EOF
Response.Write "name[" & count & "]=" &objRS( "name" )
coun... more >>
classes
Posted by paulr1984 at 6/18/2004 3:29:00 PM
Hi! I've been through a couple of tutorials already but none of them discussed
how to make classes in flash. Is it even possible?
I was thinking of creating a flash application that loads small movies
whenever an event occurs. Lets call the main flash application movie-A and the
small o... more >>
flash version of shockwave film loop?
Posted by BamaB at 6/18/2004 3:13:39 PM
Hi all, I'm wondering if anyone can help me figure out how to recreate this
shockwave film loop I did from flash. I know how to work in Director and lingo,
but am not as clear working in Flash with Action Script. Is there a good way to
accomplish this same project in Flash? --Kara
Here's a... more >>
html movie clip
Posted by sschofield123 at 6/18/2004 3:02:56 PM
I have a simple movie clip of a bod blinking his eyes. This works fine as a
swf. But when I publish it and view it in a browser, when he blinks, a large
white rectangle appears covering a large part of the graphic. :-(
... more >>
Actionscript changes Accordion Pane
Posted by Jeremy J. at 6/18/2004 2:42:44 PM
Does anyone know how to dynamically change the Accordion Pane based on a button
click? Is there an method for this? My application has several button and
based on which one is clicked, it goes to the appropriate accordion pane
automatically.
... more >>
controlling levels via variables - proper syntax
Posted by zerepa at 6/18/2004 2:28:20 PM
is it possible to use a variable to control a level ?
i was able to set the level via a variable
for example:
//set the level number variable
levN=4;
on (release) {
loadMovieNum("greendot.swf", levN);
}
//this works ok
on (release) {
_level(levN).gotoAndStop("Blank");
}
... more >>
TextArea Component setting it's font
Posted by MCR at 6/18/2004 1:54:47 PM
Using TextArea component in Flash 7. want to set it's font to an embeded font stored in a shared library but it does seem to do it. Any thoughts on this?... more >>
Displaying other languages in Flash 7?
Posted by MCR at 6/18/2004 1:32:16 PM
I am writing a Flash 7 programe that needs to display text in multiple
languages. Having probelms using a font held in a shared external library as
the TextArea component that comes with Pro doesn't want to work with them!
So if I use say the _sans font through out how does that appear say ... more >>
Sound Sync
Posted by K B at 6/18/2004 12:03:42 PM
Is there a way to syncronize 2 sound events to play simultaneously? It's vital that they begin at the exact same time (so they aren't started asyncronously).
Thanks.... more >>
How to run a moveclip<<<<help
Posted by Sauagecowboy at 6/18/2004 11:09:46 AM
I want to know if you can goto and play a pacific frame in a movieclip or even
when I press the button with the onrelease action will it play from the
beginning. Because the movie clip is in the graphic symbol.
I have attached the flash movie which I am working on if you know what mean
pl... more >>
ComboBox script nearly completed! Please help!
Posted by sanjoleja at 6/18/2004 11:01:25 AM
Dear friends, I have created a comboBox called "combo", it includes 2 labels:
label1 and label2. The DATA behind each labels are
DATA1:http://www.macromedia.com , DATA2: http://www.yahoo.com.
I need that when I select the first label, the first url opens in a new
browser's window. If I choos... more >>
formerly privatenews.microsoft.com If you are awaitng a reply ive lost my watched convos
Posted by J formerly private news at 6/18/2004 10:57:40 AM
If you are waiting for me to reply to you in this foru I have lost my
settings :( so please post to this thread.
... more >>
Math.round()
Posted by Ashish123 at 6/18/2004 10:55:51 AM
Hi
I have a problem facing might seems very small but just couldnt do it.
I want to roundup a value up to one decimal only. For example,
x=100.238294;
trace(Math.round(x*10)/10)
this works fine but if the number is : 100.0000000000
then I want my output to be 100.0. But its showing 1... more >>
mediaDisplay & unloadClip()
Posted by Alain Thibodeau at 6/18/2004 10:42:48 AM
Hello All,
I am having problems with the MediaDisplay and unloadClip().
In the site I am building I have my main swf that loads the sub
sections(other swf's).
I have a media section in the site, it is its own swf loaded by the main, it
uses the mediaDisplay to show videos and mp3's depending ... more >>
multidimensional array problems
Posted by ChrisLangstraat at 6/18/2004 9:51:17 AM
Hi,
I have class with a private multidimensional array: resultsArray
and a function wich puts data in that array: saveResultsArray
the function saveResultsArray is called 11 times. Each time the funcion is
called the following code is executed:
for (var i=1;i<8;i++) {
var result:Nu... more >>
Flash opens a new window when I send a PHP script
Posted by waveturtle at 6/18/2004 9:13:24 AM
I am using a simple PHP script to send mail from a LoadVars object in my Flash
website.
The PHP script is:
<?php
$email = $_REQUEST['email'] ;
$message = $_REQUEST['comments'] ;
mail( "me@myDomain.com", "Comments on my website",
$message, "From: $email" );
header(null);... more >>
Problem showing a form within a movieclip
Posted by Geraint Lewis at 6/18/2004 9:12:44 AM
I seem to have a variable related problem, i have a .swf file which contains a
form for customers to request a brochure
its called 'brochure.swf'
This .swf file is designed to run inside 'contactus.swf' inside my empty movie
container.
I can get it to run fine, with all the animation etc... more >>
Parsing a value into Flash on execution
Posted by equinox007 at 6/18/2004 8:49:23 AM
Hi,
I am currently blending PHP, XML and Flash 2004MX together atm...
I require a variable to be sent into the flash swf as it is loaded, simular to
parsing a variable into a php page
index.php?parseobjectname=parsevalue
Any help with this matter would be most appreciative.
... more >>
DuplicateMovieClip _level control
Posted by Hansel at 6/18/2004 8:18:04 AM
c ++;
duplicateMovieClip("_root.newMc", c, c);
Above is my simple script to make multiple instances of my mc.
How do you stop these duplicates from always being on the highest
_level? I want to put graphics above them and obscure some of them.
Please help for I am stuck...
... more >>
xmlsocket
Posted by paulr1984 at 6/18/2004 7:09:55 AM
Hi! I'm trying to connect a flash application with a java application. I have
a server socket listening to a particular port in java. I'm trying to send
data through XMLSocket.send( Data ). I can connect my flash app to my java
app. The problem is, after I send in my flash app, my java a... more >>
reusing dynamic images (i.e. on dif. timeline)
Posted by WebDuG at 6/18/2004 7:04:00 AM
Once I dynamically load an image into Flash, how can I reuse it on a different
timeline (within the same Flash ap). Say I load the image into _root.myImage
and then later I want to use the same image in finale.smallImage. I certainly
don't
want to load it twice (unless caching makes this ... more >>
Some one hepl me out
Posted by Amol4onlyu at 6/18/2004 7:01:24 AM
I can't get the script for the key [ Ctrl, Alt, Shift, Caps Lock ]
... more >>
Can I hide The manu
Posted by Amol4onlyu at 6/18/2004 7:00:12 AM
How to hide the right click manu in swf?
my_cm = new ContextMenu(v);]
my_cm.hideBuiltInItems();
my_cm.Item.push(b(n,m));
function v(n,m){
gotoAndStop(2);
}
this.menu = my_cm;... more >>
Flash 7 exporting as Flash 6
Posted by WebDuG at 6/18/2004 6:49:59 AM
I have an app I've developed in Flash MX2004 and my client wants it in Flash 6.
I exported it as Flash 6, and some of the functionality fails. Particularly:
dynamically creating text fields and filling them with text. How can I find a
list of Flash 7 features that don't work when exported a... more >>
Please help me about loadMovie(myFile.jpg,"target
Posted by webdg at 6/18/2004 5:02:51 AM
Thank for your help;
I create an empty MC and load a JPEG file to it. now i want get this MC width
and Height,How can i it?
createEmptyMovie("instanceNAme",depth);
widthMC=getProperty("instanceName",_width);
Result:
widthMC=0
... more >>
my new mx 2004 component is not working help me pl
Posted by olally at 6/18/2004 4:47:56 AM
Dear all,
I'm creating a small component, where in the text scrolls according to the
direction selected form the component property pannel . It's working fine if
only once component is place on the stage, if more than one component is place
on the stage the properties of the second component... more >>
e-mail with flash
Posted by kmkbe at 6/18/2004 4:03:24 AM
Hi there,
Some days before i assumed that from flash "mailto: some e-mail id" script
won't work with all the machines
unless the mail settings configured properly. But see this site
"http://www.emplus.net/main.html" site of the day
today, when we press their e-mail link it opens properly t... more >>
random inside a random problem
Posted by sjslovechild at 6/18/2004 3:46:08 AM
ok I have below script and it works fine. but I need to modify it and I'm at a
loss as to how to do it.
The Script randomly pics a movie clip and tells it to play. Now I need the
picture in the movie clip to be randomly picked from a group of 10 pics in the
library. I have no Idea how to do ... more >>
need text width from createTextField
Posted by mlowe969 at 6/18/2004 3:41:53 AM
Okay, I've mastered using createTextField, but now I need a method for
determining the width a string of text needs using a particular font. As in,
Times vs. Arial for a string like "Welcome to this website!"
is this possible? Please help!
Thank you!
... more >>
MediaDisplay Not Loading FLV
Posted by Modul8or at 6/18/2004 1:13:17 AM
I have been trying to load a flv file into the MediaDisplay component and can't
get it to work on the remote server. It will work on my localhost just fine.
I have tried insereting actionscript on the timeline:
myVideo.setMedia("Banner.flv", "FLV");
Banner.flv is in the same directory. S... more >>
Problem with Dynamic text. please help.
Posted by Mighty Ravenscar at 6/18/2004 1:06:51 AM
Hi,
Trying to do a simple thing and feel like an idiot for not being able to. I'm
sure this must ahve been asked before, but I couldn't find the answer when I
searched...
Trying to make different text files appear in the same Dynamic text Box,
depending on what thumbnail is clicked. I ... more >>
|