all groups > flash actionscript > august 2005 > threads for friday august 26
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
detect platform in ActionScript?
Posted by kevinbaird at 8/26/2005 11:40:00 PM
So how, with ActionScript, do you tell whether you're on a Mac or PC? Running
from a server or on a CD-ROM? Do you ask JavaScript to tell you about itself?
Specifically, I'm trying to detect whether I'm running on a Mac but not on
it's boot volume, because FLV won't play there unless I ch... more >>
Combo box combined with timeline control
Posted by Aguilanegra at 8/26/2005 10:45:28 PM
Hello All,
I am looking for some precedent on development for the following:
Customization of a combo box to include a timeline control (scrubber
equivalent) for an imported movie.
I understand that there may not be an immediate answer to this...however, can
anyone point me in the ri... more >>
Flash Presentation Slide Problems
Posted by kellydigital at 8/26/2005 9:08:01 PM
I've created a flash presentation with about 10 slides. Each of which has
their own animation. To prevent the slide from looping i've put a stop();
command at the end of each...my problem is, on my menu I used the behavious
screen.gotoslide function, and while it does go to the desired slide... more >>
Please help with asfunction
Posted by iJustLoveFlash at 8/26/2005 9:01:23 PM
I managed to create a text parser what makes all URLs in text a link
automaticlly. I would like to pass on 2 vars not 1, but then it does not work.
I was also unsuccessful creating an custom function what did not work
custom_getURL($url){
getURL($url, "_blank");
}
How to p... more >>
fade out and load new
Posted by eugene lvovsky at 8/26/2005 8:38:10 PM
Can somebody, please, come up with something for this. I've tried different
variations, but nothing works.
Lets say I have 3 buttons. Each of them will load a new MC onto the Stage.
That's simple, one movie clip will immediately replace another. But what I want
is to have my MC, that is ab... more >>
Changing Alpha of a MC via Actionscript
Posted by SBitter at 8/26/2005 8:11:37 PM
Hello all,
I'm working on an animation where there is 2 Movie Clips on the stage. When I
click on one clip, I want the other's alpha to change to 25%. Is there a way to
do this via actionscript?
Here's the code I'm using so far....
this.mcCanada.onRelease = function() {
mcCanada... more >>
Help with Arrays
Posted by Hoathy at 8/26/2005 7:19:12 PM
I want to be able to cut my actionscripts down a little by changing large
scripts like this:
_global.ANYVALUE = function(){
PA1.gotoAndStop(2);
PA2.gotoAndStop(2);
PA3.gotoAndStop(2);
PB3.gotoAndStop(2);
PB5.gotoAndStop(2);
}
into something simple, like an array that adds '.got... more >>
ActionScropt to Add User Input Variables
Posted by SDH39 at 8/26/2005 6:41:20 PM
I am trying to get the data that is entered into an input field to add and
display. I have defined the variables as Number(variablename), but when I try
to add this at the end....I get a "NaN" result or nothing at all. If I remove
the script....the total goes to 0 which is what the variable ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
help with passing variables
Posted by muskungus at 8/26/2005 6:36:21 PM
I am trying to figure out the best way to control a .swf from an asp file.
Ideally, when someone goes to a page I would like to pass a variable to my .swf
and move my timeline to go to a certain point. I have the path and understand
that I need to encode some characters, but am not sure what e... more >>
POSTing vars from flash
Posted by Tim Perrett at 8/26/2005 1:16:46 PM
i have the following code...
on (release) {
var page:String = "stageOne";
var product:Number = 10;
getURL("faq.php", "_self", "GET");
}
But when the page opens, the URL is faq.php, not the expected
faq.php?page=stageOne&product=10
i am using the GET method to check my data i... more >>
Displaying a webpage within an empty mc
Posted by bingham at 8/26/2005 1:11:01 PM
hi. Does anyone know if it is possible to display a web page within an empty
movie clip, just like you would an swf?
I have tried;
empty_mc.loadMovie("http://www.google.com");
Any suggestions or advice greatly appreciated!
... more >>
Is it a BUG in FLASH MX 2004?
Posted by Creative Ravi at 8/26/2005 12:41:47 PM
hi friend,
I tried all ways that you told me but the problem is still there. Now i clear
things more for you, i have a input text field on scene not in any movie clip
and on the first keyframe, its a password field, and i want that when user come
on this screen cursor should blink into the t... more >>
Image quality in Projectors
Posted by Ash Spain at 8/26/2005 12:14:37 PM
I am making a projector to go on a CD rom.
I know that when you embed a swf in a html page you can set the quality to
best so that scaled images still look clean.
Is there any way of setting the quality to best in a projector so that scaled
images still look nice?
... more >>
Auto complete input- /combobox, list
Posted by judo4 at 8/26/2005 12:11:30 PM
Hi,
Question 1:
Is it possible to have a list of client numbers + names and when the user in a
input box or combobox starts to write a client no. it automatically complete
input ? That would be, it find the first match in the list.
Example:
-the list includes 3 entries:
342423
4453... more >>
centering a loadmovienum
Posted by touching the void at 8/26/2005 11:25:01 AM
Hello
I am trying to load an swf using loadmovienum and center this movie on the
main scene.
How to do ?
I have a wide main scene (1020*760) on which am loading using loadmovienum a
an swf which is in 640*480.
Thus, the loaded swf goes in the top left place in my main scene. I want i... more >>
how can I get to windows registry from Flash?
Posted by antidotcb at 8/26/2005 11:21:24 AM
can anybody help me
if you will offer me some extension, plz only freeware
... more >>
why is preloader making pictures pixellate?
Posted by meenokawaii at 8/26/2005 11:03:01 AM
does anyone know why this code is making the pictures in main.swf pixellate?
function preloader(){
kbLoaded = movie.getBytesLoaded() / 1024;
kbTotal = movie.getBytesTotal() / 1024;
percent = Math.floor(kbLoaded / kbTotal * 100);
display.loaded.text = Math.floor(kbLoaded) ... more >>
Please help :( Why does not it work?
Posted by iJustLoveFlash at 8/26/2005 10:40:03 AM
Why does it on first click works. After closing down form "x" and reopening it
does not work? Still openes the mc but the info is not passed!
class TextPU {
function TextPU($h, $t) {
_root.attachMovie("pop_up", "pop_up2", _root.getNextHighestDepth());
_root.pop_up2.head.text = $h;
... more >>
layering movieclips
Posted by Scally_Ally at 8/26/2005 9:56:31 AM
hi all,
I have built a dynamic menu bar using the attachMovie() function to pull in my
buttons. My buttons are actually movie clips with an onRelease = function()
there.
The trouble arises when i try to layer another movieclip over the top of the
ones already there to cover them up so... more >>
finding IP
Posted by sujinsrambikkal at 8/26/2005 8:26:52 AM
How can we find the ip of a computer using flash.....?????
Is there any function to find the ip of the machine where our flash movie is
running?????
please help me.........
Thanks and Regards
Sujin
... more >>
flv video
Posted by enj0y at 8/26/2005 7:50:54 AM
hi , need to know , how to delete flv file in temporary floder's user ,
i use netStream for play flv file and use CLOSE method to close Netstream .
In help of flash tell that method CLOSE can delete flv file too .
but i still can see flv file in temporary floder , so pls suggestio... more >>
Dynamic Menu - onRollOver TexteField + MovieClip
Posted by Sagaraph at 8/26/2005 7:10:53 AM
Hi,
I have an actionScript code that generate a matrix of folders .
The MovieClip "FolderClip" has 2 labels :
- "off" -> a folder image
- "on" -> the same folder image, colored and with a texteField
I have a problem with the onRollOver function :
newClip.onRollOver works, th... more >>
Help - to play a wmv file on flash
Posted by rlmEEna at 8/26/2005 5:58:41 AM
i am really need help regarding this.. i need a code or Action script and if
its possible i need a sample to play a wmv file on flash through streaming.. is
there any way... and yeh one morre thing to tell.. it should work on IE as well
as Firfox and netscape also...
thanks in advance...
... more >>
addProperty
Posted by abeall at 8/26/2005 12:00:00 AM
It's always bugged me(small issue) that _currentframe is a read only property.
It would be nice if you could just change the _currentframe, and the playhead
stays the same. At any case, this doesn't solve the preserve-playhead issue,
but I did this:
MovieClip.addProperty("_depth",getDepth,... more >>
createEmptyMovieClip problem
Posted by yaniv73 at 8/26/2005 12:00:00 AM
hi
i have on my _root level a movie clip under the name (TOPS) now i want to
create a movie clip inside but for some reason i can't
i tried : _root.TOPS.createEmptyMovieCLIP("image"+i,level) and fpr some reason
it is undifined BUT
if i am trying to craete on the root level it ok :
... more >>
Controlling the main swf with buttons in a loaded movie within that swf
Posted by Centerpoint Computer at 8/26/2005 12:00:00 AM
mainMovie.swf has an empty movie clip called container_mc which contains a
loadmovie() command to load banner.swf. Banner swf has the buttons for
navigation in it. These buttons need to control what happens in mainMovie.swf,
not banner.swf. How do I address the root document from the button... more >>
mouse walls
Posted by 3tBSI at 8/26/2005 12:00:00 AM
whats the AS code to prevent the cursor from getting out a box?... more >>
How do you create a text box so a user can enter text into it????
Posted by Cagarner at 8/26/2005 12:00:00 AM
hi
im fairly new to macromedia flash and im starting to use more indepth action
scripting. But i have a problem, i dont know how to create a text box. The type
of text box i mean is like the text box on the top-right hand corner of this
page (the search text box).
i have no idea how to... more >>
onEnterFrame problem
Posted by bwm_razel at 8/26/2005 12:00:00 AM
I have a shell that I load movies into. I have button on this shell, that,
onRelease, some scenario details appear, attached from the library. Now, that
all works fine and dandy, but I want the scenario details to disappear when I
go to the next frame in my loaded swf, and for some reason it's... more >>
scrolling movieclip with mask issues
Posted by Detonate 2004 at 8/26/2005 12:00:00 AM
Got a masked movieclip that I want to scroll. The scrolling works fine but
applies to the whole stage on mousedown.
Is there a way I could isolate this to the scoll button only?
top = _root.movMask._y;
bottom = _root.movMask._y+_root.movMask._height-_root.movScroller._height;
left = _roo... more >>
contentPath
Posted by pantonov at 8/26/2005 12:00:00 AM
Hallo,
(I don't speek English very well]
I'd like to open diferent external swf clips in one scrollPane window
depending on "if" condition.
This swf names are filling into MC variable and that is called with
contentPath.
But it not work.
Are you know any solution? Many thanks.
e... more >>
problem with code
Posted by lwestenberg at 8/26/2005 12:00:00 AM
i got the following code from the internet. it loads an xml file into a
horizontal dropdown menu.
the problem is that it doesn't place the buttons besides eachother but at the
same place, so you can only see one button
who can find the problem for me.
function menuOut(xml, movW, mcH, mc... more >>
getting object variables from text file
Posted by Scally_Ally at 8/26/2005 12:00:00 AM
Hi there,
I am really struggling with a drop down menu i am making.
I have all the tween functions working and now i am struggling with bringing
the variables in from a text file.
here is a snip from my text file code:
&subHeading0.numRows=3&
&subHeading0.rowTitles[0]=VISITOR ZON... more >>
Dynamic Array Question
Posted by mjpolizz at 8/26/2005 12:00:00 AM
ok, so I have a question that askes what names are on a form they are refering
to.
The correct answers are 4 names (in no particular order) to find off of the
form are:
Angela Austin
Starr Brooks
Andre Charleston
James Robin
basically, those names can be entered into any ... more >>
Help with keylisteners
Posted by bwm_razel at 8/26/2005 12:00:00 AM
OK I have this boolean variable that I'm setting equal to true or false with
this code:
// Indicate if you want the user to advance to the next frame upon pressing Tab
var tabAdvance:Boolean = true; //or false
Now, when tabAdvance is true, my listener code should execute, but apparently ... more >>
Preloaders
Posted by cytotech at 8/26/2005 12:00:00 AM
Group - I am perplexed over the preloader tutorials I have read. All of them
require you to use the first (X) frames of your movie which house the preloader
frames and coding. Once the movie loads it then skips to a predetermined frame
and the movie plays. (you with me so far?)
Can't we cr... more >>
Links?
Posted by bryancounts at 8/26/2005 12:00:00 AM
I am using Note Pad to dynamically load text for description boxes and buttons.
I have the text loaded but now I would like to be able to change the button
path or URL through notepad file as well - is there a code or a way to do this?
HELP ! - Bryan
... more >>
|