all groups > flash actionscript > july 2006 > threads for tuesday july 18
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
Whats wrong with my muliple drag and drop code?
Posted by twistedpancreas at 7/18/2006 11:06:50 PM
I've got ParaA, ParaB, and ParaC (
http://img.photobucket.com/albums/v292/pancreasboy/misc/para.gif ) which are
dragable mc's (ie they have buttons inside them with the code below), they can
be dropped onto any of the mc's Para1, Para2, and Para3.
Here's the code for ParaA button:
on (... more >>
'System.capabilities', conflicts
Posted by FlashChump at 7/18/2006 10:39:05 PM
I keep on getting this error message. If I publish the file twice, it is ok.
..\Local Settings\Application Data\Macromedia\Flash
8\en\Configuration\Classes\FP8\System\capabilities.as: Line 7: The name of this
class, 'System.capabilities', conflicts with the name of another class that was
l... more >>
Realtime external data
Posted by JacobAlbertson at 7/18/2006 10:23:28 PM
I need to get a small amount of data from an external computer into flash at 30
fps. Currently I am using an XMLSocket and calling the onXML event which
processes the data and updates flash. The flash movie is set to 30 fps but the
data does not update at that speed. I have a lot of control ov... more >>
controlling parent mc
Posted by koomisan at 7/18/2006 9:56:04 PM
hello, i am in a bit stuck on this problem
i have a function that gets a target_mc (you know with the function
blaBla(target_mc){)
if i trace the target_mc, i get the child mc, meaning something like :
_level0.thumbLoader_mc1.holder
now i need to play with the thumbLoader_mc1, but i dont k... more >>
How to get the array key?
Posted by howa at 7/18/2006 9:36:40 PM
Hi,
Conside, e.g.
var array = new Array();
array['a'] = 1;
array['b'] = 2;
....
etc.
how to loop the array and get "a", "b" , etc ?
i can do this in php but don't know how to do this in AS
thanks.... more >>
urgent help needed with game script.
Posted by buddy at 7/18/2006 8:39:47 PM
hey i am making a game which has this script,
my flashs says it has an error,
please tell me what that error is.
thanks in advance
on (release)
{
Display = 0;
/:trycount = Number(/:trycount) + 1;
/:trymatch = /:trycount / 2;
if (Number(Faceup) != 1)
{
if ... more >>
Roll over problems
Posted by khmay at 7/18/2006 7:27:26 PM
ok, here's the problem
when i make a simple button on one part of the document that displays a
picture or text on another part when rolled over, how do i mask the
picture/text so that when i scroll over the area where the picture/text is
displayed it does not display the picture/text as if... more >>
one button, two loaders
Posted by JenMQui at 7/18/2006 7:05:15 PM
:embarrassment;:mad;
Hello.
I have two loaders on a page that were created with use of the loader
component provided by Flash.
In the first, I am loading one external swf file. In the second loader, I am
loading a different external swf file. One button is being used to activate
bo... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Stupid, basic but urgent question
Posted by Thatnickname at 7/18/2006 6:43:24 PM
okay, loadVariablesNum(url, level,[method]) and method is optional.
Now, what does level mean in clear basic, non-flash programmer english? (I
just started out you see :P)
Also, what happens when you put two empty quotes ("") at the level position
like so:
loadVariablesNum("text.txt"... more >>
converting a _rotation to a 360 degree output
Posted by Bill O at 7/18/2006 6:00:28 PM
I was coding out a compass and was running into trouble with the reporting of a
movie clip's own rotation. It was reporting negative rotation for anything with
a a rotation over 180 degrees (181 degrees would be reported as -179 degrees) -
this behavior is clearly spelled out in the documentat... more >>
Flash list and variables
Posted by Neokase at 7/18/2006 4:54:33 PM
Recently I discovered how to load multiple variables into a dynamic textbox
using buttons. I'm wondering if I can do the same thing only with a list
component.
Here is the coding for the buttons
myData = new LoadVars();
myData.onLoad = function(){
myText_txt.htmlText = this.m... more >>
severe problems with "antiAliasType = advanced"
Posted by hfaze at 7/18/2006 4:19:20 PM
i've got a dynamic flash movie that has a lot of timeline text fields and a ton
of dynamically created text fields. all of the content is loaded from various
XML files. to improve readability, i thought that i'd use advanced
antialiasing, but i'm having problems:
1. flash (the application ... more >>
Line counts in wordwrap textfields
Posted by johnnystorm0 at 7/18/2006 3:57:01 PM
I am attempting to create multiple textfields based on externally loaded text.
Essentially I am creating a textfield at a set height, I basically want to
create as many textfields at set height until all the text is displayed. Is
there an easy way to do this?
Thanks
-js
... more >>
Swapping depths
Posted by animee at 7/18/2006 3:25:42 PM
Hi all,
i've got the following problem:
I want to populate my stage with 20 squares.
Each square's position (_x, _y), _rotation and depth is generated randomly by
using the attachMovie() method.
My code for a two square looks like this:
this.attachMovie("green", "m1", random(50... more >>
Dynamic Text
Posted by Goo101 at 7/18/2006 2:34:08 PM
Hi there,
I'm trying to use a dynamic text field to display an error message, using the
following code . . .
if (VoucherNo.length < 14) {
//changes the dynamic text field to display an "Invalid Voucher Number"
message
this.dtxtVoucherNo = "Invalid Vo... more >>
HTML to text field
Posted by ID. Awe at 7/18/2006 2:29:43 PM
I have a dual site in Flash/HTML, I can load XML files into a text field
without a problem, but I would like to be able to load the already existing
HTML pages into the text field. What do I need to do to accomplish this?
What I need most is to be able to use 'tables' to hold information as... more >>
incorporating C++ into Flash & Actionscript
Posted by mraley at 7/18/2006 2:08:56 PM
Hi All,
I'm a complete Flash & Actionscript noob, and I have been unable to find this
info elsewhere. Is there a way to get Actionscript to include c++ libraries to
work client side and not server side? I have a C++ toolkit that I need to
develop with, but the application needs to be Flash a... more >>
movie clip loader
Posted by dc12 at 7/18/2006 1:36:46 PM
Hi, I'm using a movie clip loader class to load my photo gallery in an external
swf.
Some photos are vertical, some horizontal. They all line up to the top
right, and I want them centered.
Any suggestions?
Thanks!
... more >>
Flash and Mozilla
Posted by svaruupaa at 7/18/2006 12:45:03 PM
Hi
I have passed vars from .aspx to flash it works in IE.
But when i open in Mozilla it does not work.
Can someone enlighten me here
Tk U
Svaruupa... more >>
Button Problem
Posted by ID. Awe at 7/18/2006 12:12:12 PM
I am using a very simple button, that sends the movie to a particular frame.
The problem is two-fold, if a buttons that go to the same frame are
sequential, (eg: the teachers bio is listed twice in sequence under different
categories), the movie will jump to the next frame or a different bio... more >>
Button Question
Posted by C White at 7/18/2006 11:54:57 AM
I am new to flash and I'm not sure if this is an action script question
but here goes:
I have been following the Article at
http://www.adobe.com/devnet/flash/articles/prog_download.html
and it doesn't give much information on the actionscript, and I would
like to kow how to add some but... more >>
[FLASH 8]
Posted by Jaime de Greiff at 7/18/2006 7:37:00 AM
I am developing a course in flash and I have main movie, archives .as,
secondary archives .xml and others movies. ¿It is possible to compile
all the archives that I use in a single exe file?. (perhaps without xml)
Thanks for its answers
Jaime... more >>
#Include is'nt working
Posted by BuG300K at 7/18/2006 4:25:56 AM
Hello, I'm having a very odd problem.
I have an .as file that is called upon like so :
#include "CommonFunction.as"
Functions from this .as file all work, except one. The following function is
inside the .as file :
function playSound(soundName, level, exportName, offset, loop) {
... more >>
passing method as a parameter to another method -- does not work!!!!!!
Posted by scriptkiddie at 7/18/2006 3:06:27 AM
Inside a class, I am trying to pass one member method as a parmaeter to another
member method. It seems not to work, although the same code would work in
languages like C++/Java. What is wrong?
Now, there must be a way to do it, right? Anybody ever done something like
that?
You can see... more >>
Looking for Some Assistance
Posted by JUNKHED at 7/18/2006 2:38:15 AM
Hi Im having a problem Im creating a webpage where when I click on a month say
january it moves a movie clip called jan1 from the right of the page to the
center of the main page so people can see the information. The idea is to have
12 movie clips each named after each month and have 12 butto... more >>
Immediate Focus on Screen Flash 8
Posted by HughisHere at 7/18/2006 2:35:59 AM
Hi,
I have several Dreamweaver web pages that have embedded Screen and SWF files.
The pages and files are working great. The only problem is that the app calls
for the user to click sometimes on the Screen SWF and then on a standard SWF.
Both seem to require a mouse click aparently to get... more >>
Go to screen AND gotoandstop?
Posted by deeloo44 at 7/18/2006 2:13:55 AM
Hi i'm trying to put a link on the page that goes to another screen on release
while at the same time switching to a certain frame on that screen it's
switching to. I tried putting the gotoandstop line before AND after the switch
screen line but it still goes to the first frame of the next sli... more >>
Stop Script in Movie
Posted by jwdawg77 at 7/18/2006 1:29:54 AM
I am simply trying to figure out how to stop a .swf movie at a desired
position. The movie plays fine http://chef.nessworks.com .swf and .flv on the
server. I apologize for the newbie question ... I purchase a Falsh 8 text book
and countless internet searches but I still cannot figure out ho... more >>
Please help me to create this elastic effect
Posted by vinay vasu at 7/18/2006 1:15:30 AM
Hi All,
How can i achieve the elastic effect of thumbnails in this website :
http://www.dynamicfactory.us/xmlswf/v5a/index.html
Thanks
Vinay
... more >>
bytesLoaded HELP??!!
Posted by Walloompoom at 7/18/2006 12:07:45 AM
Everything works perfectly exept for one thing... for the life of me I cant get
the percent text to go to "" after its loaded.
Ive tried several ways as you can see and the trace returns true. I am loading
this way: main.sfw <- videoPlayer.swf <- video/TTH768K_314x210.flv. Evereything
works ... more >>
apply() on constructor
Posted by Kiriran at 7/18/2006 12:00:00 AM
Hi
I'm trying to call the constructor with apply(). I do this because I don't
know until runtime how many arguments I have to pass to the constructor.
here a little code
Thanks :)
package
{
import flash.utils.getDefinitionByName;
public function Test() {
// will be dy... more >>
randomly loading images that don't reapeat
Posted by mlamaudite at 7/18/2006 12:00:00 AM
I am making a slideshow that randomly loads jpegs in a mc on the stage. I am trying to find a way to prevent flash to load the same image twice in a row.
Can anyone help me please?
Thanks!!... more >>
How to destroy a variable?
Posted by howachen at 7/18/2006 12:00:00 AM
Hi,
I have an array variable which stored around 10,000 rows of data,
I want destroy the variable and thus free up the memory, which command I
can use?
Thanks....... more >>
runing circle
Posted by Petruche at 7/18/2006 12:00:00 AM
Hello All.
What i want?
When cursor is over object circle (doted line) is appear and slowly turning.
Like here:
http://www.brestrw.by/trains1/selStations4MapAction.do;jsessionid=6E6ED6952E51A8
C152CAF68E09C54456?shed_type=pass&flash=1
If you have ideas how it can implemented plese share... more >>
|