all groups > flash actionscript > april 2006 > threads for wednesday april 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
GotoAndPlay
Posted by homegrownideas at 4/26/2006 11:35:05 PM
Can I set a script to gotoandplay a certain frame a number of time and than
jump to a new keyframe? Ex: Keyframe 20: gotoAndPlay(1); I would like it to do
this five times and on the sixth goto frame 21. Any ideas?
-Ethan
... more >>
how did they do this?
Posted by lumeeguvnor at 4/26/2006 10:43:56 PM
hi
i came across a site www.sofake.com
how did they do this?
i can handle building a function to alter the x and yscale to "zoom" in and
out - but how did they get the seperate mc's (if thats what they used) to zoom
in 1 after the other until a given mc. i did notice that the movie uses ... more >>
Using button to move graphic across screen
Posted by David Kelly at 4/26/2006 9:38:44 PM
This is the script I'm using on the button so far, "birdo" is the name of my
movie clip after being converted into a symbol.
on(release) {
birdo._x +=300
}
If there's a tutorial for this, I'd would appreciate it. I just don't know the
steps for this process, so I'm probably working ... more >>
need help with sharedobject
Posted by Brhaynes75 at 4/26/2006 9:17:35 PM
i've got my sharedobject actionscript working well and good, using the
following actionscript:
function VisitCheck() {
var myLocalSO = sharedobject.getLocal("visitRecord");
if (myLocalSO.data.visited == null) {
myLocalSO.data.visited = 1;
// your action for first visit here
trace("op... more >>
Memory Game
Posted by NS5 at 4/26/2006 8:52:13 PM
Hello,
I am trying to do a simple Memory Game in Flash 8. The examples I have found
are much more complicated than what this game needs to be so I was trying to
create my own from scratch. There is no random needed just 8 cards on the
screen so 4 matches total. When they get a match the pa... more >>
Flash and C+
Posted by Zealouse at 4/26/2006 8:41:40 PM
Hi,
I?ve been looking around to see if I can find an answer.
We have a program written in C+ and VB is it possible to use Flash as an
interface with a program created in C+?
Has any one done this?
We like the way Flash works and looks and would like to use in with the
program.
Any... more >>
Scrolling Multiple Dynamically Loaded Text Fields
Posted by zulanwar786 at 4/26/2006 8:39:41 PM
Greetings,
I would like to know how one could go about scrolling mulitple dynamically
loaded text fields in the same scroll bar.
So far I have been able to dynamically load one text file successfully with a
scroll bar, but I would like to load various text fields and later down the
ro... more >>
Displaying images in dynamic text fields
Posted by Ssouza at 4/26/2006 8:26:07 PM
Hi, I am having some difficulty getting my images to display in a dynamic text
field. The images are linked from a txt file with the <img src=""> tag however
they are not showing up in the text area. The rest of the html are rendering
fine except the image tag. My example online is here:
ht... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Strange Flash Problem with IE
Posted by gerg at 4/26/2006 7:53:12 PM
So all of a sudden, any time I encounter a flash .swf on a web page, the
mouse over just highlights, (creates a border around the swf), the .swf.
It's not until I click on it can I then access any buttons or elements
that may be available to me. Anyone else have this problem? Any way to
... more >>
Download files / open-save option
Posted by GHub at 4/26/2006 7:52:30 PM
I have a button opening a file, but I want it to give the option of open or
save as opposed to going directly to the URL of the file and opening in a
browser. thanks
on (release) {
getURL("http://www.website.com/formone.pdf","_blank");
}
... more >>
Need help with login script
Posted by das_reel1 at 4/26/2006 7:32:15 PM
I have two input text fields : userName and password...
Their respective variables are "lowmami" and "trainsap" indicating the ONLY
correct username and password.
Entering them correctly should send user to a scene called "2".
Incorrect entries send them to frame 2 of scene "1" (the text a... more >>
File Url???
Posted by E-sharp at 4/26/2006 7:02:47 PM
I just found this command a month ago, but now I lost it again.
I want to see the file's URL in actionscript (i.e. file:///c:/blah.swf). I
think the command is something like _global.url, but that isn't it.
Any clues?
... more >>
'complete' event listener doesn't work.
Posted by babo_ya at 4/26/2006 6:37:48 PM
this.createClassObject(mx.controls.Loader, "my_ldr", 10);
var loaderListener:Object = new Object();
loaderListener.complete = function(evt_obj:Object){
trace("loading complete");
my_ldr.setSize(90, 90);
}
//Add listener.
my_ldr.addEventListener("complete", loaderListener);
m... more >>
Another Tree Question
Posted by stripetg at 4/26/2006 6:04:44 PM
I have another tree.
Using the arrows, when I open one tree node, I want other tree nodes to close.
I saw a sample that sepiroth had done, but I don't want to click on the whole
bar. I just want to use the arrows to expand and contract. Any help would be
great.
Thanks
... more >>
Changing instances properties
Posted by Shoudibola at 4/26/2006 6:03:58 PM
Well, I could not summarize the topic in the tittle, but I the end is that what
I want.
I would like to know how can I chance the instance "test" visibility, using a
variable. Like this:
var instance = "teste";
with (instance)
{
_visibility = 0;
}
OR
var instance = "t... more >>
Customizing Flash Tree Component
Posted by stripetg at 4/26/2006 6:01:23 PM
I don't know, but I am having the hardest time with this. I want to change the
arrow icons.
I have this code for setting styles.
this.myTree.setStyle("disclosureClosedIcon", "arrow_left");
this.myTree.setStyle("disclosureOpenIcon", "arrow_down");
arrow_left and arrow_down are graphic sy... more >>
is there a getpixel() type operation?
Posted by cmd121 at 4/26/2006 5:44:10 PM
I have an image file loaded into a movie clip. The image has a wavy line
running horizontally through it, and i want to detect the 'y' value of the line
as the image scrolls by, at a specific 'x' on the screen. The line is just
part of the image, so is there a way to detect its location by c... more >>
Random Text Answers Possible?
Posted by gitman1234 at 4/26/2006 5:34:54 PM
I have two text fields. One for user input, who types a yes or no
question(contents irrelevant) and then hits a button which then would randomly
bring up one of 50 different answers in a dynamic text box. Then a button to
clear the fields to start over. If anyone can point me in the right dire... more >>
XML Database for CD Rom Presentation
Posted by vixel.technologies at 4/26/2006 5:25:44 PM
Hi Friend
I have got a small query for you, Basically we are making a Flash Based CD
rom presentation which even includes product catalog. This product catalog has
Category=> Sub Category then the product i know a way how to do this using
access as a database and then query it and work w... more >>
Input text field
Posted by vrushgt6 at 4/26/2006 5:24:38 PM
Hi,
I am facing prob with the input textfield in simulations... whenever I am
typing some text in input field, it shows reverse typing.
eg. when I type "Flash", in input field, it shows me "hsalF". I am using Flash
MX 2004 & have tested this on Flash Player 7 & 8.
Its normal input field...... more >>
TextArea dynamic height
Posted by gurthWERM at 4/26/2006 5:23:34 PM
So,
I've seen a post asking about this from 2005 but it got no response. So here's
another shot at the question.
I have a TextArea bound to an XMLConnector... I need to determine whether the
width of the characters exceeds the width of the TA, and then resize the TA's
height. I can do al... more >>
Missing actionscript - new version of Flash
Posted by Reel Girl at 4/26/2006 3:34:30 PM
Hello,
I'm working with a flash file that was created in Flash MX, and was not
created by me. When I export this file to a swf using the new Flash 8, I get
the following error message:
**Error** Scene=Scene 1, layer=Actions: Main, frame=1:Line 8: Error opening
include file mc_tween2.a... more >>
Play random frames
Posted by Dilroy at 4/26/2006 2:42:13 PM
I am trying to make the movie play random frames when it is opened using the
following script:
gotoAndStop(random(13)+2);
I managed to do this successfully using numbers in each frame to see where the
movie was but then found that when I added content(images and movie clips) to
the fra... more >>
add OnPress function to dynamically-created movieclips
Posted by jcane1 at 4/26/2006 2:41:34 PM
I am able to dynamically generate movieClips in a loop. However, I wish to
enable each of those duplicated movie clips to have an onPress function. Can
that be done? If so, how?
relevant code:
button.onPress = function() { // button is clicked, revealing parent movieClip
which will conta... more >>
Initialize Event
Posted by gurthWERM at 4/26/2006 2:33:05 PM
So I can use onClipEvent(intialize) to set a moviclip state when it's loaded.
But I'd rather use an event listener to code everthing from one place.
Does anyone know if I can create an object with onIntitialize or initialize as
an event????
Any input is appreciated.
Thanks.
... more >>
menu script
Posted by deadlast007 at 4/26/2006 2:14:55 PM
im using the following script to make menus that open and close, but i cannot
get the sectios to space out. can someone help me. i would like at least 10
pixels between each section.
script is:
// Variables
var speedo = 20; // constant speed for menu opening
var speedc = 40; // con... more >>
masking
Posted by romeo victor at 4/26/2006 12:39:42 PM
:brokenheart;
i want to make a shape on the mask layer to follow the mouse so that it will look like a torch light and the user can control the movement of the torch.... more >>
mouse over
Posted by Abyu at 4/26/2006 4:47:11 AM
hi
iam kishore i need your help the problem is
When i place the mouse over a button it should display a message
and also when place over the button it should be animated
how is this possible can any say
thank you :)
... more >>
XML Component
Posted by ginoxl at 4/26/2006 1:12:12 AM
Is there any way to get the URL value parameter (i.e. document.xml) to load
from a variable?
In other words, an example:
I have variables that are passed to Flash, one of which is a var named
'xml_var", which in this case would be 'document.xml'.
Is there a way to get the URL value ... more >>
input text and stylesheets
Posted by Steve.Gurasich at 4/26/2006 1:11:28 AM
Is it possible to attach a stylesheet to an input text field and have that text
pick up the style? I have dynamically created my own text fields, and have
succesfully attached a stylesheet and written htmltext to use the style, that's
not a problem. But when the text field is an input text f... more >>
How To Stop Animation Looping?
Posted by username132 at 4/26/2006 12:00:00 AM
What I'm trying to do is make it so than when you load my html-based homepage,
the logo is animated and plays a sound. When the sound is over, the logo ceases
to animate and is static for every other page. I have the logo as a .png
already on the page and would like people without flash to sti... more >>
Listeners and FLV Cue Points
Posted by Paul Ostryzniuk at 4/26/2006 12:00:00 AM
Hi,
I'm pretty sure this is simple, it's just that I've never used a listener
before.
I want to play an flv and use cue points in the flv to have text in a dynamic
text field change, just to describe what is playing.
Any help would be greatly appreciated.
... more >>
Disable Buttons and Inputs from a movie
Posted by 3fx at 4/26/2006 12:00:00 AM
I have a movie and i want to disable buttons and inputs from it. Here is my code that doesn't work (bit of a newbie)...
_root.inputA.enabled = false;
_root.buttonA.enabled = false;... more >>
setVolume on multiple sound objects
Posted by skullnz at 4/26/2006 12:00:00 AM
Hi there
I'm trying to use setVolume on individual sound objects. What I'm finding is
that when I set the volume for one object, it sets it for all sound objects.
My controlling script is a class object that defines a new sound object as a
property of itself:
this.sound_object = new ... more >>
Performance problem (with onEnterFrame?)
Posted by nurg1e at 4/26/2006 12:00:00 AM
Hi.
I'm working on a pretty big product presentation in flash. The presentation is
"doable" with like no AS at all, but the timeline(s) would be huge and a
nightmare to work with, therefore I like to do as much as possible with AS.
My problem is that my MC gives me 50-90% cpu-load on a 1,6... more >>
applyFilter and colormatrix filters
Posted by psykopath at 4/26/2006 12:00:00 AM
I am using a colormatrixfilter and applyFilter() to fade out a bitmap. My CMF
looks like this:
1 0 0 0 0
0 1 0 0 0
0 0 1 0 0
0 0 0 .9 0
This should slowly fade it out.
When I 'Test movie' i see it slowly fade out. When I open the .swf file in the
stand alone player (or in a browser... more >>
Frame Labels Inside a Movie Clip
Posted by wizzkid22 at 4/26/2006 12:00:00 AM
I have several movieclips in scene 1...............inside each movie clip are
action scripts saying to go to labels which are in scene1
Because the labels are not in the movie clip the movie just loops each time it
comes to the actionscript and does not go to the labels in scene 1???
Is ... more >>
Removing hand cursor
Posted by I.M.P. at 4/26/2006 12:00:00 AM
what scripting is needed to remove the hand cursor on a button object. I used
this.useHandCursor = false
but it doesnt seem to work on an actual button.... more >>
|