all groups > flash actionscript > may 2006 > threads for thursday may 4
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
Animation question
Posted by Stan Sainte-Rose at 5/4/2006 10:33:56 PM
Hi,
It's maybe a stupid question, but I would like to know if the animation of
this template (http://www.templatemonster.com/flash-templates/9780.html)
was designed from the scratch or are there some software that can help to
realize this kind of animation ?
If yes, could you please tell me... more >>
Trouple with FOR loop
Posted by gregmax17 at 5/4/2006 10:26:58 PM
Alright, I am wanting to make certain movie clips visible if the _root.variable
equals 'i'. The dynamic text has a instance name on it, but am I using it
correctly?
for( var i=1; i<=6; i++)
{
if(_root.element_fire == i) {
('fire_'+i+'_text')._visible = true;
}
else
{
(... more >>
loadmovie not working
Posted by trivue at 5/4/2006 8:46:40 PM
Hello,
I'm new to flash and am having alot of trouble getting the load movie action
to work. Everything I've been reading suggests that what I'm doing should work.
The main .swf and the slidingnav.swf that I want loaded on top are in the same
folder on my local network. I have the load movie... more >>
Is it possible?
Posted by cristianregep at 5/4/2006 8:35:07 PM
I saw the existence of System.setClipboard() function that can rewrite the
clipboard. Is there a function or something that can perform the paste action
or copy the consistence of the clipboard into a string?
... more >>
Loading JPG into a specific layer
Posted by ColoradoSteve at 5/4/2006 7:44:39 PM
I'm a Flash beginner, so I apologize if this question is silly...
I created a movie clip with several layers. Some of the layers have images
that I dragged onto the stage from my library of symbols.
My top layer "Actions" contains all my ActionScript code. in this layer I am
creating... more >>
Load a Movie into a Loaded Movie?
Posted by davidlieb at 5/4/2006 7:29:47 PM
Okay, so I've got movie1. I loaded movie2 into movie1 using loadMovie. That
works fine.
I loaded movie3 into movie2, also using loadMovie. That works fine when I
preview movie2, but when I preview movie1, movie3 doesn't load.
How can I load a movie into a loaded movie? I don't want to ... more >>
opening .pdf's
Posted by nice multimedia at 5/4/2006 7:26:55 PM
how can I open a .pdf without using the getURL command:confused;... more >>
Need some testing please
Posted by DMennenoh at 5/4/2006 6:44:48 PM
I created a fairly simple video player for a client of ours. It's created in
8 pro, and published to player 7. I'm using FlashObject to embed it, and
have a simple message displayed as a gif file if player 7 is not available.
My client's tester is saying they get the message saying 'this requi... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Recognizing when the cursor is moves outside the flash piece
Posted by i am justin hines at 5/4/2006 6:44:46 PM
I have a flash navigation menu that slides out and slides back in when you
rollover them. Sometimes it gets tricked if your too quick with the mouse and
move the cursor outside the flash element they wont slide back down.
Is there anyway that I can get flash to recognize when the cursor is ... more >>
Dragging a .swf file on main stage
Posted by gwu630 at 5/4/2006 6:15:32 PM
Okay, I got this action from the tutorial:
this.createEmptyMovieClip("upcoming1", 1);
upcoming1.onPress = function() {
this.startDrag();
};
upcoming1.onRelease = function() {
this.stopDrag();
};
stop();
---------------------------------------------------------------------------... more >>
Need help with post preloader
Posted by brentam at 5/4/2006 5:41:32 PM
I have created a successful preloader that incorporates a movie clip
presentation. The question that I have is when the user navigates into the site
and returns to the home page, how do I eliminate the preloader from loading the
scene all over again? Is there any easy way to control this. Is i... more >>
addition problem - is actionscript/flash able to calculate correctly????
Posted by ed_skinner at 5/4/2006 5:09:15 PM
:confused;
Hi,
I am adding two float numbers that return an incorrect result. Here is
what I am doing...
var simpleMath:Number = Number(parseFloat("110.50")) -
Number(parseFloat("107.10"));
alert("Simple Math=" + String(simpleMath));
The result I get is... Simple Math=3.400000... more >>
Controling nextFrame() & prevFrame()
Posted by kypsul at 5/4/2006 4:58:07 PM
I am using this code to allow for the right and left key to jump one frame
forward or backward
var keyListener:Object = new Object;
keyListener.onKeyDown = function():Void {
if (Key.isDown(Key.RIGHT)) {
if (_root._currentframe < 8){
nextFrame();
}
} else if (Key.isDown(K... more >>
How to copy an XML Tree Node Structure using Flash?
Posted by rico6xrico at 5/4/2006 4:05:55 PM
Hello All,
I'm trying to figure out how to copy a xml tree NODE structure using
flash. Meaning, i create a new Node (newNode), and then I want the
newNode to have the same structure - ie. tag name as what my current
XML tree Nodes have (xmlData). Then, I want to be able to add new
values... more >>
Images not loading in IE when emdeding muiltiple flash movies
Posted by security breach at 5/4/2006 3:39:39 PM
I am currently working on the development of a site that has multiple (x4)
flash movies embedded into a .html page. Each flash movie is totally
independant requesting + parsing it's own xml to provide it's functionality.
When i view the page in Internet Explorer (V 6.0.2900), on a PC content... more >>
flash poll problem
Posted by --Superman-- at 5/4/2006 3:11:39 PM
i'm trying to load my flash poll into another swf location but i get an error
which states:
Error: A 'with' action failed because the specified object did not exist.
this is the script that i have on my 1st keyframe on my actions layer:
if (_url.indexOf("http://") == -1)
{
... more >>
event listener methods - public or private?
Posted by MOLOKO at 5/4/2006 2:32:19 PM
OK, if I have a component that broadcasts an event called 'onChanged', I
obviously need to set up a method called 'onChanged' in any class that
needs to subscribe and respond to that event being fired - but should
the method be private or public? I'm guessing public as it's effectively
one c... more >>
Client side image resize
Posted by kristjszw4p at 5/4/2006 2:20:38 PM
Hi,
is client side image resizeit possible with flash? If so, then from which version?
Cheers,
Sven... more >>
FScommand
Posted by JP.Harron at 5/4/2006 1:28:28 PM
Here is my code:
on (release) {
fscommand("exec", "AcroRd32.exe");
}
With AcroRd32.exe stored in a directory named fscommand. When I click the button nothing happens. Why doesn't this work?... more >>
setInterval??
Posted by JohnSmith at 5/4/2006 11:33:11 AM
Hi,
I have some code to dynamically build a menu from an xml file which works
great, pulls in the button labels, colors etc
function buildTMenu(xml_doc) {
currentTWidth = 20;
trace("building Menu");
for (var n = 0; n<xml_doc.firstChild.childNodes.length; n++) {
attachMovie("btn", "btn"... more >>
control another movie clip
Posted by chulimanga at 5/4/2006 10:40:48 AM
Hello,
I'm having problems however figuring out the path between the MC's and the
root of the main movie and the root of the loaded movie.
I'm loading external swf into holder placed on my root layer of main movie
loadMovie("external.swf", holder_mc);
On main line is movie clip (control_m... more >>
Loading movie counter
Posted by dick69 at 5/4/2006 10:16:22 AM
We have created a flash presentation called main and inside this presentation
are various buttons and once clicked they load various swf files. Once the
buttons are clicked how can we tell how many times a person has clicked on the
button or how many times an swf file has been loaded and is it... more >>
move a circle from one place to other with a desired speed
Posted by rajakvk at 5/4/2006 9:44:38 AM
My motive is to move a circle from one place to other with a desired speed.
For that what should I do.
Thanks
rajakvk
... more >>
Static Text box from ActionScript
Posted by Stan Sainte-Rose at 5/4/2006 8:53:17 AM
Hi,
I use a particular font that doesn't display fine when I use a dynamic text
box but it does when I use a static textbox.
Also, I would like to know how to create a Static Textbox from actionscript
?
Any help ?
Stan
... more >>
Movie clip trouble
Posted by Craigus86 at 5/4/2006 8:30:27 AM
i have 25 movie clips in a grid 5x5, when i click on one it changes colour. I
want to be able to click on one and then drag over the others and have them
change colour. It sounds simple but i can't get it to work. The movie clips are
all duplicated from one movie clip and called Tile1, Tile2, ... more >>
Detecting the end of an imported movie clip
Posted by terjemi at 5/4/2006 6:57:52 AM
Hi!
I have an animation which loads another .swf animation into a movie_clip.
The imported movieclip is started by a button.
I need my animation to start some actions when the imported movieclip reaches
it's last frame.
I know that I can check if (imported_mc._currentframe ==
impor... more >>
Creating Dynamic Text Fields
Posted by Kevin Favro at 5/4/2006 6:50:26 AM
Hey there,
I'm reading in an XML file, and then want to be able to create a list of song
names.
I'm using a function to loop through the XML file and create a text field for
each entry.
Here's my function:
function createMenu(xmlFile,medType,medCat) {
var items = xmlFile.firstChil... more >>
radio button label
Posted by veiky at 5/4/2006 6:34:54 AM
Hi,
I have 3 radiobuttons(radio0,radio1,radio2)on the stage.I am trying to
concatinate name of radio button(i.e. "radio" with value of i)_ with the value
of i and etting error.
I am adding values to radiobutton labels through xml.
This is the code:
function loadRadio():Void
{
... more >>
Path Problem
Posted by meeesta at 5/4/2006 6:27:25 AM
Hello.
I'm having problems with sound in loaded external .swf files.
The main .swf file has a movieclip called 'loadOnMe' which various .swf files
are loaded into.
But when I use attachSound in the external .swf files, the sound does seem to
be picked up, I think it's a path issue.
... more >>
Dynamic Images
Posted by Bhanu Shankar at 5/4/2006 6:20:53 AM
Hi Flash guys,
I am designing a Flash demo for a site. I have used the same images which the
website is using. Now I want these images to change if the website some time
later change the images. How is it possible for me to change the images in SWF
to dynamically change to reflect the same... more >>
bringing a child_mc above its _parent (levels,depths)?
Posted by complexity at 5/4/2006 3:58:15 AM
Could someone please show me how I can do this with actionscript, do I use depths or levels or?
Any help would be appreciated... more >>
Finding trace in a complex project
Posted by complexity at 5/4/2006 3:32:39 AM
Hey all
Could someone tell me how I can do a search of my entire projects actionscript
so that I can find this trace that keeps popping up.
Ive looked through just about every file in my project buy I can find it and
its driving me crazy!
Any help would be great
... more >>
Press a button...
Posted by KillerHurdz at 5/4/2006 3:22:43 AM
Hey, i'm learning flash and was wondering... I want to make it so that when I
click on a certain button, it plays a new music clip. I am trying to do it by
selecting the button I want, then going into behaviors, then +, then Sound,
Play Sound... It then asks for the instance of the audio file... more >>
using setInterval/clearInterval to cycle through visible-invisible
Posted by aa at 5/4/2006 12:23:48 AM
I've got so confused with setInterval/clearInterval that fail to code a very
basic effect.
I need an object to become visible for, say 3 sec, then to become invisible
for 2 sec and so far.
I did three functions:
function objOnAndOff(){
int1=setInterval(objOff,3000);
int2=s... more >>
|