all groups > flash actionscript > july 2005 > threads for thursday july 14
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
Checkbox help
Posted by -ToTi- at 7/14/2005 11:03:12 PM
Hi i want to to put a checkbox that when it is selected some text appears in a
textarea but I can not figure out the correct script.
What I intend to do is something like this...
if (checkbox selected){
textArea_one.text = "whatever";
}
anybody know how to do this??
... more >>
Sound functions
Posted by Skazulab at 7/14/2005 11:00:14 PM
Hey all. Just a little unsure about something from the ActionScript API
provided with Flash MX. In "Sound" ("Methods.Movie.Sound", if you will), is the
"mysound" in
mysound.stop();
an object (sound)? Or does mysound call the class, stop() is the method, and
you have to specifiy what o... more >>
_no['rhyme'].nor.reason = ahhhhhh
Posted by jesus102984783093987 at 7/14/2005 10:03:45 PM
This has got to be the #1 question:
Is there a chart of something somewhere that explains how to target vars and
instances, movieclips, etc. from different objets,depths, etc??
And why are the paths to attachMovie MCs different in the browser when served
from the website rather than previ... more >>
Relatives paths problems (for files, not for symbols)
Posted by nachokb at 7/14/2005 8:46:27 PM
Well, I'm developing this website, and keep on finding problems when loading
external files. The greatest pain in the **s is that, right now, it works on
some browser on some domains (I've got multiple domains for the same website).
But anyway, as I may keep on finding this sort of problem, I ... more >>
Closing a pop-up
Posted by -ToTi- at 7/14/2005 8:28:35 PM
Hi, im trying to make a popup close at the push of a button with the following
code but it is not working:
on (release) {
getURL ("javascript:NewWindow.close(); void(0);");
}
Is the code wrong, or am I doing something else wrong??
Thanks,
toti
... more >>
How Do I...
Posted by justkrissy at 7/14/2005 7:57:27 PM
I want a button to close the window. How do I write in the action panel a
script that does this:
<a href="javascript:window.close();">Back</a>
I tried the following, but it didn't work:
on (release) {
javascript:window.close();
}
Thanks in advance!
... more >>
Opening Independent Window in Flash
Posted by queensryche_05 at 7/14/2005 7:54:45 PM
I have the following actionscript as a link within a flash component:
on (release) {
getURL
("javascript:n_name=window.open('pagename.html','width=700,height=500');void(0);
");
}
Someone clicks on that button and pagename.html will appear within a sized
window just as I want. The t... more >>
password protecting in flash
Posted by n is fine at 7/14/2005 7:24:05 PM
hi,
i would really like to know how to password protect a page in a flash website
any help will be really appreciated
thanks !!
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Random Dynamic Text?
Posted by swim4it at 7/14/2005 7:15:14 PM
Is it possible to have 3 dynamic fields, 6 external file with quotes, and have
them randomly inserted into those dynamic fields?
Also (because I don't have flash on this computer and can't try it right
off-hand) - is it possible to make a dynamic text field fade in and out as
shapes and ot... more >>
Simple (hopefully) Array Question
Posted by johnnyred at 7/14/2005 7:06:03 PM
I am trying my hand at learning actionscript and am using the flash mx 2004
actionscript training from the source. (Chapter 9).
var buttonNames:Array = ["Example One", "Example 2", "Example 3", "Example
Four"];
I am using the array to populate a duplicate movie clips making a menu. But ... more >>
External .jpg in Flash
Posted by KSTyveil at 7/14/2005 1:49:56 PM
Macromedia has a tutorial that says you can link external jpegs into dynamic
text controls by using <img> tags. I have the following code:
myText_txt.htmlText = "Here is an example of an image: <img
src='Images\photo3.jpg'>";
This syntax matches exactly what is shown in their tutorial, howe... more >>
borderStyle and Menu component
Posted by elkiloprieto at 7/14/2005 1:32:56 PM
Hi,
How can I Customize the border of a menu component
myMenu.setStyle("borderStyle","none") or myMenu.setStyle("borderColor",0x000000) dont work.
richard
... more >>
Units in _x
Posted by KSTyveil at 7/14/2005 1:24:13 PM
I have a dynamic text control that I need to determine the width of. It is set
to autosize. The property .length appears that it is giving me the number of
characters. I need a number on the same scale as the ._x property (pixels?).
Any way to do this?
... more >>
Problem with Play/Stop buttons working with external SWF
Posted by emayer1 at 7/14/2005 1:07:55 PM
I have my main flash file (let's call it main.swf). In this main file, I
created a blank movie clip with an instance name of "blankMC". I have a Play
and Stop button in this main file. I am loading an external swf (sampleMC.swf)
file that contains a movie clip. I am attempting to control the ... more >>
'with' keyword not working
Posted by apr333 at 7/14/2005 10:52:15 AM
The 'with' keyword is partially working. See code below:
with (m_theClip.br_mc) {
// works ok
trace(_name);
// the following drawing methods do not work
moveTo(xRight, yBottom-m_curveControl);
beginFill(m_color.getR... more >>
Weighting a control point?
Posted by Dave Mennenoh at 7/14/2005 10:33:48 AM
When using the curveTo method - is it at all possible to give a weight value
to the control point so that the drawn value actually passes through the
control point?
I'm working on a drawing app of sorts and one of the things the user does is
outline areas of an image using vector lines, along... more >>
building a menu.
Posted by purple_am at 7/14/2005 9:49:02 AM
hey
am building a small menu(which at first was simple).
Now its getting a bit complicated.
the issue am confronted to is that i need to keep track of the last menu
clicked, to be able to show some effects state.
Any tutorial out there from which i can learn or any source codes.
thx ;... more >>
.as prob
Posted by ccraj at 7/14/2005 8:38:47 AM
Below is my .as file code
class Char {
private var container_mc:MovieClip;
public function Char (target:MovieClip, depth:Number) {
container_mc = target.createEmptyMovieClip("container_mc" + depth, depth);
}
public function loadImage (URL:String):Void {
con... more >>
Flash player crash IE when loading xml with file length: 43009 bytes
Posted by xleoliu NO[at]SPAM gmail.com at 7/14/2005 4:01:01 AM
Hi,
Please help to check the following problem..
1. The wierd problem can be test at the URL:
http://www.evonne.com.tw/testLoadXM...FileStatus.html
(Reload this page will crash IE)
2. swf in the above HTML try to load the following xml:
http://www.evonne.com.tw/testLoadXML/test.xml
3.... more >>
Mouse-based directional navigation?
Posted by Robert Toth at 7/14/2005 1:10:16 AM
Hello, I am looking to create a navigation where the movieclip
on my stage would scroll in the direction of the user's mouse
movement. I saw this on another page a while ago. Not sure
if I'm clear enough - but lets say you have an image that is
larger than the stage - while the user's mouse is d... more >>
filesize
Posted by hatsi59 at 7/14/2005 12:07:25 AM
Hi All,
I have a file with the only actionscript being some buttons events i.e.
rolloxer, rollout and release. The filesize is mainly from Actionscript 2.0
classes i.e. about 50Kb.
what's going on!
thanks
George.
... more >>
Re-using The ProgressBar
Posted by nomis_take at 7/14/2005 12:00:00 AM
I'm having a anoying problem with my progressBar...
I have one main movie
In this movie i load other movie's each with their own progressBar. Once
loaded the progressBar destroyed with:
this._parent.destroyObject("pBar_pbr");
The problem is than the first movie that i load works just fin... more >>
onEnterFrame movie wont play..
Posted by nsbrown at 7/14/2005 12:00:00 AM
Can someone tell me why my movie wont play when movie has been initailized
stop();
this.onEnterFrame = function() {
_root.mcEmptyClip03.attachMovie('movRedArrows', 'mcRedArrows', 0);
};... more >>
copy/paste a group of loaded mc's
Posted by beckman at 7/14/2005 12:00:00 AM
i have a program set up where i can drag 'n drop items to build a room. with
some help i managed to have a "grouping" tool where i can grab a bunch of items
and move them together using arrays. basically i want to take that group of
items and duplicate/reload those items creating like a "cop... more >>
Can you use tinting with actionscript?
Posted by redl3tt3r at 7/14/2005 12:00:00 AM
Greetrings Yall,
Is there a simple way I can control Tint using Actionscript?
-redLetter... more >>
delayed stop
Posted by Bellah5 at 7/14/2005 12:00:00 AM
I have a movie with 5 pages. Each page has a fade of 5 frames. I need the user
to be able to click on a page's button, have the fade happen, then stop the
movie. I need the stop to happen 5 frames after the action. How would I do
this. Thanks in advance.
... more >>
Drawing over (Tracing) an Image in swf
Posted by dje97001 at 7/14/2005 12:00:00 AM
I need to write some code that will enable the user to trace (using the mouse)
over a shape (that I supply in the movie)--giving them feedback (like painting
over the shape in a different color) and I need the mouse movements to
determine whether or not they have traced the shape correctly. I... more >>
Exporting a screenshot
Posted by CInfo at 7/14/2005 12:00:00 AM
Hi, I'd like to be able to have a button which when clicked, will save a screenshot of my flash file to disk. Is this possible and if so how?... more >>
Java to Actionscript
Posted by Chip W. at 7/14/2005 12:00:00 AM
Hi,
I've been searching the web for methods of converting Java to Actionscript.
I've manually converted Javascript to Actionscript a buch of times, but I've
found some Java applets with source code that I'm interested in trying to
convert. I'm relatively new to Java applets, as well as its... more >>
Unload dynamic movie clip when it is done playing
Posted by groovything.com at 7/14/2005 12:00:00 AM
I have a shell application that dynamically loads swf's which were created by
captivate.
I do not want to have to figure out a way to add a trigger to the captivate
movie because the clients are going to be creatin gthe demos with captivate.
I need to find a way to unload the swf movie... more >>
Function in a loop.
Posted by dakin01 at 7/14/2005 12:00:00 AM
I have a function within a loop to define the onRelease actions of the buttons
that the loop places on stage.
The problem is that the loop variable doesn't keep it's number for each button
instead they all become the same when the script ends. So all of my buttons
have the same id number a... more >>
Quick question
Posted by guedado at 7/14/2005 12:00:00 AM
I have a statement from a FLA file that I don't quite understand. I know the
overall aspect of it but could someone break this down for me? Thank you.
else if (!Email.length || Email.indexOf("@") == -1 || Email.indexOf(".") ==
-1) {
EmailStatus = "Please enter a valid E-mail";
Not... more >>
Move mc from point a to point b
Posted by ChuckyLeFrek at 7/14/2005 12:00:00 AM
I want to animate the movement of a movie clip using actionscript from one
position to another position
So for example if the positions are as follows:
pCurrent_X_Position
pCurrent_Y_Position
pDestination_X_Position
pDestination_Y_Position
I would like to know the equation that... more >>
how can I ignore ctrl+arrow
Posted by alisonspiegel at 7/14/2005 12:00:00 AM
I have a Flash app with lots of frames. I have to control which frames the
user sees based on what they do. I do not want the user to jump to frames
arbitrarily. When I run my swf (or Flash exe), I find that the control+left or
right arrow keys move the app from frame to frame automatically... more >>
Creating a limit on a script
Posted by sfsnwbrdr at 7/14/2005 12:00:00 AM
I have a script that scrolls a set of images left-right and vice versa based on
the position of the mouse...
I want to create limits, so that this action still happens, but when i get to
the end of the photos it stops scrolling, and allows the scrolling in the other
direction.
Here is ... more >>
Problem with Listener
Posted by Kirk Christopher at 7/14/2005 12:00:00 AM
Here is my code:
var myMCL:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();
myMCL.addListener(myListener);
myListener.onLoadProgress = function(target_mc, loadedBytes, totalBytes) {
_level50._visible = true;
var preloadPercent:Num... more >>
defining a function
Posted by pilambdaphi at 7/14/2005 12:00:00 AM
I want to define a function that can be called by different button actions.
Where do you physically place the code that defines the function. I placed the
following code in the Actions for Frame1 Layer1 and I can call it when needed.
However, the function also executes when the movie begins. H... more >>
can't load jpgs in firefox
Posted by Travistee at 7/14/2005 12:00:00 AM
I use this to display a jpg image from a url in the main movie.
I read text.txt in the loading scene. Then to give it time to read the txt
file.
I know I should be using LoadVar instead of loadVariablesNum.
I'm assuming that if it has time to load in explorer it should have time to
lo... more >>
How to play movie clip then go to URL -help!
Posted by ace01 at 7/14/2005 12:00:00 AM
Hi,
Can anyone help me? I have a movie that has buttons, that when you click on a
button, it plays a movie clip, then goes to a url.
The moveclip that plays, is the same movieclip for all the buttons, but when
you click on different buttons they go to different URL's.
Thanks
Dave
... more >>
DataGrid Column Alignment by Column
Posted by madeiras at 7/14/2005 12:00:00 AM
I can setStyle("textAlignment", "right") on the entire DataGrid, how do I set "textAlignment" by DataGrid Column ?
Thanks... more >>
Shared Object Problem?
Posted by Luke867 at 7/14/2005 12:00:00 AM
Hello,
I have variables called "user1", "user2", "user3", etc depending on how many
have been created by the user.(I have a user class). I am trying to save these
variables but it doesn't seem to work. Here is my script:
function save(){
saver.data.rememberNumber = rememberNumber;
save... more >>
|