all groups > flash actionscript > january 2005 > threads for thursday january 20
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
troubleshoot play movieclip on rollOver
Posted by BeausMom at 1/20/2005 11:46:29 PM
I'm attempting to have a small movieclip play on mouseover of the email button. Not working. I'll email the .fla to an interested God. Only 99kb. Just include an email address.
Amen... more >>
Setting MC Color Based on XML Data
Posted by BillG-Chicago at 1/20/2005 10:55:34 PM
I'm having trouble setting a movie clip's color from the data as parsed from an
external XML file. This is my code inside the XML.onLoad function:
//retrieve the value from the XML file and assign it to setColor
setColor = this.firstChild.childNodes[1].childNodes[0]
//set the RGB for the m... more >>
cannot access a variable...
Posted by JoeMok at 1/20/2005 9:59:31 PM
loadfile("FieldsOfStudy");
trace(words[0][0]);
function loadfile(game:String){
var file = new LoadVars();
file.load(game+".txt");
file.onData = function(raw){
_root.words = raw.split('\r\n');
for(x=0;x<words.length;x++){
words[x] = words[x].split('=');
}
}
}
wo... more >>
Flash MX2004 and action script
Posted by banzetah at 1/20/2005 9:42:56 PM
I would like to know how to create animated buttons to link to a URL using
actionscript. I have Flash MX 2004 student version. I have the pre MX2004
manual (FlashMX) but I cannot seem to figure it out. Maybe there has been
changes to 2004 that is not written in this older book. Sparkee MO
... more >>
number into ASCII Hex
Posted by GregAtMobileSystems at 1/20/2005 8:57:59 PM
I know ho to convert a number into a hex base number but is there any way of converting to ASCII hex?
Thanks... more >>
Complex Delay
Posted by Joe Childs at 1/20/2005 8:21:53 PM
Hi, I've been working on a user-oriented presentation - that is, the user can
navigate around it at ease (a bit like a webpage). When the user clicks a
button, I have a metal sheet dropping over the text to cover it up, then I want
a delay so the text changes WHEN THE SHEET IS DOWN, then the ... more >>
Help with Array
Posted by TinMonkey at 1/20/2005 8:15:05 PM
I have an array that dynamically holds the address of 10 images. the array is
named images. I need to set up a script so that when i press a button it
changes the path of a loader component i have on stage called pic2 to the next
element in the array and loads it. here is what I am trying so f... more >>
jpg in swf
Posted by stokedjorrit at 1/20/2005 8:13:43 PM
Dear all,
I've created a simple fil right here
http://www.allememaggies.nl/externplaatje/jaaah.swf?titel=hello
"?titel=hello" this is the part were you can control the text!
It's just an swf with a dynamic textfield called "titel" and it works fine
But i want to do this whit an JPG i... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
hit test basic code
Posted by jc05 at 1/20/2005 7:44:26 PM
hi, i am a begginer on flash and i have looked on several flash tutorials to
find this bit of code but cant find what i specifically need.
I have 2 balls, the one on the right moves acroos to go through the 1st ball.
There instance names are ball 1 & ball 2. I need code for when they collid... more >>
Daily Counter
Posted by Happy Camper at 1/20/2005 7:34:48 PM
I need to make a SWF counter that opens on a Mac everytime it's turned on. The
counter should count down by one every day. The Mac startup menu can handle
the rest. I know this is simple, but need to be pointed in the right
direction. Basically a script that counts down by one every 24 hou... more >>
action script help please
Posted by chinese_democracy at 1/20/2005 7:20:52 PM
does anyone have a link to a decent shooting tutorial as i have looked but cannot find one.... more >>
open a centred thml popup with flash
Posted by andrenoel at 1/20/2005 7:08:57 PM
hi, how can I centred a popup called from flash??
I found this javascript that work fine with <a href > (for testing the code to
be sure) but I need that my swf file open it.
here's the code :
<SCRIPT language=javascript>
function PopupCentrer(page,largeur,hauteur,options) {
var to... more >>
problem a java script pop up
Posted by laurent128 at 1/20/2005 6:42:52 PM
Hello everybody...
I ve a flash file and inside one button that must open a pop up image.
On the AS of teh button, i ve this:
on (release) {
getURL
("javascript:window.open('map-anim.html','thewinD','height=617,width=412,toolbar
=no,scrollbars=no')");
}
You can see the swf... more >>
Your so gay
Posted by Shgf at 1/20/2005 6:32:24 PM
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
hhhhhhhhhhhhhhhhhhhhhhhhheeeeeeelooooooooooo
... more >>
Problem with components
Posted by Catungo at 1/20/2005 6:22:21 PM
Hi, i have a MC that holds another MC that simulates a window, this MC has one
close button, the problem is that im trying to put one component in the MC
containing the MC window, but i dont know the reason why when i have the
component there, the close window button doesnt work, the script ... more >>
Problem when changeing to flash 7
Posted by sluap at 1/20/2005 6:09:45 PM
Ok i have recieved a movie and have inported some .flv files via the movie
conponents etc etc to use the video i need to make the movie flash 7 but i have
some code in the movie that will not work in flash 7 can anyone help me see
code bellow
on (keyPress "<Right>") {
nextFrame();
}
... more >>
Change Colour
Posted by seaside693 at 1/20/2005 5:46:37 PM
I'm working in Flash 5 and have created a word search puzzle for online use. I
have created each letter in the puzzle as a movie clip. When a word is found,
on mouse up, I want to have the letter change from white to orange. (For
example, searching for the word "Habit", on clicking on the "Let... more >>
How do I get the last name of one for in loop whithout knowing how many items are in loop?
Posted by Pluda at 1/20/2005 5:43:49 PM
Hello,
I need to find a way to know the name of the last element in one for in loop
to make my function draw a square whith more 7.5 pixels to the right of him
I have
for (k=0; k< myarray.length; k++) {
_root.drawSquare(left, right, top, bottom);
}
If I have 5 items I know that... more >>
Accordion driving me nuts - could someone please help?
Posted by &y at 1/20/2005 5:13:09 PM
Hi, It's taken me the best part of a day to be able to work out how to change
the font size of headers in an Accordion (I couldn't do this for one instance
of an Accordion, but instead had to use setStyle on '_global.styles.Accordion')
Anyway, I have an Accordion on the stage, and have label... more >>
unloading the root?
Posted by IwannaFlashU at 1/20/2005 4:44:16 PM
I started a thread earlier asking if it's possible for flash to detect the
browser window that holds it, being closed. That doesn't look feasible (and I
pretty much knew it when I asked but it doesn't hurt to ask!) Here's what this
is for. We are attempting to make our flash lessons SCORM CE... more >>
TreeComponent - Opening nodes on refresh
Posted by kinetic at 1/20/2005 4:34:03 PM
I am loading a file structure into the tree component...so far so good. My
only problem now is that if a user opens nodes in the structure and uploads a
file, I want to refresh the tree component to get the file structure again, and
then have those same nodes that where open before be opened ... more >>
preloading images
Posted by Dz(00) at 1/20/2005 4:27:27 PM
Hello,
I'm building a site which loads various images from a directory. Is there any way you can preload unviewed images while the user is looking at another part of the site?
Thank you..... more >>
Frame Time Delay
Posted by Pierpoint at 1/20/2005 3:31:03 PM
I'm trying to create a slide-show with photo's but do not want user
intervention in order for the show to progress. Instead I've put each photo
into their own frame and tried to use action script to (for example) delay and
show each frame for 10 seconds each but my actionscript isnt very good.... more >>
control a loaded swf movie
Posted by yntze at 1/20/2005 3:00:22 PM
Recently I've tried to make a flash movie in witch people can a a list of
images and then click on the images to see them bigger, just like so many photo
sites. Because I wanted te make have the list on a single page I used a
scrollbar loader from the components menu. Therein I loaded a flash ... more >>
Multidimensional Array
Posted by FlashAmit at 1/20/2005 2:54:09 PM
My following code is creating multi dimensioanal arrays. An hardcoded statement
is inserting values(can be seen in debugger) but there is some problem with the
dynamic statement. Can you please reformat this line. I am using this to track
the user using shared object. for (var i = 0; i<16; i+... more >>
PHP Email Form
Posted by 665andy at 1/20/2005 2:53:07 PM
Could Someone please help me...
I have the following PHP script to read my actionscript. Can anyone spots any
problems?? The email does send but has no name, sublect or mesage and is from:
"My@mo1.b-one.net <My@mo1.b-one.net>; web@mo1.b-one.net <web@mo1.b-one.net>;
site@mo1.b-one.net <sit... more >>
Detect browser window close?
Posted by IwannaFlashU at 1/20/2005 2:42:42 PM
Is it possible (I'm thinking NO) for a flash app running inside of a browser
window to detect (and if so, intercept) the user closing the browser window
(clicking on the little 'x' button in the top right hand corner)? If so, would
appreciate some insight as to how to do this. thanks
... more >>
Convert string to number
Posted by antewik at 1/20/2005 2:21:11 PM
Hi. I have a variable that is a String and contains a number. Is there any way
to convert that number from String to Number? I have tried to write something
like this, but it didn't work at all. var test:String = '10'; var test2:Number
= eval(test); Does anyone know if there is any solutio... more >>
sp2 problems
Posted by meni56 at 1/20/2005 1:23:14 PM
How can i create a link to zip file from flash in XP2(as you know xp2 has a
popup blocker in default)
I did fscommand but it still block it and show a message to the user and if
the user allow then it open the download msgbox.
... more >>
What other Languages like ActionScript?
Posted by nobody NO[at]SPAM nospam.com at 1/20/2005 1:01:13 PM
How close a relation to JavaScript is AS?
Which progamming lang is it most similar to? PHP?
--
Jerry
... more >>
for Director users
Posted by Cristiano Venturella at 1/20/2005 12:20:38 PM
What is the command similar with "mouse enter" ou "mouse whitin"?
thanks
... more >>
Help please
Posted by nicostorm at 1/20/2005 12:17:32 PM
Hi there, I work as a gallery in the UK and mostly use flash for animation, I
know a limited amount of action scripting, but I have been asked to create an
interactive demonstrating perspective theory in art. We were looking at
creating something where by you would be able to move the vanishin... more >>
right click menu
Posted by _bigR at 1/20/2005 12:13:07 PM
can any one tell me hw 2 creat right click menu in flash have option to open the link in new window ?
Thank U... more >>
Steppy Animation
Posted by _the_traitor at 1/20/2005 12:09:37 PM
Hi
I've got a script applied to a Movie Clip called "Content" using a
ClipEvent(load). It is called by another script to move the "Content" MC
across the stage. This MC is 1200px wide and is masked to 490px width. The
motion is quite jumpy and using 100% of the processor to do it.
Ca... more >>
XML/ActionScript Help pleeeeeeese.....
Posted by DCTHEMAN at 1/20/2005 11:36:10 AM
Hi I'm working on a Flash eLearning project that dynamically loads content from
an XML file. As you can see from the example below the root node is the <sco>
tag followed by the <topics> tag and then we have a number (variable depending
on the size of the course), of <topic> tags.These conta... more >>
Problem with email submit button
Posted by BykerGrove at 1/20/2005 11:33:27 AM
Hi I have a 'submit' button with the following code: on (release) { if (name
eq '' or email eq '' or number eq '') { gotoAndPlay('Error'); } else {
loadVariablesNum('form.php', 0, 'POST'); gotoAndPlay(2); } } So basically if
the user has left a txt box empty, i want flash to jump to the ... more >>
Shared Object - Test for loaded?
Posted by Lon S. Winters at 1/20/2005 11:32:41 AM
I have a simple slideshow that sets a counter on the last slide viewed. I
want to use the SO to keep track of that so the next time the user opens the
site, the slide show will begin with the next slide in sequence.
I've tested the code to just display the variable in a text box. For the
... more >>
Controlling HTML background colour from flash
Posted by HenryPr at 1/20/2005 11:25:03 AM
Does anybody know a way to alter the background colour of the HTML page a flash
movie is embeded in from a script in flash? e.g. A movie opens with movieClip A
on the stage and the HTML's background colour is white. when movieClip B loads
the background colour becomes black.
... more >>
MovieClip property for framerate ?
Posted by kgui at 1/20/2005 11:24:59 AM
Is there a (undocumented) MovieClip property to change the default movie framerate?
I download external movieClips, and I want to manipulate the framerates of those clips, from slow to max.
Pieter... more >>
Menu beside a image
Posted by Cristiano Venturella at 1/20/2005 10:47:43 AM
I need a help here....
I have a list of names that is the menu of my site. I want to move the mouse
in this menu, and in each word I want to show an image beside the menu in
the horizontal position.
Someone have an example of this? Or a tutorial?
thanks
... more >>
External swf is stuck or...well quick
Posted by greanman at 1/20/2005 10:21:54 AM
Real sorry if this is a reoccuring question but I'm new to ActioonSripting and
having translating archive responses to similar problems into my problem. I am
trying to get external swf files to load into a target movieclip in a main
movie. All files feature a simple preloader in the first 3 f... more >>
can we set a new class to the textfields?
Posted by JoeMok at 1/20/2005 10:17:11 AM
can we set a new class, for example "NewTextField", to the textfields which are created by createtextfield():?... more >>
CSV in Flash
Posted by Rai_Kane33 at 1/20/2005 10:11:23 AM
I have on my main timeline 5 text boxes each labled, ie 1. is stock code 2. is
description these are the names in my CSV followed by the actual data, if that
makes sence... . however its only showing one line/record when I publish it I
don't want this I want it to show several lines so the n... more >>
delay gotoAndStop() action
Posted by noiff at 1/20/2005 9:25:28 AM
Anyone know how I can delay my movie (for a certain amount of seconds) from playing an action?
Thank you.
F... more >>
Link External File
Posted by Cristiano Venturella at 1/20/2005 9:15:58 AM
Is it possible to have link to an external JPG file in a Flash movie?
My ideia is to only update the external files.
thanks
... more >>
using hit test with last index of
Posted by azurepenguin at 1/20/2005 8:35:54 AM
hello, i'm trying to get my current flash project to the stage where i can
drag an object around (accomplished) and when it goes over certain objects it
traces something to the output window. The plan is that the below code, when
placed in my movie clip, should mean whenever this clip passes... more >>
referring to variable contents
Posted by azurepenguin at 1/20/2005 8:21:10 AM
how can i make actionscript use the variable contents instead of the variable
name? for example, if i type duplicateMovieClip(circle, (_root.newname), 1);
and have it adding one to the value of _root.newname each time, it can't copy
it more than once because for some ungodly reason its decided... more >>
newbiee question
Posted by datajoe at 1/20/2005 7:01:57 AM
Hi, ya'll Im rather new at this , but in going thru the Help tutorials I ran
accros this code... function Product (id:Number, prodName:Name, price:Number){
this.id:Number = id; this.prodName:String = prodName; this.price:Number
= price; } Shouldn't the Function Parameter be: prodName... more >>
Quesion about the Flash plugin & Cached swfs
Posted by GmR at 1/20/2005 2:57:28 AM
(Running Win XP ...)
I am having a hard time finding the Flash plugin - I want to test a site by
unistalling it. Wherer is it located. It is not under IE's plugin directory.
Also, where are swf files cached when partially loaded (i.e., an incomplete
file)? They don't appear to be in th... more >>
What can cause a swf to stop loading?
Posted by GmR at 1/20/2005 2:49:25 AM
My swf loads fine on a broadband connection (approx3mb), but stops loading on
dial-up at about 600k. I can't figure out why. Even if it can't find a
particular variable, would that cause it to stop loading?
Geoff
... more >>
Macromedia - on demand ??
Posted by mandingo at 1/20/2005 1:28:43 AM
Okay, very simple question as the title suggests.
On Macromedia's on demand home page, there is a Seminars panel (and a Modules)
panel... Is this using dataGrid?
Previously I have custom built my tables and haven't utilised dataGrid but now
have a project where this seems helpful...
... more >>
Link in text file?
Posted by tifang at 1/20/2005 1:02:29 AM
:confused;
Hi! Anyone know how I could make some of the data I retrieve from .txt into
link? I know flash can support some of the tags like <br>, <b>.... how about
<a>? I tried that but nothing happens. Thank you.
... more >>
Combo box
Posted by Augman at 1/20/2005 1:00:31 AM
Just trying to set up combo box for list of links. Not sure where to begin to set the actions to get url for items in list. Any help appreciated.
cheers! :beer;... more >>
creating hyperlinks in flash
Posted by john_dough at 1/20/2005 12:54:16 AM
ok, I am brand new to actionscript... I am pretty sure I need to use action
script to create external hyperlinks (or even to jump to other movieclips),
dont I? Or can I do this with the Flash MX regular tools? (ie; the mouse)
I look into the 'add new item to the script' menu and get lost... ... more >>
XML Load fails... sometimes... in IE
Posted by indigirl at 1/20/2005 12:40:02 AM
I'm working on a solar panel monitoring page that loads data from an XML feed
both on a specified interval and on demand.
The system is set to initially load a view of the current day's data. It will
reload this daily view after 60 seconds, or a specified amount of time after
loading a di... more >>
Reading XML Data
Posted by BillG-Chicago at 1/20/2005 12:38:51 AM
I'm having trouble parsing XML content. In it's easiest formulation, my code is:
myDoc = newXML('<H1>first heading</H1><P>content</P>');
trace (myDoc.firstChild.firstChild);
The Ouput window shows "undefined." Any idea what I'm doing wrong? It's
probably something very stupid...Thanks a ... more >>
Scroll Pane problem
Posted by Lucy4 at 1/20/2005 12:25:41 AM
I'm having a real problem with a scroll pane that I've got. I used Flash's own
scroll pane and have it scrolling a movie clip I created. The problem is that
the scroll pane starts at the top of the movie clip. I want to set the start
position so that the middle is the default and that the user... more >>
detecting onRollOut while mouse button pressed
Posted by Roy Starkey at 1/20/2005 12:12:35 AM
How do you detect when the pointer is no longer over a movie if the mouse
button is pressed? I'm using a movie clip as a button by setting the
onRollOver and on RollOutEvents. This works fine unless the mouse is
pressed while over the movie and then released while outside. I thought
this woul... more >>
dynamic text linking?
Posted by JF213 at 1/20/2005 12:07:44 AM
I set up a dynamic text so that when I click a thumbnail my dtext changes....I
was wondering if there is a way to set up a web link that is set up to go to a
wepage inside of each dtext.
for example:
dtext.text = "www.aaa.com" want a script so when I click I go to www.aaa.com
dtext.t... more >>
|