all groups > flash actionscript > july 2004 > threads for wednesday july 21
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
var / function problem
Posted by Colour Bleu at 7/21/2004 10:33:23 PM
Help please. I know nothing,
Im trying to minipulate a var outside of a function.
I have a function that onRelease dose this... and outside of the
function I would like to compaire the var between two similar functions
to do that..
what am I missing?
many thanks
s... more >>
Why doesnt this control my main timeline
Posted by Edwin Merced at 7/21/2004 10:21:04 PM
Please verify this:
this.aro_mc.aroinvisible.aroa_btn.onRelease = function() {
_root.gotoAndPlay("primera");
}
this.aro_mc.aroinvisible.arob_btn.onRelease = function() {
_root.gotoAndStop("segunda");
}
Why doesnt this control my main timeline?
... more >>
How to find the size of an swf file?
Posted by bcraigie at 7/21/2004 10:19:06 PM
Hi all,
I have a bit of actionscript that will load different swf movies using the
loadmovie command into a movie clip. I'd like to scale them to fit into the
Movie Clip, but in order to scale them I need to find out what size the swf
movies are. Is there a way to find out the size of an ... more >>
global properties and goto...
Posted by Jdogglytle at 7/21/2004 9:51:11 PM
ok i want to set a variable from one movie to the next, and the value of that
variable to be called upon from another movie as the frame to go to in a
"gotoAndStop" action.
is this possible...to put this variable as a frame location?
... more >>
Movie Clip movement
Posted by StarkUTBoy at 7/21/2004 9:32:31 PM
Ok, this is the last part of the project I have left to figure out. I'm at
frame 163 in my scene, and at that scene, a movie clip plays. It goes through
the clip, and when it gets to the end, there's a stop action. I need this so
the person can advance if they want, or watch the clip again. So... more >>
Custom Components
Posted by Vommit Monkey at 7/21/2004 9:29:52 PM
I have created a custom Component but none of the properties show up in the
property inspector. Here's some sample code:
[Inspectable(defaultValue="")]
[Bindable]
public function get MinValue():Number {
return(minValue);
}
Anyone know if this is the right code?... more >>
communicating between 2 embedded swf files
Posted by oma04 at 7/21/2004 8:50:45 PM
Hi,
I have two embedded swf files in an html page. One swf displays the navigation
bar, and the other swf contains several scenes, each scene is for one of the
buttons on the navigation bar. I would like the 2 swf files to communicate with
each other so that if I click, let's say, the "hom... more >>
Mouse angle help!
Posted by Luka at 7/21/2004 8:48:44 PM
I'm tryin to create a rotation of the movie clip which represents the mouse
on the stage. But, a rotation like on the Colin Moock's web site in the
"action script the definitive guide" section. If you dont know what i mean:
the triangle represents the mouse, and depending in which direction you'r... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
external linking
Posted by justDABE! at 7/21/2004 8:29:27 PM
Is there a way where i can use an external html link to target an external .swf in the root of the movie?
... more >>
if() else alternative?
Posted by loop360 at 7/21/2004 8:20:08 PM
is there an actionscript alternative to the 'if () else' statement like lingo has the 'case()' syntax to avoid lengthy lines of 'if else' code?... more >>
Dynamic Text Missing Punctuation
Posted by Yrogerg at 7/21/2004 7:45:26 PM
I'm importing dynamic text from MySQL into an html textfield in flash. In the
translation I'm having php addslashes() as well as stripslashes() when it's
read into flash. It works perfectly in html, but flash will not display certain
punctuation marks such as '..."
The textfield has the en... more >>
glint
Posted by davidrule at 7/21/2004 7:40:53 PM
Hi,
I have asked this on july 16th but I was out of town after and didn't follow
up with it. Thank you for all the people who helped.
I still could not sovle it completely. The problem is that I have created a
symbol with a "glint text" in it. It displays properly on the library preview
... more >>
LoadMovie is not loading some jpg
Posted by Kenny WH at 7/21/2004 6:31:19 PM
I am trying to load an external jpg into my movie using loadMovie. But it is
only working on certain jpg?s. All the files I?m using are jpg?s and I can?t
figure out why one will load and the other will not.
pic_mc.loadMovie(picArray[random(picArray.length)]);
This is the code I?m using a... more >>
can this be done in FLASH?
Posted by venusdesign at 7/21/2004 6:01:26 PM
hi,
i have a HTML page with a .swf banner embedded in it. The banner has a nav.
menu.
Is it possible to take part of the HTML code in the page & replace it
depending on which menu button is pressed?
I'm thinking that instead of having a sep. page to correspond with each menu
ite... more >>
javascript for browse files using getUrl
Posted by Pluda at 7/21/2004 5:54:21 PM
Hello,
I'm trying to make my own upload system using Flash as front end.
I've all working good, but it need to use popups and I don't like it.
So, what I want is know is if someone could code me a javascript to browse
files in my mac (or pc).
Yamzbrowser only works in Internet Explor... more >>
Variables / arrays
Posted by Sybs at 7/21/2004 5:36:20 PM
Dear All,
I have been teaching myself Action script and I was wondering if someone could
give me a more efficient way to do the following
I have done a little drag and drop application on one time line with the
following code:
this.DragObj1.onRelease = function ()
{ this.stopDrag();
... more >>
mc instance name
Posted by Mack879w at 7/21/2004 5:10:33 PM
okay, i have a movie clip in the library that I am using as a button. In the
library its named MyMovie. The instance name is MyMove_mc. Yet, when I add an
onRelease it only acts as a button if I use the name that is in the library, it
will not work if I use the Instance name. Is that right... more >>
_focusrect
Posted by spoon at 7/21/2004 4:50:51 PM
Hi,
This problem has just come back to haunt me...
Is there any way of turning the ugly yellow focus
rectangle off whilst maintaing the functionality of
being able to select buttons using the space and
enter keys?
Setting '_root._focusrect = false' still allows you
to navigate around th... more >>
preloading an image using loadMovie
Posted by Cran56 at 7/21/2004 4:47:52 PM
I'm writing a flash preview app that takes in dynamic variables passed to it
via Visual Basic. From those variables it loads up a particular image. It loads
up fine and variables work great, but my problem lies with the load time of
these images (it's loading them using loadMovie).
This ... more >>
jumping object, curve
Posted by Benjamin Bittner at 7/21/2004 4:40:55 PM
hi ng,
im developing a little flash game for long jumping. im stuck by calculating
the "jumping curve" (hope you understand what i mean).
the angle doesnt matter, only the running speed before the jump.
i have a timer (100ms) which should calculate the coordinates for the curve.
so i need a f... more >>
*External picture as background
Posted by Rounasi at 7/21/2004 4:14:49 PM
hi,
I had made a movie that has a main_picture.jpg which is used as background
and has its own effects so I wanted to know if I can use a button which
imports an external picture as background and replace the pictures with each
other and nothing happens to my movie and this new picture has... more >>
loadMovie and DuplicateMovie
Posted by Maleak at 7/21/2004 3:56:22 PM
sigh... I'm trying to find a way to dynamically change the appearance of my
application, using .swf as source files for the appearance of my buttons for
exemple.
I'd like to duplicate my base button once it is loaded, yet it seems that
duplicateMovieClip won't duplicate loaded Clips... Is... more >>
Text Editor with flash
Posted by NO[at]SPAM lfa at 7/21/2004 3:47:48 PM
Hi,,
I need help coz i am building a rich text editor with flash, i found some
components, but i need an open source example coz i want to make my custom
editor, i didin,t find anything useful plz help..! ;)
... more >>
Call function from web page outside of movie
Posted by DeanWLogan at 7/21/2004 2:46:45 PM
I have a web page with a flash movie loaded on it.
I want to be able to click a link that passes a value to the movie and kicks
off a function that will load a document.
At the moment I have the value passing part working.
I can pass a value from a link into the flash movie.
I have test... more >>
movie hierarchy
Posted by Jdogglytle at 7/21/2004 2:34:13 PM
ive got this situation where i want to my low file size movie to load first and
then while it is playing to load my other .swf file which is much larger. the
problem is i'd like my lower file size movie to visually be on top of the other
movie. as far as i know it is impossible because the fir... more >>
ActionScript - going backwards
Posted by StarkUTBoy at 7/21/2004 2:02:14 PM
I'm working on a flash demo for my company, and there is just one long scene
that goes through all the steps to filling out this online form. I created a
button, and I want the button to go to the previous 'section' of the scene, so
what I'd end up doing is just having it jump back to a certai... more >>
XMLSockets
Posted by TehUser at 7/21/2004 1:52:09 PM
I'm fairly new to Flash, but I've been a programmer for a long time.
Basically, what I'm trying to do is use the Flash XMLSocket component to
communicate with a remote server using a binary protocol. I've run into
several problems in attempting to do this. First of all, Flash appends a null... more >>
load movie (swf) problems
Posted by Grim_Angel at 7/21/2004 1:50:06 PM
flash MX2004 Professional is the version I'm working with.
I'm pretty new to flash. ...bet you never hear that one :) and I'm working
on a website that's all flash. I have 2 files right now... my main site
consists of a few animations and a button which is a movie clip
http://www.grimange... more >>
Back Button
Posted by dbach at 7/21/2004 1:29:15 PM
Is it possible to initiate the browser back button to go back to a previous scene with the flash movie??... more >>
communicating with the timeline of a movie clip
Posted by Sybs at 7/21/2004 1:26:33 PM
Hello,
Can anyone tell me the following;
1) pass a color parameter within a movie clip. I have a MC_fireworks and I
want to manipulate the color from the main timeline rather then have to create
individuale movie clips (ie. fireworks_white? fireworks_blue). I tried setting
up a global vari... more >>
Trouble with a loading screen
Posted by meeesta at 7/21/2004 1:04:09 PM
Hello.
I've got a problem with a loading progress bar. I've a usual 100 frame movie
that relates to what percentage has loaded.
When I test it on it's own it works fine, however I need it to load within
another flash movie.
The external movieclip is targetted to load into an existing m... more >>
xml again
Posted by Kev P at 7/21/2004 12:52:27 PM
below is my code for displaying an xml file on the movie. I can successfully
pull off the amount of countries in my xml file a loop through and display the
first tags attributes of each country. However i want to display all of the
attributes from the tags so the currency and images, etc. will... more >>
Load External swf with percentage
Posted by Adil Bamanbehram at 7/21/2004 12:50:48 PM
the problem...
On click of a button, load an external swf (pics.swf) into target movieclip
named "myloadmovie" placed in the root of main flash file. Needed is the
Percentage loaded of external swf..
i have already placed the percentage loading using bytesloaded/bytestotal in
the external swf... more >>
Question about functions, should be easy...
Posted by Brian at 7/21/2004 12:35:05 PM
I want to call the following function in which I am trying to alse send
it the mc I am trying to do this to (theMovie). The function works fine,
but when I use "theMovie" it does not work anymore. Is there a way that
I can do this, so I can re-use this function for several different MCs
in m... more >>
getURL("javascript:") problem
Posted by 3Darky at 7/21/2004 12:34:38 PM
I have a simple command on a button (release) that should work. If i assign
that javascript function to the onClick event of an element in the html code,
it works fine, but if i click on the button in the flash element, I get a
"Object expected" javascript error. Any ideas?
The code looks ... more >>
Get movie to play on CD load
Posted by iflyhab at 7/21/2004 12:31:14 PM
I have created an intro movie for a CD project. I do not know how to get the
movie to play when you load the CD. I am trying to use the action scripts in
the first key frame to get the thing to load and play when you drop in the cd.
I am burning up a bunch of CDs. Help!
... more >>
abt net ip
Posted by vasanthakumar at 7/21/2004 12:16:00 PM
is it possible in flash to trace the client machine "IPADDRESS"... more >>
How do yu search and replace a word within text?
Posted by DazFaz at 7/21/2004 12:11:43 PM
I have a string that I can search and replace a particular word no problem,
using the sode below:
//**********Code***********
CheckWords.onRelease = function() {//Button name
ii = 0;
if (_root.TraceWord != undefined) {
Word = new String(_root.TraceWord);
ContainerWord = Word.sp... more >>
How do you get an object's name
Posted by eSpeed at 7/21/2004 11:49:29 AM
I've tried object._name and object.toString() but at best I get [object object] back and I have no idea what that means. It's got to be something simply surely?
Thanks... more >>
Randum show
Posted by Amol4onlyu at 7/21/2004 11:42:06 AM
I want to show the images randumly which are kept in the library of one flash file on click on one button the images have to come randumly in the swf ... more >>
casting data types
Posted by eSpeed at 7/21/2004 11:14:18 AM
I seem to have a problem. I am reading in an XML nodename. It's format is
<name.name.name> I use it to create a number of objects withing objects but
that's not important here.
The problem is simple, the string (name.name.name) needs to be cast as an
object so it can have it's properties ... more >>
MC Help
Posted by hanoon at 7/21/2004 10:38:06 AM
hi all
am creating some movieClips , and i want to add some event to this dynamicly
created movie
i created the MCs thru this:
clip = this.createEmptyMovieClip("slide"+SlideNum, 1);
now how can i add an event , or let the MC calls a function when its loaded?
... more >>
Disabling right click in browser
Posted by nITiNkIlLeRmEeRuT at 7/21/2004 10:24:42 AM
Hii guys have developed a sample for disabling right click menu (context menu)
when swf is played in browser. can be useful only for when there are user
intervention required (like in case of intros). I m not sure that this will
work fine or not on different OS configs or browser versions. Upl... more >>
Issues setting textField.textColor from XML
Posted by Dan Defenbaugh at 7/21/2004 10:22:02 AM
Hello all,
I am trying to set the color of a textField with a value from an XML. It
is reading in fine but not changing the color.
This is how i am doing it:
function loadProject(project) {
with (content_mc) {
trace("xml color:" + project.attributes.color);
sub_txt.textCol... more >>
some one knows the script for download
Posted by Amol4onlyu at 7/21/2004 10:20:54 AM
some one knows the script for download the file from swf... more >>
Dynamic buttons using .SWF images
Posted by SamuraiTang at 7/21/2004 10:10:20 AM
Hello,
I'm created a dynamic button using only actions scriipt and have loaded a
image as a SWF format to retain the alpha transparency layer. The problem
is that I cannot attach any actions to it.
Here's my code
//************************************
function onLoad()
{
_root.crea... more >>
Cookies
Posted by Giles_R_Roadnight at 7/21/2004 8:38:16 AM
Is there any way that a flash application can access cookies on the client
machine? I need to look at a cookie created by the browser.
This has probably been asked already but the search function is not working at
the moment.
Thanks
... more >>
Xml Problem in nodeValue and nodeName
Posted by Lushifa at 7/21/2004 8:34:31 AM
Hi everyone.. I have Xml Problem in flash , Xml like this
<!--sData.xml-->
<?xml version="1.0" encoding="big5"?>
<ADDatas>
<ADData>
<Name>Img1</Name>
<IMG>02_live_button.jpg</IMG>
</ADData>
<ADData>
<Name>Img2</Name>
<IMG>02_live_button.jpg</IMG>
</ADData>
</ADDatas>
... more >>
Flash plugin detection
Posted by pixelmagikau at 7/21/2004 7:45:27 AM
Hi all I am wondering what options i may have for detecting if a user has the
flash plugin behind the scenes and if they dont it will display an error page
showing them where to get it.
Any help in this matter would be great
Thanks
Pixelmagik
... more >>
quiz template
Posted by stripeySocks at 7/21/2004 7:26:21 AM
Hi,
hope it's not the wrong forum for my questions, but actually Idon't know where
my mistake may be. I've trouble with loading a quiz (built with the template)
into a swf. I've got a navigation bar with a button for a quiz and wanna load
this quiz into this main movie by pressing the butt... more >>
to open the swf in new flash player
Posted by Amol4onlyu at 7/21/2004 6:12:49 AM
on click i want to open another swf in the new flash player window... more >>
XML connector component
Posted by Ajay Vyas at 7/21/2004 5:49:10 AM
Hi,
Am trying my hands over the XML connector component.
I have refered to the tutorial given at
http://www.macromedia.com/devnet/mx/flash/articles/xmlconnector.html
I manage to replicate the tutorial successfully but when I tried with myself
found peoblems.
Here is the things that ... more >>
Some help with combineing strings
Posted by Azeral at 7/21/2004 4:09:36 AM
Okay i know im a newbie at this and well yeah.
Basically i want it to display what ever quarter it is. For example if its
Quarter 1. I want it to display Q1.
I have a global variable that keeps track of what ever quarter it is. And now
i basically want want to add a Q to the front of wh... more >>
preloader problems
Posted by grachel at 7/21/2004 4:07:23 AM
Hello,
I have a movie with the main content in scene 2, called "main", I have a
preloader in scene 1, called "loader". In the loader scene I have this code:
loadedbytes=_root.getBytesLoaded();
totalbytes=_root.getBytesTotal();
loadedkbytes=Math.ceil (loadedbytes/1024);
totalkbytes=Ma... more >>
mx2004 scroll Pane having growing pains
Posted by Mattdog at 7/21/2004 2:47:12 AM
I have a scroll pane, with a movieclip insie, the clip contains a square that
will grow to the left 1px every 1frame. I want the scrollpanes scroll bar to
update and allow me to scroll the complete distance of the newly expanded
movie clip.
I have tried the refreshPane() but that does not ... more >>
AttachMovie + Component bug?
Posted by maulia at 7/21/2004 2:13:20 AM
//1st frame
attachMovie("mcA", "mcA", 10) ;
mcA._visible = false;
stop();
When I run the timeline, the movie is succesfully attached and the visibility
is zero.
Then I add a button, to go to frame 5. At frame 5, I have a button to back to
frame 1.
When initially at frame 1, then... more >>
Please help with inter-class references
Posted by justSteve.com at 7/21/2004 12:32:54 AM
The problem boils down to the fact that I'm finding I have to depend on _global
assignments & references to get one class to refer to methods in another
instead of passing references of themselves via thier constructors.
I'm trying to implement a multi-class pattern (MVC) where one class has... more >>
|