all groups > flash actionscript > may 2004 > threads for tuesday may 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
need help LoadVars() function
Posted by Dimak at 5/18/2004 11:24:23 PM
Hello
i need some advise on this one!
i am trying to load some variables from file
variaables.txt
u know that there is a function for this
myData = new LoadVars()
myData.load("variaables.txt")
but i have these vriable.txt files on 3 different servers for the purpos... more >>
shape tweening by actionscript
Posted by numem at 5/18/2004 10:56:53 PM
hi guys,
could you please guide me how to do shape tweening in actionscript , i
searched in APIs for some movieclip.moveto action but there is nothing like
that. can u tell me how to do it?
thanks in advance.
... more >>
LoadVars Problem in external class. HELP!
Posted by drtnbmwflash at 5/18/2004 10:10:06 PM
Hi
Hope someone can help.
I have a class file named SMTPmail that sends an email. It exposes a bunch of
properties and a Send method.
I call the class from the onClick of a button like this:
var mailer:SMTPMail = new SMTPMail();
mailer.To = this._parent.txtTo.text;
mailer.Fr... more >>
recursive function...var gets reset
Posted by sneakyimp at 5/18/2004 9:52:20 PM
i'm writing a function to recursively report the values in an array (see the
code below). the problem i'm having is that it starts into the main array just
fine, it gets into a nested array through a recursive function call...but then
when that value returns, my index in the for loop (variabl... more >>
loadvariables : loadvars
Posted by S1n0Byt3}: at 5/18/2004 9:38:46 PM
seems like no one knows the the answer to it or doesn't want to respond. Thats it! I am throwing this software in the trash! ... more >>
testing for typeof(undefined)
Posted by sneakyimp at 5/18/2004 9:08:40 PM
can anyone tell me why these both return false
if (typeof(undefined) == undefined) {
trace('yes we can trap it!');
} else {
trace('false');
}
if (typeof(undefined) === undefined) {
trace('yes 2 trap it');
} else {
trace('false');
}
when this returns undefined
trace(typeof(u... more >>
Window Target Property?
Posted by Rocky at 5/18/2004 9:05:07 PM
I'm new to ActionScript and Flash, so I am working with a nav bar I found
on FlashKit.com. Of course, it is in Italian, which doesn't help me a
whole lot...
It wants me to populate three arrays, one for the primary nav, one for
subnav, and then links for the subnav. Unfortunately, the sub... more >>
[AS2-classes] Calling class-functions problemo
Posted by Danneman at 5/18/2004 7:40:42 PM
Hi,
Im having the strangest problem.
I have created a class that simply creates a movieclip, and contains a
class-function that moves this movieclip horisontally. The function is then
called by the press of a button on the stage.
Creating a class-instance at load-up with just regular... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
shared object on public computer - permissions
Posted by wyndom at 5/18/2004 6:57:09 PM
I am creating a program that will need to run on public computers. My concern
is that on some of these computers, the write permissions given to the average
joe student may be turned off, thereby not allowing a shared object to be
saved. Are the localhost and #sharedObject folders needed for w... more >>
dragging but no dropping
Posted by daxc3 at 5/18/2004 6:40:00 PM
I need to be able to drag a mc(drag) back and forth and have it hit
something(right now it's a button called up1 or up2) to make another mc(fill)
grow. startDrag makes the clip move just fine, but when it's on on(press) i
have to release and press over and over to make it see the hit. I want i... more >>
Flash True & False quiz
Posted by GrooveHolmes12 at 5/18/2004 6:34:36 PM
Hi, I've recently been working with the learning interactions in Flash MX, and
I've successfully built a ten question true or false quiz, now what I need to
do, is use these results to determine if a test taker can continue on to the
next portion of the cd-rom. After successfully passing one ... more >>
Learning with Docent
Posted by David J. at 5/18/2004 5:19:45 PM
Hi, has anyone created a flash application with Docent Outliner? Especially, I
do not want to use the framesets that Docent provides. I want to make an
application that can be packaged in Docent Outliner and sent to the client.
Any help, tutorials, or resources would be extremely appreciated... more >>
AttachMovie VS movie size
Posted by Nixy at 5/18/2004 5:19:22 PM
Hi
May be this question is simple but I need to be sure.
If I have a clip that contain an image of 50k. If I use the export on first
frame, I can preload it, ok, but If I use the attachMovie to call this image 20
times for example. Does my main movie is bigger or the size of it does not
... more >>
New Window
Posted by Rob_jones732000 at 5/18/2004 5:15:40 PM
How do i create a new window? So when the user clicks on a button it opens up a
new window which is already set to a certain and cannot be maximised.
Also can anyone help with my other post on the actionscript board, its called
help with start drag.
Thanks
... more >>
movie clips stick together?
Posted by confusedAgain at 5/18/2004 5:13:11 PM
Hi, Im working on an activity/game where I want 2 draggable movie
clips to snap together when they intersect one
another. Does anyone know if there is a way to do this or know of any
online tutorials that might help? Thanks.
tc
... more >>
Loading newer version swf into older version swf?
Posted by TheKeith at 5/18/2004 4:30:06 PM
If you have an outer swf exported for version 4 compatibility and load a
version 7 movie with 7-specific actionscript, will the version 7 movie
lose functionality or will it simply replace the version 4 compatibility
with version 7 compatibility. Help would be appreciated--thanks.... more >>
Changhing the Stage Colour using Actionscript
Posted by jaded_sage at 5/18/2004 4:13:32 PM
Is there a way that anybody knows of changing the colour of the stage using actionscript? I have looked around to no avail and was hoping someone here may know.
Thanks.
... more >>
Amazing page turning effect
Posted by EdMX at 5/18/2004 3:05:01 PM
Amazing page turning effect here:
http://welcome.hp.com/country/us/en/msg/corp/flashdreamworks.html
How do they do that?? ... more >>
loop in xml file
Posted by Jonnhy at 5/18/2004 2:52:54 PM
Hi everybody,
I'm trying to loop into xml file to load a listbox with the data
But it doesn't loop.
Could you take a look at the following code.
TestLang = "English"
Lang = "English"
myXML = new XML();
myXML.ignoreWhite = true;
myXML.onLoad = function(success) {
if (success... more >>
quote in xml
Posted by GrassRootsDesign at 5/18/2004 1:55:11 PM
What is, or I should say what's the best way to get a single quote into
flash from an xml document. For example...
__________
<?xml version="1.0" encoding="utf-8"?>
<text>
<word>isn't</word>
</text>
________
... returns isn't.
I have tried a number of combinations but was wonde... more >>
action script to attach flash movies together
Posted by jonar at 5/18/2004 1:48:18 PM
Please help, i am constructing a web page that is ran through flash mx 2004, i
have drop down menus and ordinary buttons, however, i am able to assign URL's
to them but not the other movies that have been created in flash. My whole
website has been created within flash, do i need to send it to... more >>
Flash Desktop app with SSL
Posted by glanne at 5/18/2004 1:40:48 PM
Hi!
I am working on a FLash desktop application that will require the user to fill
in there credit card details..
I wonder if it is possible to connect to the internet via SSL?
Do I need a third party software or can I establish a https connection from my
desktop Flash application, even th... more >>
Help With Start Drag
Posted by Rob_jones732000 at 5/18/2004 1:31:14 PM
I currently have this actionscript pasted on an item (thanks to asiabackpacker):
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
startDrag("");
}
}
onClipEvent (mouseUp) {
stopDrag();
}
But how can i constrain it to the centre of the page so that i... more >>
Screensaver ... getURL and close??
Posted by jbravo1830 at 5/18/2004 1:24:48 PM
I'm having trouble with a screensaver I created using a swf and Screentime. I
have a moving button that I want to go to a website and close the screensaver.
I can only get it to do one or the other in the Windows version. I tried using
a getURL (''); and a second getURL('fscommand:quit',''); b... more >>
How to remove items from combobox?
Posted by rythmikone at 5/18/2004 1:19:24 PM
Need help removing items from a combobox.. I want to remove all items at once..
like a 'clear all' so that I can put some new items in. Is there a command to
clear all fields from a combo box?
Thanks!
Paul
... more >>
Glide and fade; but no fade--how come?
Posted by rnadiv at 5/18/2004 12:45:22 PM
I'm grateful for ideas as to why this simple piece of code fails on the fade:
on(release){
I=setInterval(F,10);
function F(){
_root.drifter._xscale += .250*(_root.drifter._x-(diffX/1.5));
_root.drifter._yscale += .250*(_root.drifter._x-(diffX/1.5));
if(_root.drifter._a... more >>
dancing letters when MC is inside MC
Posted by Kay Poe at 5/18/2004 12:04:59 PM
On my website I have a simple, short piece of music. On the first frame I
would like to make the letters jump around, somewhat like mexican jumping
beans, just until the music stops. the problem is that I have made one MC and
all the other frames, etc are nested inside (still learning......)... more >>
Parent movie clip preload.....
Posted by flashari at 5/18/2004 12:02:03 PM
Hello,
Is it possible to preload a movieclip (not an external swf) within the parent movie independently from the rest of the movie.... more >>
Preloader:Percent Increase = nextFrame in PBar
Posted by BanhBaoX at 5/18/2004 11:48:40 AM
I made a preloader that displays a progressBar and percentage loaded. When it
reaches 100%; nextScene. Simple.
The script works for that.
The problem is with my progressBar movie. I have 25 frames of animation in it
that I want to be played one at a time as the getBytesLoaded() increases.
... more >>
thumbnails and full size graphics
Posted by marcjones51 at 5/18/2004 11:33:16 AM
To avoid a long delay in downloading a large website, we are breaking up the
content (text, graphics, video) into multiple
segments and downloading them dynamically from a database when the user
selects a link. At this point, the downloaded
text will contain thumbnails. When the user rolls ... more >>
System.setClipboard(string)
Posted by swampy at 5/18/2004 11:17:11 AM
ok, so I can save a parameter to the windows clipboard.
Is there any way in whgich I can retrieve that data without using javascript ???... more >>
Pass variables in MovieClip.loadMovie? Help!
Posted by Darran Jones at 5/18/2004 11:09:57 AM
Hi,
I'm trying to load an external movie using loadMovie(...), but I also need
to pass along a variable to this external movie...preferably in the URL.
Now, I know in the Flash Help files it says you can use GET or POST to pass
variables but it doesnt give an example of how to do it.
This i... more >>
Drop down menu with values from text file???
Posted by privatenews.microsoft.com at 5/18/2004 11:08:58 AM
Hi all,
Im trying to create a drop down menu, for a form and get the values from a
text file that needs to be split into an array. The test file is called
market.txt and contains:
marketvar=tst1,tst2,tst3
the non working script is as follows,
loadVariables ("market.txt","marketvar");... more >>
Webservice >>> XMLConnector ?
Posted by initObject at 5/18/2004 10:13:43 AM
hi,
i'm wondering what is the best solution to dynamically populate combo boxes,
the XML Connector seems to be the best solution, but i want to link them to a
database by using webservices, hence, my combo boxes will be dynamically
populated only by items called by my webservice.
This ... more >>
Load variables from different URL. Is this possible ??
Posted by grzesiu.fm NO[at]SPAM poczta.fm at 5/18/2004 9:42:17 AM
I use Flash MX
How can I load to my "movie" - (file.swf) variables or pictures from
different URL than my "movie" ??
allowScriptAccess ?? ( saneDomain / Always / Never ) not work!
Is this possible ????
Please help !!
Thanks.... more >>
Loading external data
Posted by Malkeet at 5/18/2004 8:58:09 AM
Hi Guys,
Have got a project in hand, where data will be loaded from external .txt file,
and user will will input the text in Input field.
The problem Text input by user must be checked with External data file,
if exist's in Txt file, dynamic text box will show one text and if not
another ... more >>
keypress
Posted by Phladmin at 5/18/2004 8:46:52 AM
hi
Im making a sort of presentation. When I press Enter/spacebar(doesn't matter
wich one) the movie clip should advance until the next stop. I didn't manage to
figure it out, altough it seems quite easy.
grtz
Phlstud
... more >>
limit input text to textbox boundary
Posted by Natalie at 5/18/2004 8:42:15 AM
Hi
i m using Flash mx 2004 pro
I realize that when you enter text into multiLine input text field, although
the text box only show 3 lines, you can continue entering more then 3 lines as
the text scrolls up.
Is there a way to stop accepting text after the 3rd line have been filled up?
... more >>
help needed [ Dynamic movieClips ]
Posted by iamGandalf at 5/18/2004 8:38:37 AM
Hello All,
i would like some help if possible.
i have different size images i would like to load into a clip, at the same
time i would like the clip to change siez depending on the size of the image.Is
this possible !
Here is an example of what im trying to do
http://www.twinphotograp... more >>
Addressing Parent . . .
Posted by Rusherific at 5/18/2004 8:19:57 AM
I have a master flash file which first loads another flash file "Intro" using
LoadMovieNum, and when "Intro" gets to a certain point I want it to tell the
master file that loaded it to gotoAndPlay(), but i'm having trouble targeting
the master clip. I've tried the name of the master clip: Mas... more >>
recongnise mouse drawn shapes
Posted by Lil_Missie at 5/18/2004 7:47:22 AM
When using a webcam/eyetoy as a mouse it becomes clear that new ways of using
this should be found. A way to do this is by making 'shortcuts' by drawing
shapes in the air.
For those that know Black and white, it's like drawing a heart to use a
different leash.
When the movement of the ha... more >>
preload extern pictures in flash
Posted by behived at 5/18/2004 7:12:55 AM
i have some extern jpg's i am calling from an swf. I need to preload these so when i need one in the swf it can be displayed immediatly... more >>
How Do I Restrict Playback to My Server?
Posted by lincStrunk at 5/18/2004 6:29:39 AM
I would like to create/publish a SWF such that it can only be played from a
specific server. If someone attempts to play a locally downloaded copy of the
SWF, I would like to display a message indicating that the movie can only be
viewed on the website. I have seen this done before, but do n... more >>
variable declaration problem
Posted by aditya gaur at 5/18/2004 6:21:22 AM
i load an xml file which is like this
<?xml version="1.0" encoding= "UTF-8" ?>
<textFiles>
<TextProps screenName ="x.jpg"/>
<TextProps screenName ="y.jpg"/>
<TextProps screenName ="z.jpg"/>
<TextProps screenName ="a.jpg"/>
</textFiles>
through this code file is loading but ... more >>
ActionScript dont work in flash site online
Posted by estica at 5/18/2004 5:05:41 AM
hi all...
im developing a website ... and lots of actions dont work online... it works
fine in my hard drive, but when i put it online it dont work... the flash movie
runs ... and the actions act like there are no actions...
can anyone give me a hand ?
thanks in advance
... more >>
.swf causes CPU OVERLOAD
Posted by sideffect at 5/18/2004 4:29:58 AM
I have a .swf that is causing the end user's cpu to overload. I didn't notice
it too much on my computer cuz it's got good processors, but on other computers
the processor gets maxed out to 100%
I suspect it's got something to do with an infinite loop problem, but no
actual error message ... more >>
simple form that queries a database
Posted by rwills at 5/18/2004 3:46:56 AM
I need a simple form in flash that allows the user to input a zip code or city
and then send that data to a database and return a list of stores in that area
after the user has pressed the send button. The database is already built
around an html form but I would like to use flash instead. I h... more >>
Reversing a fake scrolling menu
Posted by SalwinRahl at 5/18/2004 2:42:01 AM
I can make the menu move down, so that all of the buttons will apear to slide
up from the bottom. The problem that i am having is making the menu go back up
again. I really want the menu to be able to stop when they stop hovering over
the button instead of going all the way down and then hav... more >>
if choice = 2, put graphic_2 in this spot
Posted by Park Flasher at 5/18/2004 2:22:01 AM
hi, thanks for any help on this...
how can i make a graphic (which i've selected by way of saying "if choice =
x") show up in a certain place ?
for example, i'd like to be able to say "if choice = 2, put graphic_2 at
coordinates x50, y150" (with each graphic having it's own coordinates)... more >>
FLASH only works after you refresh page
Posted by lemmiwinks at 5/18/2004 1:51:07 AM
I have a very strange problem and I have no idea what to do.
I have a FLASH portfolio that opens up with 4 options. The 2nd option works.
But if you click on the first or fourth option, instead of going to their
respective scenes it goes to then 2nd options scene. Here is the kicker thoug... more >>
This is Urgent - Detect the version of Acrobat Reader
Posted by Yogish Kudva at 5/18/2004 1:00:40 AM
Hello All,
Please help me with this. It is urgent. I need to find the version of =
"Acrobat Reader" installed on the system and direct the user to install =
the latest version if it is not installed.
All help will be heartily appreciated.
Warm Regards
Yogish... more >>
Datagrid, icon, change on press, and get value
Posted by panorezo at 5/18/2004 12:18:34 AM
Hi everybody :)
Ok, I would like to make the following thing :
Load data in a dataGrid : ID, FirstName, Surname, Status
The status field is displayed with an icon. The icon is different switch the
status value (1 to 5, so 5 differents icon possible to display) (for an example
of the ... more >>
Preloader taking too long
Posted by mariofig at 5/18/2004 12:10:08 AM
Hello all,
For some reason my preloader is taking too long to display. It only comes up
on the later stages of the preload when the progressbar I have set up is
already on the 80's%. Before that, I have a blank screen just as if I had no
preloader.
I have set 2 scenes. Scene 1 contains... more >>
|