all groups > flash actionscript > june 2006 > threads for thursday june 22
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
the ../ syntax does not work in stand alone
Posted by FlashChump at 6/22/2006 11:50:44 PM
I have this simple function that goes in to a folder and goes back out just to
test the "../" syntax. It works fine in authoring mode but does not work when
running as a standalone file. I am guessing it has to do with security. Please
help. Thanks ahead.
function test()
{
var d = ... more >>
s it possible to use an empty movie clip as a button?
Posted by erye at 6/22/2006 11:12:27 PM
Is it possible to use an empty movie clip as a button? Right now I load in an
image from the xml file. I'd like to use this as a thumbnail that when clicked
loads a swf movie on the stage.
The loaded movie needs to be able to take the image path I send add an
extension (lrg.jpg). So the load... more >>
Blink the Buttons.
Posted by Jim Esteban at 6/22/2006 11:02:50 PM
Can Javascript or Actionscript blink the buttons for the browser instance on my windows tool bar.... more >>
Accessing JSFL from a SWF
Posted by caskater at 6/22/2006 10:52:58 PM
I'm trying to create a little app where I can execute methods i've written in a
JSFL file from my SWF. All the documentation says this is possible but only
refers to it when the SWF is loaded externally into some type of HTML or other
container where the JavaScript would be automatically prese... more >>
problem with my goto!
Posted by Andrew20 at 6/22/2006 9:05:20 PM
Ok? I try to make it simple!
I got a menu, all the buttons are movie clip so that I can use animated
rollover etc like "
on (rollOver) {
gotoAndPlay("over");
}
on (release, releaseOutside) {
bt_actif = "infobigfoot";
gotoAndPlay("down");
}
on (rollOut) {
if (bt_actif!... more >>
problems w. directing to another MC
Posted by pallepophaar at 6/22/2006 8:45:30 PM
I have problems with _root and _parents:
I have a MC on the maintimeline - in that MC there is another MC that i would like to get to from a button on the maintimeline.
How do i do that?... more >>
Diaporama
Posted by Dave at 6/22/2006 8:45:28 PM
Hello,
Do you have a .fla diaporama I would like to see how can i do
thank you for your help
... more >>
PopUpManager in the UIComponent Class and events
Posted by LA Flash Guy at 6/22/2006 8:44:38 PM
Can anyone shed some light on the PopUpManager in the UIComponent Class in
Flash?
I am working on a project in which everything inheirits from the UIComponent
Class and I'm having a bit of trouble with paths to my movieClips.
I am creating a popup in an MC Class which is called IMDevice.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
text link behavior
Posted by airpolgas at 6/22/2006 8:42:11 PM
I was handed a working flash site. The previous guy who maintained it left the
company. He had some links that Flash says are "buttons." I was asked to change
the text of the link, so I went in with Flash 8, drilled down to the text of
the link, then changed it. When I published it, the "empty... more >>
Go To Frame Label action
Posted by jtousignant at 6/22/2006 7:26:34 PM
Please help!! I have a drop-down menu that I created inside a movie clip.
Each drop down has a button behind it. What I am trying to do is make it so
when each button behind each menu item is clicked it goes to a particular frame
(label) on the Main time line. I can set the "get URL" actio... more >>
Searching Arrays
Posted by bsalles at 6/22/2006 6:57:17 PM
Hey there,
I have arrays being created my movie. Some with one numeric value, some with
many. Is there a way to just check if a value is in an array? Not where in the
array, just, "Hey, Array1, is there a number 12 in you? No. Hey, Array2, is
there a number 12 in you? No. Hey, Array3, is t... more >>
SetInterval
Posted by 300thnickattempt at 6/22/2006 6:52:48 PM
Hi, I have this code on an empty movie clip:
onClipEvent (load) {
testing = function () {
trace("OK");
clearInterval(inID);
};
}
onClipEvent (enterFrame) {
var inID = setInterval(testing, 1000);
}
I want the output to show "OK" once every second. But what's happening i... more >>
parameter problem in functions
Posted by Antonio_82_ at 6/22/2006 6:08:34 PM
I have a problem: I want to create a function that add a movie clip instance on
the scene.
function showItem(lx,ly,clip){
_root.attachMovie("doc1",clip,0);
clip._x = lx;
clip._y = ly;
}
the problem lies on the variable clip:
if the function is called, e.g. [b] showItem(240,12... more >>
Animation irregularity
Posted by pete_k at 6/22/2006 6:02:31 PM
I am very new to flash so please bear with me..
I am trying to create a simple interaction: when the user mouses over one
coloured box that the second coloured box will move to the side (instead of
partially covering the first box)
I have used this code:
on(rollOver){
red._x=10
... more >>
Referencing multiple images by ID
Posted by jtouhey at 6/22/2006 5:16:51 PM
The overview: I have a movie with a text input that pulls a name from an array
and associates a logo ID with it. After the user selects a name, they hit a
button which loads the logo image into an empty movie clip. I'm trying to
figure out the best way to set up the movie that shows the log... more >>
unlaod with alpha transition
Posted by _gary_ at 6/22/2006 4:30:56 PM
gary_btn.onRelease = function(){
imageLoader.content._visible = false;
nailLoader.content.unloadMovie();
empty_mc.unloadMovie();
for the either of the following unload lines (or perhaps the above
..visable=false)
is there a way to actionscript so that the movie (swf),
unloads with... more >>
Disable Keyboard Shortcuts
Posted by cosmicShame at 6/22/2006 3:25:09 PM
Is there a way in actionscript to check off that option in the flash player "Control" -> "Disable Keyboard Shortcuts ?"
Thanx!... more >>
Progress Bar and Scenes HELP!
Posted by olejnik at 6/22/2006 3:08:31 PM
Help! I have a two scenes within a project and need to load some sort of
progress bar. I've scene many different examples and none seem to fit my
situation. I'm trying to load at least one scene first assuming that from that
scene I can use the nextScene();. This may be a very simple thing. Ho... more >>
How do I end loop? Or should I?
Posted by Jadeivy at 6/22/2006 2:35:42 PM
I've got a simple function that works towards a lesson progress bar.
onEnterFrame = function () {
progTotal = Math.round (_root._totalframes);
progCurrent = Math.round (_root._currentframe);
progPercent = (progCurrent/300);
trace(progPercent);
}
Works like a champ, but as I traced ... more >>
Why so fast?
Posted by thejokerman05 at 6/22/2006 2:30:51 PM
I have a master to wich I'm loading external swf's. The preloader begins fine
but when it reaches 10-12 % loaded the swf that I'm loading shows up. This
leaves the preloader in it's place continuing counting... I want the preloader
to stay until 100 % and THEN I want the external swf to show. ... more >>
Passing and Array Variable to a movie clip
Posted by forumnotifier at 6/22/2006 1:39:14 PM
I have an array with info in it on the main time line _root. When I try to
acces the info within a movie clip timeline, the information becomes lost.
In the attached code the printAnswers[arryCount] is what I want to access, but
it becomes undefined.
Thanks
for (var arryCount:Number ... more >>
Dynamic text changes back to initial text on keyframes
Posted by mr.eddy at 6/22/2006 12:15:00 PM
Ok, this one should be simple.. I have a dynamic text field, let's call that
dynTxt, inside a movie clip called text_mc. Now the text_mc is contained inside
an animation_mc that fades the text_mc in and out. When I change the
dynTxt.text in my script to "new value", the "old value" is displaye... more >>
Preloading exturnal SWF's Help
Posted by andrew dewdney at 6/22/2006 11:54:15 AM
:confused;
I've done a pretty cool site: http://www.thevenusguns.com/danny.html however
I've run into the problem of larger SWF files taking longish times to load.
I'm trying to find a preloader that exturnally load the large SWF file.
Hopefully this Preloader will open quickly so the vi... more >>
onClipEvent problem
Posted by grahamdeuchar at 6/22/2006 11:51:59 AM
Hey peeps,
Right, thanks to the help of a couple of you in here I managed to get a button
that scrolls a map while the mouse button is held down. It worked a charm until
I tried placing other versions of the button (left, right, up and down
obviously) on the stage - the button works on its... more >>
Another puzzler
Posted by gum NO[at]SPAM earthling.net at 6/22/2006 11:38:18 AM
I have a dynamic text field that is mysteriously losing its italic
property.
It appears correctly in the Flash layout, but is not italicized in the
final movie.
Any clues?
Thx
Gum
... more >>
Mouse-hold button
Posted by grahamdeuchar at 6/22/2006 8:54:36 AM
Hey guys,
This is such a stupid question to be asking but it's one I've not come across
in a while and I'm danged if I can remember how to do it - I basically have a
scrollable map I've been building, but the scroll buttons need to be clicked
over and over to move around the map - how can ... more >>
Programmatic movement problem
Posted by zero at 6/22/2006 8:51:07 AM
Completely baffled by this:
I have an mc (of a map) which I want to move around to specific coordinates in
x and y axes in response to button clicks.
It does this very well using the following code:
//in the firstframe of the main movie
//loads the map swf
loadMovieNum("testmap.s... more >>
Only for stock web sites!!
Posted by meghanivas143 at 6/22/2006 8:04:18 AM
"If you don't mind a bit of Flash on your site, I'd suggest using one of these
stock applets: http://www.tufat.com/script52.htm They draw from Yahoo finance,
and are fairly easy to set up if you have some basic HTML know-how. I chatted
with the developer recently and I guess he's planning doze... more >>
control xml data dynamically using actionscript
Posted by realifreebie at 6/22/2006 6:13:01 AM
i want to load a xml file very dynamically in flash. i have a xml file as blow:
<?xml version="1.0"?>
<cbs>
<employee>
<number>1</number>
<name>Shi Chuan</name>
<comment>intern</comment>
</employee>
<employee>
<number>1</number>
<name>Shang</name>
<comment>flasher</comm... more >>
Need help with Radio form buttons
Posted by gwu630 at 6/22/2006 3:54:46 AM
I am using the radio buttons from the Flash UI Components Sets 2, but I don't know where/how to change the text color to the color I want to use. Does any one know how I can change it?... more >>
Movie clip actions Overwrite
Posted by Sterockicy at 6/22/2006 3:33:01 AM
Is there a way to overwrite Actions on a certain frame inside a movie clip, but still have the actions on the other frames. if so HOW?????
Thanks
Sterockicy... more >>
preloading multiple dynamic images
Posted by Hecktic Design at 6/22/2006 3:18:05 AM
I've searched this topic for hours with no luck. Basically I have an XML file
with a description and the url of multiple images. When I play the flash movie
the nodes of the XML are loaded into an array and then each jpg is then loaded
and attached to a movie clip along with the description ... more >>
Get the coordinate of the basepoint of the first character
Posted by tongits at 6/22/2006 1:15:35 AM
Is there a way to get the coordinate of the basepoint of the first character of
the text from a dynamic textbox?
I would like to get the same coordinates required for the imagettftext
function from PHP (http://www.php.net/manual/en/function.imagettftext.php).
Thank you!:confused;
... more >>
loop twice, then conclude
Posted by Grmfl at 6/22/2006 1:11:50 AM
I have three buttons that I want the viewer to press, in any order. These jump
to three different scenes. each one finishes by going back to the buttons and
an i=(i+1) script.
After the third scene plays out, I want to jump to the conclusion at frame
570. I've placed the following script wit... more >>
generate a mouse event
Posted by sneskid at 6/22/2006 12:41:20 AM
is it possible to generate a mouse event as if it were actually caused by the
user?
example: a function that will throw the event of a click at x/y coordinates.
And if there happens to be an object at that location which has to do
something when clicked, it'll do it.
If that's possible... more >>
|