all groups > flash actionscript > july 2004 > threads for wednesday july 14
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
need help to edit some dowloaded AS
Posted by azhar at 7/14/2004 11:32:14 PM
I'm trying to edit a navigation buttons, developed by -mankind-, downloaded
from Flashkit. But the AS is too advance for me.
How the nav works:
click and drag anywhere on the white area and buttons spin.
What i'm trying to do:
to confine/limit the click and drag area to a define space only.... more >>
Passing variable through PHP, caching issues?
Posted by xamaex at 7/14/2004 11:21:42 PM
Hey folks, so I'm performing some tests to see if I can get my flash navigation
in frame a to control html in frame b and vice versa. The "vice versa" is the
tricky part. With the very gracious help of a fellow forum user, I was able to
script my flash file to accept PHP variables onload.
... more >>
Actionscript newbie question
Posted by eshipman at 7/14/2004 10:02:08 PM
I have this actionscript and need to know what the result would be.
{use http://www.mysite.com for baseURL }
dataFile = baseURL + "page/year_" + today.substring(0, 4) + "/month_" +
today.substring(4, 6) + "/day_" + today.substring(6, 8) + "/board.xml";
... more >>
Loading Movie Progress Bar
Posted by meeesta at 7/14/2004 10:00:58 PM
I've got a main movie loads in a series of other images (jpegs) and .swf movies
using 'myMovieClip.loadMovie("url")... my problem is some of these additional
movies and images would benefit from a loading bar.. I know how to do one for
the main movie when it loads..
percent = Math.floor(_r... more >>
is this some kind of bug or what?
Posted by Erzek at 7/14/2004 9:52:03 PM
Hi,
I have 4 dynamic textfields for gender,age,weight,height and another field to
display a calculation for those fields.
I want to update the value (calculation) on-the-fly without pressing a "see
result" button, for that purpose I made some listeners to check if the field
has changed... more >>
can actionscript interact with C or C++
Posted by miroo at 7/14/2004 9:26:30 PM
can actionscript interact with C or C++ is there some good page on that???
Thanks for solutions.
... more >>
Discussion.........
Posted by Geno at 7/14/2004 9:26:25 PM
Hello Group,
I have just finished a discussion board with a wide variety of application
discussions on it.
There is not much traffic right now but I hope that you guys will use it.
Some of the discussions are Cold Fusion, ASPX, C#, SQL, Oracle, Stuff at the
work place etc.
I have posted a ... more >>
Movie-clip Attachment AS problems
Posted by IAMPsycho at 7/14/2004 9:24:04 PM
http://69.61.16.201/forums/district-map.html
There is the flash file I'm working on.
When the red button is pressed the districts should fade in. I'm using the
following AS on the red button:
on(press)
{
//da1 - DistrictAttachment1, d1 - Linked value from symbol library
da1.attachMov... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
NetStream.onStatus not working on Mac
Posted by flash_vids at 7/14/2004 9:09:16 PM
I'm using the script below to detect the end of an external FLV being played
via the NetStream object:
ns.onStatus = function(infoObject) {
if (infoObject.code == "NetStream.Play.Stop") {
_root.gotoAndStop("someFrame");
}
}
On Windows using IE 6, everything work... more >>
how to build dynamic variable names in loop
Posted by John Rock at 7/14/2004 8:29:43 PM
Hi,
I have N instances that are named "variable1, variable2, variable3, etc..".
How can I refrence them in a loop, like :
for (var i=0; i<N; i++)
{
variable.text = "this is variable" + i;
}
thanks.
... more >>
how'd they do that?
Posted by klick at 7/14/2004 8:10:26 PM
I have been trying to figure out the bottom menu system of the following
website. It is under featured work. Any input would be of great help. It is
at the bottom of the page in lime green. http://www.theniceagency.com/main.html
... more >>
Menu Rollout Help
Posted by Nim Chimpsky at 7/14/2004 6:42:18 PM
Dear Friends,
I'm a noob to flash, but like to think I'm learning quickly...
Anyways, I'm building a menu that has rollout beheviour. The problem is that
if you hit the menu beside this menu, the second menu starts before the first
menu has "rolled out" how do I work around this.... It... more >>
local connection - first timer
Posted by Jean9 at 7/14/2004 6:40:32 PM
ok, the code is below. I'm getting error messages though on the code in the
recieving swf.
on click, i want the demo02.htm to play at Scene "Layout03", Frame "07More".
Receiving swf:
lc = new LocalConnection();
lc.gotoF = function("07More") {
gotoAndPlay("07More");
}
lc.conne... more >>
MenuBar Menu Appears Behind Other Loaded Movies
Posted by Kenny at 7/14/2004 6:36:30 PM
I have a flash file that builds a menubar based off an XML file, and
then loads different movies as the user selects different options from
the menu.
The external movie is being loaded using a loadMovie() and a target
movie to replace is being specified.
Due to the bug in Flash MX Pro 20... more >>
dynamic word color in external text files
Posted by Pete Walsh at 7/14/2004 6:34:38 PM
I have a large number of external text files that get randomly pulled
into one html text field. e.g. on each load a different text file is
pulled in.
These are quotes where typically one or two words are highlighted (in a
different color to the color set for the text box) to emphasize meani... more >>
Actionscript 2.0/Flash Player 7.0 faster? how so?
Posted by jim harris at 7/14/2004 5:24:07 PM
hi all
I seem to recall that macromedia claim MX2004 content is 'faster' than other
versions, I assume this means
[1] Actionscript 2.0 only
[2] Under Flash Player 7.x only
?
what is the scope of this speed increase and has anyone found a significant
increase in performance when port... more >>
Making a dynamic #include statement
Posted by clem_c_rock at 7/14/2004 5:22:40 PM
Hello,
I'm trying to find a way to make a dynamic include statement that would
look something like this:
#include "../../uploaded_clips/" + file_name
Of course when I try this method I get the malformed included statement error.
Any ideas?
Thanks,
Clem C
... more >>
unloadMovie - Error Opening URL?
Posted by Leo D. at 7/14/2004 5:20:04 PM
using loadMovie to laod an swf into a target. No prblem.
Have button in loaded clip with script to navigate to a frame label :
on (release) {_root.gotoAndPlay("hazard");}
No problemo.
Have unloadMovie as a frame script on main timeline.
Unloads OK and navigation is fine.
Get ... more >>
resize image
Posted by davidrule at 7/14/2004 5:17:29 PM
Hi,
Since I could not find the answer, I am posting this again. Plese help!
I have put a movie clip (mycar) on my document. After the movie clip is
loaded, I want to change the image inside the movie clip:
mycar.onLoad=function()
{
mycar.loadMovie("new.jpg");
mycar._height=402.5;
my... more >>
mc._visible help needed, should be simple
Posted by bigflannel at 7/14/2004 5:06:08 PM
I have attached a zipped .fla that has a single movie clip in it. I attempt in
the fla to set the movie clip visibility to false, but it does not seem to
work, The movie clip does not disappear from the stage and the debugger says it
is still visible. I'm not sure why this is not working. The ... more >>
Music Metronome - how to make it click at X beats per minutes
Posted by sutherland NO[at]SPAM music-lives.com at 7/14/2004 4:55:40 PM
Greetings;
I am working on 2 small music projects.
The first is a Music Metronome. A Metronome is a device that ticks
according to the number of beats that the user specifies. For example,
a user may specify any where from 40 beats per minute to 300 beats per
minutes.
I'll use simple b... more >>
Custom KeyPress event
Posted by eparks11 at 7/14/2004 4:51:37 PM
When the F1 key is pressed I want it to load a movie into a new level; I can do
it when using one of the pre assigned keys such as the UP key, but not with the
F1 or any other custom key. How can this be done?
This works:
on (keyPress "<HOME>") {
loadMovieNum("Support/etcHelp.swf", 55);... more >>
loadMovie( JPG ) - Not displaying correct size?
Posted by jjstacks at 7/14/2004 4:31:21 PM
I have a movie clip who's size is.
movieclip._height - 172
movieclip._width - 264
when I do run the command
movieclip.loadMovie("path to JPG FILE");
it loads the image in to the movie clip fine, except then I go get the movie
clip's _height & _width the size is still the same as the o... more >>
can't play external MP3 files w/ ZoneAlarm active
Posted by Dir2Flash at 7/14/2004 4:00:17 PM
I am having a problem playing external MP3 sounds when ZoneAlarm is active
(Flash Player 6 or 7). Below is the code I used to establish the sound object
and load the MP3 file (in this case, the file is "multi4.mp3"):
_global.multi4 = new Sound(this);
multi4.loadSound("multi4.mp3");
Whe... more >>
Interface definition VS. Class Implementation
Posted by bobpf at 7/14/2004 3:41:55 PM
I am a Java developer and understand Interfaces, their power, and how to
implement them, but my question is I want to have an interface that includes a
setter as so:
interface com.foo.bar.MyInterface{
public function set myMethod(aString:String):Void;
public function someOtherMet... more >>
getURL, go to specific scene
Posted by Jean9 at 7/14/2004 3:24:55 PM
any idea how to go from one swf to a specific scene in another swf?
below is the code to go from swf to swf, but the new swf starts with scene
one. i want it to start with scene 2.
on (release) {
getURL("demo02.htm", "_self");
}
... more >>
problem with loops within an if statement
Posted by AttackingPencil at 7/14/2004 2:49:45 PM
I'm having a problem with loops within an if statement. I'm duplicating a
number of movie clips for what basically amounts to a menu/list and so i
thought the best way was to use three seperate for loops, one for each column,
the problem is that whenever I load up the movie it only runs the t... more >>
Pausing timeline using setInterval
Posted by eDubs at 7/14/2004 2:30:16 PM
I have read some posts about using setInterval and believe that this could be
the solution to my problem. I simply want to pause my timeline with
Actionscript so that I can have something hold for 15 seconds without actually
having it sit on the timeline for a bunch of frames. Would I need an ... more >>
Loading additional .swf and .jpeg files
Posted by meeesta at 7/14/2004 2:04:48 PM
I'm creating a navigational system, which reads from an array.
In the array are locations of addtional .swf and jpeg files, these files are
then loaded into a series of duplicated movie-clips to form a menu system.
My problem is keeping track of the loading files. Ideally I'd like to able ... more >>
loadmovie not working right on dial up
Posted by razorpoint NO[at]SPAM hotmail.com at 7/14/2004 2:01:23 PM
i have a site in flash that is made up of different .swf files.
the main.swf holds the navigation,background, and a "dropzone" for the
loadmovie command to work.
for example one button on the navigation will say
on (release) {
loadMovie("ecommerce.swf", "_root.dropzone");
}
now, ev... more >>
XML memory leak
Posted by real_khales at 7/14/2004 1:23:32 PM
Hi,
I'm working on a client-server application that uses a XML-protocol via HTTP
and experienced a continuously growig memory usage.
I tracked this down to the attached test sample code.
Using this example with a 24kB xml file the memory usage grows up by 1MB per
second and seems not t... more >>
pause button works in frame 1 but not frame 2
Posted by swickes at 7/14/2004 1:04:06 PM
Dear Forum,
After reading many posts, I have created some simple actionscript to
play/pause/stop a streaming mp3. My only problem is that the pause button,
which sits in frame 2 will not recognize that it it was pressed. Your help will
be appreciated! ( The play button in frame 1 is replac... more >>
Passing variables with loadMovie?
Posted by SaR2 at 7/14/2004 12:41:36 PM
Is there a way to pass a variable/value from one .swf to another when using
the loadMovie function?
Thanks!
... more >>
How can I change the action panel mode
Posted by tonyzohari at 7/14/2004 12:16:07 PM
How can I change the action panel mode in in Flash MX 2004 Pro? (from Advance to Normal)... more >>
extending TextArea & Label & TextInput |as2_UIcomp
Posted by wadearnold at 7/14/2004 10:49:44 AM
Has anyone on this list extended mx.core.TextArea or mx.controls.Label or
mx.controls.TextInput
I have extended almost every other component but those two do not work when
properly extended. Or post your as file.
Please PM or email me if you have done this. wade at wadearnold dot com
T... more >>
targeting outside a .swf file
Posted by BLAIR Direct at 7/14/2004 9:56:39 AM
HI all, I have built a list of text buttons and each button has a 'get url'
action assigned to it. I have placed the list (which is now exported as a
..swf file) into the right hand frame of a Dreamweaver frameset so that when a
visitor clicks on the relevant text a new frame appears in the... more >>
Flash Components freeze the Player
Posted by crus at 7/14/2004 9:54:00 AM
Hello everyone.
I am developing a multiplayer Backgammon game in Flash MX 2004 Professional.
Among other stuff, it features a lobby, where people can meet and chat. For the
chat window I am using the TextArea component. Also, The interface has some
options and preferences for the user to c... more >>
quiz tutorial
Posted by willx at 7/14/2004 9:30:25 AM
i'm trying to make a simple flash quiz application; the user is asked a
question and responds by selecting the answer from a combo box, a submit button
is then clicked, actionscript then checks to see if the answer is correct and
then moves up the timeline and displays the appropriate message... more >>
Dynamic Menu - Button Organization
Posted by RobbieSoule at 7/14/2004 8:32:48 AM
Hello!
I am trying to create a dynamic menu where the user can select which buttons
are present in the menu by way of an external .txt file. I'm almost there,
but I need some help getting the buttons to line up as intended.
There are 9 total buttons. My .txt files says this;
&menuButto... more >>
Event Dispatcher
Posted by dazlee at 7/14/2004 8:28:52 AM
Hey, :) im working on a component but i cant get the event dispatcher to work,
ive made it work many times before in a class but for some reason in the
component i cant get it to work, i dont realy wana make it a UI component etc
tho
can anyone help me? :)
files attached :)
AS comp... more >>
what is #b
Posted by Teji at 7/14/2004 8:19:31 AM
hi, i m unadble to understand the use of #b, if i draw a
simple box on stage, and put #b as frame label then wt does
it do ??
please help... more >>
Load russian symbols by LoadVar()
Posted by victor-ddt at 7/14/2004 7:51:37 AM
I try to load russian symbols by LoadVar(). I get "????????" but not russian
symbols.
lv = new LoadVar();
lv.load("1.txt");
trace(lv.text);
Result: ????
1.txt:
text=???
How can I load russian symbols?
... more >>
How to limit the movement of the object
Posted by hahapepo at 7/14/2004 7:34:15 AM
How to limit the movement of the object??
Such as I'm not allow a small circle go outside two coordinate.
Or not allow a small circle go outside another object(triangle shape)
Anyone have idea??... more >>
multiple name-value pairs
Posted by AshwiniD at 7/14/2004 7:20:21 AM
Hi. this must be fairly simple but I'm not getting how to do it.
I'm loading a text file containing multiple name-value pairs like -
word1=---&word2=--- etc. I want to read these values in flash. I've written
following code (see attached code). but there is some problem with
wordVars.["word... more >>
[Commercial] - Wanted Flash designers / Actionscript programmers
Posted by rs2130 NO[at]SPAM yahoo.com at 7/14/2004 5:42:33 AM
We are seeking Flash designers/Actionscript programmers for
full-time/part-time postions.
Visit company website www.intellecteon.com
Contact by e-mail.
Thanks
Raghav Suri... more >>
XML ' to &apos
Posted by abeall at 7/14/2004 3:18:08 AM
i am working with XML in Flash. I have found that ' marks are traced as &apos. How do I fix this?
TIA... more >>
XML connector & xml data binding
Posted by tg-1 at 7/14/2004 2:00:03 AM
Hi All (me again..)
Can I use the XML component (mx2004 pro) with custom AS?
e.g. drag xml connector, call it myXML
then use action script to get : myXML.firstChild.childnodes[n]; etc?
so I acn mix my custom code with the ready made data binding fanctionallity??
if not, with get XML()... more >>
Can this be possible ?!
Posted by dizmental at 7/14/2004 1:34:02 AM
I'm trying to generate a whole Movie with ActionScript; everything went well
until I started getting weird results. My question is if is it posible to
declare something like this?
So, can this code work properly?!
MovieClip.prototype.doSomething = function (arg1, arg2, arg3) {
_gl... more >>
|