all groups > flash actionscript > january 2005 > threads for friday january 28
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
mouse present = instance
Posted by visualstylee at 1/28/2005 11:31:09 PM
ok i have a navigation type box.
it has 9 buttons/links
under it there's an MC that has a fade in fade out effect stoped on 1 and
stoped before the fade out.
i'm wandering if ther's anyway to control an MC with the mouse being present
on the movie, ok so...
if (mouse is on the movi... more >>
Loading XML from password protected url?
Posted by Kosso at 1/28/2005 11:30:24 PM
hi. I've had plenty of experience with loadin g xml to creat stuff, but I seem
to have hit a problem with password protected xml. I ultimately do a load xml
on http://username:password@www.thesecurebitofhtesite.com/securebit/myfile.xml
but it always throws and error, when publishing in FMX2... more >>
referencing a variable from a string + variable
Posted by Mike7222 at 1/28/2005 11:12:08 PM
Hope I can explain this clearly.
I have an array with 3 elements. I also have 3 variables , one for each of
the elements.
I am seacrhing the array for the index number of one of the variables, in this
case it is "blue"
I then want to update the poscorrect variable that is associated wit... more >>
First Person Shotter help
Posted by Spartan_ 117 at 1/28/2005 10:36:41 PM
I have been learning action scripting with tutorials for a few days my friend
taught ne how to make a counter in the corner when i click it decresses but
when the clip read zero i can still shoot kills stuff and gain points so i need
some help
Thanx
Spartan_177
... more >>
Popup window a specific size in Flash...
Posted by ba-doyn at 1/28/2005 10:14:58 PM
I need to have a new window popup with a URL that I specirfy, to a specific
size, say 600x400. I can get it to popup the window with the _blank in the
getURL statement, but I can't seem to have it resize to the specific size. I
have searched the forum and tried various actionscript/javascri... more >>
Sound and GetURL
Posted by M&M2005 at 1/28/2005 10:08:42 PM
I am using the GetURL command on a back button to open a HTML file with a named
anchor. I also added the StopAllSounds command and it's not working. Does
anyone know why? It's driving me nuts!
Here's the code I'm using:
on (release) {
stopAllSounds();
getURL("javascript:window.... more >>
my preloader works but..
Posted by garroyo at 1/28/2005 9:49:19 PM
The web site I am building has a preloader in the beginning when loading the
home page body. It also has a preloader when it loads the Contact page. Both
of these work perfectly. But when I use the exact same preloader to load my
Virtual Tour page, the percentage loaded and status bar doesn... more >>
Flipping Horizontal/Scaling
Posted by sisterdavidmarie at 1/28/2005 9:48:09 PM
I'm trying to build a photo editing tool, in it you can zoom in and out, move
the picture around, rotate the picture and flip it around.
I use _xscale and _yscale to do the flipping, but if i then go to scale
it...the movie gets reset back to its original orientation (i'm only using the
_... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Loader works, buttons broke!
Posted by Tim Kline at 1/28/2005 9:30:33 PM
ok basically, I made a flash movie with some buttons (the MX 04 component
buttons) and it all worked great. Then I decided I wanted a progress bar
component, so I set that up exactly the way the example in the help files
showed using the loader component and putting the URL in .. that works gr... more >>
TextArea scrollbar problem with text and images
Posted by amy123 at 1/28/2005 9:06:13 PM
I am loading an external XML file (with html formatting) into a TextArea
component to display content (html formatted text and images) inside Flash. It
works fine, except when I have a large image and a small amount of text (e.g
one sentence followed by a large image, with no text after the i... more >>
sound-looping
Posted by flipper 86 at 1/28/2005 7:36:19 PM
Hi. Here's the deal. I've got a music (5 seconds) that plays (looping) when the
page is opened and play-stop buttons. It works perfectly. The problem is, when
that short clip comes to end it makes a short pause before playing (looping)
again. How can I get rid of this so it looks like it's pla... more >>
Calculating number of screens when dynamically importing external content
Posted by Chris Cole at 1/28/2005 6:51:43 PM
Flash 2004 MX Professional - building a slides (screen) -based application...
In file 1, I have three placeholder slides, A, B, and C. All three placeholder
slides' content paths point to swf's that contain 5 slides each. So at runtime
my file would have a total of 18 slides: A, B, C, plus ... more >>
XML formatting pain
Posted by Anth2003 at 1/28/2005 6:23:11 PM
I am loading a bunch of text from an XML file into my movie. No matter how I
format the punctuation it either scrambles the file or appears as HMTL encoding
ie. "'" or "'". I have tried character codes of various types I have tried
setting the encoding to various things (at the moment its... more >>
Manipulating lists of items
Posted by Chris Cole at 1/28/2005 6:20:30 PM
Using ActionScript 2.0, how can I manipulate a list of items? For example,
var vList = ("mary,sue,bob")
I am looking to do the equivalent of:
push "sally" onto end of vList
and
pop item 1 of vList
Is there an equivalent in ActionScript?
Thanks.
Chris
... more >>
General Concepts of Variable, Function and MovieClip Scoping
Posted by kbrandon at 1/28/2005 6:18:25 PM
My vulnerable assumption is that ActionScript Scope Chaining operates in a
similar manner to JavaScript from which it is based (Exceptions included
below). If correct the unresolved variables and functions at the current level
should proceed to the Parent. However Example 1 appears to invalid... more >>
new Color(variables)
Posted by vandenI3urg at 1/28/2005 6:08:54 PM
Is this possible?
endResult and bgColorResult are string variables, can I use these strings to
represent mc instance names on the _root?
winColor = new Color(endResult);
if (bgColorResult=="team1") {
}
The strings are being created so they are the same (output) as if I were... more >>
Loading external SWF, play specific label . . .
Posted by danthewebguy at 1/28/2005 4:42:13 PM
Here's my site layout (multiple swf's):
1.Main.swf - Has 4 main navigation buttons with tracking - loads 4 seperate
external swf files into an "emptyMC"
a.Movie1
1."emptyMC" on main timeline which has multiple labels with content in each
b.Movie2
1."emptyMC" on main timeline which ... more >>
local shared object
Posted by Simon Hooper at 1/28/2005 4:29:09 PM
The following code creates a local shared object, and the code works:
var so:SharedObject = SharedObject.getLocal("fool");
so.data.test = "xxx";
myButton.onPress = function() {
myData = so.data.test;
};
I can't find the file containing my local shared object. I've search
everywhere on m... more >>
When URL is set, dissappear action stops
Posted by Peepoe at 1/28/2005 4:18:56 PM
Hi, I have a button that has the following action on it: on (rollOver) {
gotoAndPlay(2); } on (rollOut) { gotoAndPlay(16); } on (release) {
_root.pressed_link = 2; _root.gotoAndPlay('dissappear'); } When I try to link
to the URL by using: on (release) { getURL('a_About.htm', '_self'); } ... more >>
How do I create a
Posted by dodds at 1/28/2005 4:18:48 PM
We need our students to take a survey. There would be two answers to choose
from, an (a) or (b) radio button to click on, they would choose only one,
neither is right or wrong. I would then like the clicked radio button to be
complied into two columns. All of the (a)'s selected by the stud... more >>
x y co-ordinates
Posted by Mike7222 at 1/28/2005 3:59:48 PM
Hi,
This is doing my head in!
I have a main mc filled with 16 square objects named pos1 - 16. I have
created variables to represent their x and y positions.
Later in the clip I want to attach a new MC and have it sit on one of the
square (depending on certain criteria which square it ... more >>
Using Browser's Back Button in Flash Movie
Posted by pucku1916 at 1/28/2005 3:40:55 PM
I am trying to enable the browser's back button to control my fully flash site.
There is a way to do it, but I don't understand AS too well...that's the
problem. Here is a link to one of the people who figured it out.
http://www.actionscripts.org/tutorials/intermediate/Enabling_a_back_butto... more >>
Preloader does not show until 82%
Posted by logeye at 1/28/2005 3:36:28 PM
PROBLEM:
The single frame preloader does not start until 82%.
BACKGROUND:
I have a single frame preloader in frame 1 of a 6 frame SWF that is the
navigation container for other SWFs. I have removed ALL action script and ALL
graphics that I can find from frame 1 but the size report... more >>
Sorting cuepoints
Posted by Jovvan at 1/28/2005 2:58:25 PM
Hi! First of all I?m a complete beginner in Flash so this might be a really
silly question, but here it comes...
Is there a way of sorting cuepoints by time? I?m adding a new cuepoint at
runtime and then I want to sort all the cuepoints, including the new one, by
time. The only thing I?ve ma... more >>
newbie AS question
Posted by tmim16 at 1/28/2005 2:56:27 PM
Hi Guys, I am a novice when it comes to Flash. I have someone who wants me to
create a Flash file as a presentation and do some things I'm not sure how to
do. There are going to be about 25 buttons on the first frame. I want to make
it so when someone clicks on one of the buttons it fades al... more >>
Searching an array
Posted by Mike7222 at 1/28/2005 2:50:46 PM
Hi,
is there any way I can search an array for a value, and then have it return
the index number of where that value resides in the array.
for example, say I have this array:
var colors = ["red"], ["blue"], ["green"];
Say I need to find the index of element "blue" and have the value... more >>
Chaining Events or Grouped Object Events
Posted by rge99 at 1/28/2005 1:52:24 PM
I am sure this is basic but, I have not been able to find this anywhere or
figure it out. If I have a movie clip which contains a button object. If I
etup and event handler for onRollOut of the clip, the events for the button are
hidden. How do I create composite clips in which I can track ... more >>
dynamic mc
Posted by JF213 at 1/28/2005 1:49:10 PM
I am trying to use the same code that I have that loads and transitions an
externally linked jpg, to now control movie clips in my project. can you tell
me what is wrong with this code?
thanks
this.createEmptyMovieClip("preloader", 1000);
container._x = 506;
container._y = 2... more >>
Loading one by one
Posted by Rapha-Y2 at 1/28/2005 12:21:27 PM
Hi, I'm trying to create a menu like this site http://www.collider.com.au.
Thanx
Raphael... more >>
Shared object causing crash
Posted by norbit at 1/28/2005 11:33:55 AM
var my_so:SharedObject = SharedObject.getLocal('foo','/'); my_so.data.favs =
this.__favourites; my_so.flush(); the above is the code i have had to comment
out of my code at present - this code is used to store the users favourite
selections, this.__favoutires is a 2D array of items with item ... more >>
Please help with this one
Posted by Egui at 1/28/2005 11:19:20 AM
Hi guys I have a v2 Text Componet on a website with some text defined inside
the AS of the movie.. Its prettyl long text. When connected to a 56K or less
connection the text takes some time to appear in the TextArea component. Is
there a way to add some text that says 'Now loading ...please w... more >>
Loader.progress event doesn't fire
Posted by kleptomac at 1/28/2005 11:13:51 AM
I am using the loader component to load external .swf files into a base file.
In its progress event, I am trying to track the percent loaded. The code is as
below: loaderListener = new Object(); loaderListener.progress =
function(evtObj) { loadPercent_txt.text = 'loading...
'+Math.roun... more >>
Open local htm file
Posted by anon at 1/28/2005 10:28:01 AM
On release of a button, how can i open the local file test.htm?
... more >>
window component
Posted by Lex Luthor at 1/28/2005 9:57:27 AM
hi, window component of macromedia is fat.. where i can find a better window
component ?
... more >>
Managing large XML in Flash
Posted by rhythmofrain at 1/28/2005 9:28:32 AM
I am loading many large xml files in my appliaction. Then I need to display the
result in flash relating the different xml on the basis of some common node,
like we use SQL queries to get result from different tables.
Currently i am loding the xml files, storing the nodeValues in arrays an... more >>
Dimensions of a loaded bitmap?
Posted by pauland at 1/28/2005 8:28:32 AM
I want to find the dimensions of a loaded bitmap. I have a small piece of
actionscript that I'm trying to use to work out the width of a bitmap loaded
into a masterclip, but I can't get it to work and can't see why not. Below is
a test example. In the first part of the code I load the bitmap... more >>
DataGrid and Row color
Posted by Mark Pusateri at 1/28/2005 7:01:43 AM
I see there's a way to add color to an entire column but is there a way to
add color to a row. In my case each row is a line of data separated by,
project owner | project name | date | etc. How can I give each "Owner" a
different color row? So all rows relating to Jim's project is Blue and
Su... more >>
LoadVars.send will not post varialbes to http:url
Posted by complexity at 1/28/2005 6:24:45 AM
Hey all, Just trying to post some varialbes to an ASP server side script but I
just cant get the variables into the http url. This is my function. function
submitForm () { myVars = new LoadVars(); myVars.vyour myVars.vfriend
myVars.vmessage myVars.send('http://localhost/email_sender.... more >>
How To : Flash Button that downloads file
Posted by BUroKHUli at 1/28/2005 5:24:31 AM
Hello, How do you do the AS for this one? I want that my button, when clicked,
downloads an external file. I tried to use the AS on (release) {
getURL('download/map.pdf'); } It works that way, but I want that when clicked,
it will prompt the user to DOWNLOAD or OPEN the file. Thanks
... more >>
control streaming mp3
Posted by flashfloozie at 1/28/2005 5:14:38 AM
How can I code a button to stop a sound that's loaded by the stream mp3
behavior? I'm using mx 04 pro. been trying for quite a while. no luck. I can
stoo the sound if I load it differently but not if I stream it. dont want to
stop all sounds either.
... more >>
LoadVars
Posted by jim_pilot at 1/28/2005 2:16:15 AM
I need some advice please. I am learning how to use 'loadVars' and have
constructed a small fla/swf file that permits the loading of movie clips into
'empty' movie clips. The sequence starts with a 'loading assets' (preloader),
which flows to a sort of home page with various menu options. The... more >>
PopUpManager Linkage Problem
Posted by jlamberes at 1/28/2005 1:26:12 AM
Maybe I am missing something but...
If I use the PopUpManager to call the Window UI Component, it only accepts
Linkage names for movies that are in the _root folder. In other words, I cannot
have content to linakages in upper level movies - PopUpManager looks only at
the "Linkage" names i... more >>
Disappearing Movie Clip
Posted by flying whippet at 1/28/2005 12:42:21 AM
Hi all, I was wondering whether anyone could shead some light on this problem,
here goes - I'm currently trying to load some external jpg's into a moveclip
using the MovieClipLoader, but whenever I try to add an instance name to the
movie clip that I want to load the jpg's into it disappears... more >>
|