all groups > flash actionscript > june 2005 > threads for wednesday june 8
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
loadVariables
Posted by teamtoast at 6/8/2005 11:35:40 PM
I have a scrollpane that loads a movieclip. This movieclip has a textfield that
is loaded from a .txt file.
If i have static text the scrollpane works perfectly but if i have dynamic
text it doesn't seem to load.
I tried pulling the dynamically loaded text movieclip right onto the stag... more >>
Levels problem?
Posted by Mrs. Nottingham at 6/8/2005 10:45:51 PM
I have this launch movie that loads the portfolio movie. The port movie has
these circles that are supposed to play a sound on rollover and release. They
work fine if I just play them in the port movie, but once they are loaded on
top of the launch movie they no longer play the sound ? but the... more >>
Collision
Posted by nickcrispini at 6/8/2005 9:50:17 PM
I have a baseball bat shaped object and I want to detect a reasonably accurate
collision between the moving bat and an another irregular shaped moving object
(a fish). I've done a lot of reading and tried various techniques of collision
but I'm quite confused and perplexed over what's an accu... more >>
Why does this never get to Trace?
Posted by Bob Pierce at 6/8/2005 9:23:33 PM
I think I'm missing something fundamental here but for the life of me I can't
see what.
stop();
delayDone = false;
delayID = setInterval(delay, 5000);
while (!delayDone) {
}
trace("Done")
function delay() {
clearInterval(delayID);
delayDone = true;
}
... more >>
buttons with multiple actions?
Posted by twosteplive at 6/8/2005 9:06:18 PM
I cant for the life of me figure out how to assign a button with the capability
to both jump to a point on the timeline, and execute an action script - both
with the same click. I tried using two-different, overlapping buttons, but it
seems as thouh the one on the higher layer prevents the lo... more >>
Flexible line /w gravity
Posted by redl3tt3r at 6/8/2005 8:35:41 PM
+ - The Problem - +
I need to create a line that has a set length, between two points. One point
will stay fixed while the other I would like to move using actionscript or
attach to a movieclip. If the two points are not the maximum distance apart the
line would droop because of gravity. ... more >>
Yet another preloader question!
Posted by NomadicDesign at 6/8/2005 8:32:50 PM
Hello all,
I am working on a simple preloader for the beginning of a 150kb movie.
Although I have tried numerous things, I cannot seem to get the preloader
(which is located on the 1st and 2nd frames of the video) to appear before 80%
of the video is loaded.
I have:
Removed the "exp... more >>
Playing MC at specific times of day
Posted by dandormix at 6/8/2005 7:47:47 PM
I have two videos I want to play, one video will always play and the other will
play depending on the time. I would like to store the time information in an
external file. I'd to have it setup so It will play from 9:00am to 9:30am then
after 9:30 it will go back to the default or main video.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
tabIndex. Problem with levels!?
Posted by actionscrip at 6/8/2005 1:47:30 PM
Hello there, here it goes:
I'm having problems with tabIndex
In my flash I have following hierarchy:
tabEnabled true = T
tabEnabled false= -T
tabChildren true= C
tabChildren false= -C
tabIndex declared= Tn (tab number)
... more >>
Need math help, rounding up
Posted by robbie at 6/8/2005 1:26:57 PM
I have a little form I made to order things from a distributor. It's not
fancy, I just print out the page when I'm done and fax it over, no digital
saved copy or anything. Anyways, I have 12 rows and each row has 2
calculator buttons
Each_1 = ((Retail_Price_1)*(1-Discount_1));
So, onc... more >>
jump to a director movie
Posted by hoopster340 at 6/8/2005 1:15:31 PM
Is there a way in flash to have the flash movie to jump to a director file when finished playing? thanks. j... more >>
Strangeness
Posted by New Lingoist at 6/8/2005 1:13:45 PM
Just noticed something strange about how Flash handles booleans returned by
getter functions..
function returnTrue(){
return true;
}
function returnFalse(){
return false;
}
graphic_mc._visible = returnFalse() || returnTrue();
That works fine - Flash compares the t... more >>
Help with Flash MX please
Posted by W NO[at]SPAM nkster at 6/8/2005 11:20:00 AM
Ive made a banner in Flash MX 2004 and i now need to place it in dreamweaver as
a SWF and i want it to go to a web address when it is clicked.
I just cant get it to go to a website when i click on it, can someone give me
steps on how to do this.
Cheers
... more >>
carriage return when sending to a text field
Posted by azurepenguin at 6/8/2005 10:57:40 AM
instead of tracing my debug information, i send it to a text field, so i have
something like...
when blah blah blah
debugstatus.text = (debugstatus.text + "blah blah blah code activated");
the problem is, i want it to take a new line after each output. i tried...
debugstatus.text = (... more >>
XML CDATA to Flash href
Posted by dan mode at 6/8/2005 10:45:04 AM
hey gang
I have the following in an xml doc:
<![CDATA[
"<a href='http://www.my link.com' >Go</a>"
]]>
Now I want to be able to bring that href into a html text box in Flash.
However, it just pulls the text. is there a work around somewhere that
you've used?
thanks
--
Dan Mode... more >>
How to import one AS2 class into another
Posted by MrMiles at 6/8/2005 10:07:12 AM
Got a slight problem with importing one AS2 class into another. I'm not sure if
I'm doing it wrong, or just trying something which isn't going to work.
For this particular project, all my classes are in a sub folder, local to the
FLAs, not in a fixed location that can be accessed from the ro... more >>
Help me On Duplicate Menu System
Posted by Rajula at 6/8/2005 9:42:55 AM
I had a problem facing in duplicating of menus, i duplicated "cont" movieClip
with an array that suppose to 10 items in an array and
Movie Clip Instance name is "cont"
Create button and put Dynamic Text Box Variable is "itm"
frame Code is:
var items = ["About us", "Process", "Ou... more >>
Property setting problem when masking
Posted by stufromoz at 6/8/2005 8:43:28 AM
:frown;
I have a problem with setting the enabled property for a button when the
button is masked. If I set the buttons enabled property to false in active
script and then continue the movie the button remains disabled; as required. If
however I do the same but add a mask layer and a mask ... more >>
Using Array Elements
Posted by HonSwe at 6/8/2005 7:41:41 AM
Hello Gurus,
I have an array that has successfully been created and loaded with thumbnail
images. After the array has been successfully created, it calls the following
function. I want this function to take those thumbnail images from the array
and load them into movie clip instances that ... more >>
Adjust MC color properties at runtime
Posted by sneskid at 6/8/2005 7:21:12 AM
you can change alpha, but can you change tint, Brightness or contrast on an image with action script?
I can do work arounds, but there should be easier ways to achieve this.... more >>
MX2004 refreshPane()
Posted by dwax at 6/8/2005 7:19:56 AM
hi everyone,
Just upgraded my app. to mx2004.
The old skool component cleared her content with
componentname.refreshPane()
but this is not the case with 2004components. apparently in 2004
it refreshes her content...
I am using a scollpane to load dynamic content with attach and ... more >>
How to Play() movie clip using javascript only?
Posted by Teji at 6/8/2005 6:24:44 AM
hi
I have a movie clip "myCircle" on the first frame of the stage, inside this
movie clip i have given motion tween. i have set swLiveConnect=true ID="test"
in the PARAM tag. now i want to play this movie clip through javascript only.
Regards
Tejinder Singh
... more >>
Trapping combination keys in browser
Posted by nITiNkIlLeRmEeRuT at 6/8/2005 6:17:53 AM
Hi,
I have to trap the combination keys in browser which is a part of simulation.
the flash app can trap ctrl+ k but not ctrl + s just because it is a shortcut
key for saving and is associated with browser. is there any work around for
this.
... more >>
Mask problem issue
Posted by purple_am at 6/8/2005 12:00:00 AM
hi guys
Here is an issue i cant handle ..am going nuts with that. Let me describe
Well i have my
MAIN SWF :-- which have AS that creates empty movies clips and loads images in
it and have the images masked. On a button click, my MAIN SWF loads my
SECONDARY SWF which have the same AS a... more >>
Progressive SWFs
Posted by knucklenutz at 6/8/2005 12:00:00 AM
Hi,
I wanted put this topic out to see if anyone has any ideas. Lately I have
been working with some pretty beefy SWFs, some upwards of 20 MBs. In the past
I used the SWF Report generated at publish time to calculate the sizes of
scenes. Then I could check to make sure enough of the SWF... more >>
Encryption and Decryption
Posted by zeenu at 6/8/2005 12:00:00 AM
Hi All,
i am calling my text values externally from the .txt file, Here i have to
secure the .txt file by doing encrption and decryption, Is there any body who
can help me out how to make my txt file as encrypted and then decrypted to read
it??
Thanx and Regards
Yojana
... more >>
controlling buttons from frame 1 not working
Posted by David Mainstreet at 6/8/2005 12:00:00 AM
If I have a button on frame 10 and my code on frame 10 the button works:
myButton_btn.onRelease = function () {
yada yada
};
If I move the code to frame one and keep the button on frame 10, the button
doesn't work. How can I make the function work from frame 1? I want to keep
all ... more >>
Exporting text field information to a .txt
Posted by .fla-ud at 6/8/2005 12:00:00 AM
I was wondering if it was possible to export text field information into a
..txt.
I am trying to create a small inventory application. I want to be able to put
the quantity of an item into a text field, once submitted it would be exported
to a txt. which would then be recalled, and loade... more >>
dynamic text comes back undefined
Posted by Ineedsleep at 6/8/2005 12:00:00 AM
I have a dynamic text field that reads from a txt file this works fine when i
run it from flash but when its online it says undefined in stead of the text
that is in the file???
does any one know why this?
... more >>
Dimming a pressed button
Posted by kirknetiq at 6/8/2005 12:00:00 AM
I am using this AS to check for pressed buttons...and when pressed I want them
to dim (alpha set tp 50). But it does not work, can anyone tell me whay?
function checkButton(thisButton)
{
// "thisButton" refers to the button being pressed
if (!thisButton.pressed)
{
thisButton.press... more >>
error in creating the flash movie
Posted by DD03 at 6/8/2005 12:00:00 AM
Hi I am attempting to create a large flash movie and everytime I go to do this
I get the error that there is not enough memory available to do this. I just
added 512gb more of ram so I don't think this is the problem can someone help
me.
Denise
... more >>
Turna on and off all sounds with Mute button
Posted by kirknetiq at 6/8/2005 12:00:00 AM
Can anyone post a very straightforward ActionsScript that would allow me to
setup a Mute button to turn off all sounds and then if pressed again turns on
all sounds? I have voice and music and video in the piece I am working on. All
the examples I have seen work for just one sound.
Thanks... more >>
Help me regarding font issue
Posted by Harmeet S. Vohra at 6/8/2005 12:00:00 AM
Hi All,
I'm making an online T-shirt application in flash. I have to make outer and
inner outlines of dynamic text. User can select whether he wants only outer
outline or both(outer and inner) outlines. My problem is I don't know how to
make dynamic outlines of text through action script.
... more >>
Attempt to rotate dynamically loaded jpg around center of image
Posted by Dan_W at 6/8/2005 12:00:00 AM
Hello.
I have a main swf that dynamically loads <n> jpgs into it, and then loads each
into an associated class instance that dynamically performs transformations on
the loaded jpg. All loading and processing is done dynamically. The class
instance moves and rotates the jpg.
My problem ... more >>
on/off type switch on a button
Posted by eljefeloco101 at 6/8/2005 12:00:00 AM
I have a repeated problem where I need to check what "state" an object on the
stage is in. Is it off or on? Or in this case is it up or down? Below is my
code that does not work but portrays what I'm trying to do. Im trying to set a
variable to tell if my object is in an up or down state. Is ... more >>
How do I dynamically reference MovieClips?
Posted by nickcrispini at 6/8/2005 12:00:00 AM
Can anyone tell me if thereis a way of Dynamically referencing MovieClips?
If for instance I want to trace the X location of 10 movieClips with instance
names myClip1_mc thru myClip10_mc I should be able to use a for loop like below:
for(var i=1; i<11;i++) {
myClip = "myClip"+ i +"_mc"... more >>
Simple Form
Posted by hoffm1169 at 6/8/2005 12:00:00 AM
I need to create a simple unsecure form. I want to enter a username and
password and use actionscript to redirect me to the proper page depedning on
the login. Here is my actionscript that does not work.... Please help
on (release, keyPress "<Enter>") {
if (username.text == "admin") {
... more >>
dynamic text comes back undefined
Posted by Ineedsleep at 6/8/2005 12:00:00 AM
{loadText = new LoadVars();
loadText.load("http://www.djnow.co.uk/~newsite/data.txt");
loadText.onLoad = function() {
test.infoa.text = this.infoa;
};
this is the text I used would some one be able to explain why this doesnt work
and comes back un defined when in a previous version it... more >>
unable to transfer control (if problem)
Posted by softycom at 6/8/2005 12:00:00 AM
Hi i am trying to do a flash website which looks different at different time of
the day, say morning, afternoons & nite.
I have an asp page which send me the value of 1/2/3. Now i load this value in
flash, but I am unable to shift the control to the respective frame, I think my
if statemen... more >>
Interacting with Database
Posted by Newbie05 at 6/8/2005 12:00:00 AM
Thanks to everyone who is taking the time to read my question ( especially you
kglad )
There are two times within my site where I get information from my user and
send it to a database. One time when I get a "presentation code" and another
time when I get a "password". Each time I get th... more >>
2 swf's talking on an HTML page
Posted by aaronvhager at 6/8/2005 12:00:00 AM
This should be pretty simple i am having a brain-fart at the moment. I have 2
swf's inside index.html. One is nav.swf, the other is content.swf. When
someone clicks a button in nav.swf, i need content.swf to gotoAndPlay() or
whatever.
These swf's are in different row's within the index.... more >>
simple load and play external swf in slide presentation
Posted by JSimmerin at 6/8/2005 12:00:00 AM
I know there are complex Actionscript methods for manipulating external swf's
but I'm hoping there is an easy way to load an external swf into a movie clip
container and specify playback from the beginning of that external clip each
time the root page (or slide in this case) is loaded.
Th... more >>
Passing a data variable from flash to a CFM page
Posted by Kryss2099 at 6/8/2005 12:00:00 AM
Hi,
I'm using Flash Professional 2004 with Flash Remoting services, Coldfusion 6.1
and Access XP.
My Flash application displays the database results through a Datagrid.
Now, I very much would like to print some of these results into an already
existing form (right now a cfm page).
By... more >>
undefined???
Posted by Ineedsleep at 6/8/2005 12:00:00 AM
I have text file on line that inputs the text into the movie and it worked
fine until it went onlinenow it comes back un defined???
This is the code used
loadText = new LoadVars();
loadText.load("http://www.djnow.co.uk/~newsite/data.txt");
loadText.onLoad = function() {
test.infoa.te... more >>
Prevent locally installed projector working if no cd in drive
Posted by ChuckyLeFrek at 6/8/2005 12:00:00 AM
I am trying to implement a basic protection system requested by the client for
a projector application that is installed on the users hard drive.
Basically the application and all its media files are installed to the users
hard drive. Then every time the user launches the application, it mus... more >>
Button you can hold
Posted by teamtoast at 6/8/2005 12:00:00 AM
I've tired making a button change a variable on press and return to original
value on release and then a movieclip that performs things on enterframe
depending on the condition of that variable. It doesn't seem to be working.
Is there an easier way to do this or could you give me an alterna... more >>
Distance between characters in input text field
Posted by Harmeet S. Vohra at 6/8/2005 12:00:00 AM
Hi All,
I want to know the distance between characters in input textfield. Please help me out.
Thanks
Harmeet Singh... more >>
component bug
Posted by rekharadha at 6/8/2005 12:00:00 AM
hi,
i'm a flash application developer.i found this bug in my script when i
placed a component in my stage.the removeMovieClip() is not working and it's
also affecting my array objects.when i delete the component from my library and
everything is working fine.can anyone help me how to fix ... more >>
Detecting Cd Drive
Posted by _SmoothT at 6/8/2005 12:00:00 AM
Hi all,
I'd like to play audio externally from a cd which i don't have a problem with.
However that code would only work if they had the cd in the drive with the
same letter as what the code says.
Is there a way to detect what the cd drives on someones pc are and save that
to a variab... more >>
|