all groups > flash actionscript > march 2007 > threads for tuesday march 6
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
Action Scripting for buttons
Posted by heathermaxwell17 at 3/6/2007 11:44:32 PM
Here is my problem.
I have a two buttons on the mainstage playing two different movie clips. But
both buttons are playing the same movie clip even thought the action scripting
is different on both.
Here is my code for the buttons
The need button-
on (rollOver)
{gotoAndPlay("nee... more >>
Actionscript Export on Frame 2 Pain
Posted by jlucchesi at 3/6/2007 9:24:11 PM
Hi -
Familiar story...preload progress graphic doesn't start until 89%. Report
tells me it's the Actionscript 2.0 Classes...so I changed the Export frame to 2
instead of 1 in the Settings of the Publish Settings panel. This makes frame
one about 8KB instead of 51KB.
Yikes! Every tim... more >>
external files codepage
Posted by Lujunq at 3/6/2007 8:33:26 PM
Hi, I'm now writting some as that will load information from several files.
However, I am not able to edit these files, and they may be available with
different codifications, like iso8559 or Unicode. Is there a way to identify
the way the text was saved to load it correclty on flash? Currentl... more >>
Three very basic Questions
Posted by Adbul! at 3/6/2007 8:21:11 PM
Hi!
I have a few simple questions regarding flash AS.
Here we go...
1. Apparently . onRelease doesnt work with keys, what kan i use then?
2.How can I check if a textfield is empty?
i tried both
if (text=="")
and
if (text_txt.length ==0)
3. How can i control so that an inp... more >>
Three very basic Questions
Posted by Adbul! at 3/6/2007 8:21:07 PM
Hi!
I have a few simple questions regarding flash AS.
Here we go...
1. Apparently . onRelease doesnt work with keys, what kan i use then?
2.How can I check if a textfield is empty?
i tried both
if (text=="")
and
if (text_txt.length ==0)
3. How can i control so that an inp... more >>
Right mouse click
Posted by rc3rdmd at 3/6/2007 7:55:19 PM
All I need to do is have a movieclip that the user clicks on with the right
mouse which triggers a "gotoAndStop" function.
I don't see how ContextMenu helps me with this when I don't need a menu.
There is no way to detect a RightMouseDown ???
How about AS 3.0 ?
Rob Childress
... more >>
Z-Index
Posted by TheScarecrow at 3/6/2007 7:46:40 PM
Is there a type of z-index in flash?... more >>
using ExternalInterface from comboBox causes flash content to break
Posted by ris0tt0 at 3/6/2007 7:25:40 PM
I have a comboBox that calls a js function that spawns a new window.
The issue, is that after the user has clicked the item in the comboBox, and
the new windows appears, the content, specificly the comboBox, breaks. At this
point, close or ignore the spawned window. Try clicking the combobox... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Progress Bar to show computation progression
Posted by rj_resnick at 3/6/2007 7:01:17 PM
Hello friends,
I'm developing a large-scale simulation that has some heavy computational
requirements at specific times (e.g., when the user clicks the "end turn"
button). I would like to set up a progress bar that shows the results of a
series of computations being performed by external A... more >>
Frame targeting in other pages
Posted by shanehollon at 3/6/2007 5:42:01 PM
I have a page where the initial start page is all flash. All the following
pages are html with flash menus in a default template that stays as you
navigate. The pages all have one main inline frame called "main" that all
content is loaded in. The rest of the page does not change. What I ne... more >>
extra character
Posted by dave at 3/6/2007 5:37:31 PM
Why is it when I try to insert a "£" symbol into a mysql database using an
asp page and vbscript, it always inserts an extra character "£"
Any ideas? It doesn't do this with any other character, and I don't want it
to appear in any reports.
Thanks
Dave
... more >>
Get MovieClips nested inside another MovieClip.
Posted by maguskrool at 3/6/2007 5:14:35 PM
Hi.
I have a MovieClip named mcContainer. This MovieClip contains several
MovieClips, mc01, mc02,..., mcN. I'm pretty sure there must be a way to
automatically build an array containing the names of those MovieClips, I'm just
missing how. Can anyone give me a hand?
Thank you in advance... more >>
remove html tags from a string
Posted by Lujunq at 3/6/2007 4:38:08 PM
Hi, is there a simple way to get rid of html tags present on a string? What
about special chars encoded? What I want to do is to change
<p>Hi, this is a [B]tagged html[/B] text with some special chars:
áÁç...</p>
into this:
Hi, this is a tagged html text with som... more >>
setBounds()
Posted by castten at 3/6/2007 4:11:58 PM
Hi,
I am searching for something linke a setBounds-function. Or even better
something to tween between two bounds without frame tweening but in
actionscript. But the relativ center-point always confuses me. Any ideas
oder tutorials?
TIA... more >>
createTextField does not obey movieclip alpha
Posted by concatmedia at 3/6/2007 3:58:25 PM
[F8] createTextField help
--------------------------------------------------------------------------------
I am making a flash slide show, using Flash 8, that pulls in an XML file that
has image URLs and descriptions.
I can load up the XML and process it so I can pull out image URL... more >>
MovieClipLoader - bytesLoaded problem
Posted by clickmotive at 3/6/2007 3:41:30 PM
I am trying to create a preloader to load multiple swf files from an XML file.
I was able to add the bytesTotal of the files together to get a cumulative
bytesTotal and now I need to do the same for the bytesLoaded... the problem is
that the files load in parallel so getting the bytesLoaded i... more >>
loadSound
Posted by jude86 at 3/6/2007 3:02:40 PM
Hello,
I am wondering if anyone out there can help me!!! I'm in desperate need of a
fix for a sound problem i have. I know how to fix this problem if i import the
sound into the flash file. But i cant do this with this example because the
sound file is too large!!
I have some sound fi... more >>
Problem in MovieClipLoader
Posted by firas_81 at 3/6/2007 2:54:13 PM
Hello guys
Iam using the MovieClipLoader object to load multiple jpg images by getting
their names from a xml file but agfter a minute or two images are
disappearing.In other words I can still get a hand cursor by rolling over them
but I cant see them,please guys help me with this problem.he... more >>
movie playing slowly?
Posted by mmezo at 3/6/2007 2:18:35 PM
hey all, i'm having a little problem i hope you can help with. i had to pick up
someone elses job, its mostly done however theres a playback problem.
http://newsite.resortvacationcertificates.com/home.asp
its 3 smaller files loading into a shell swf. something is going on causing
the files... more >>
Typeout Text
Posted by Shawn at 3/6/2007 8:17:52 AM
OK, I made this typeout text thing in flash using the substring actionscript; but I would like it to pause in between sentances and commas. Please help!!
From http://www.developmentnow.com/g/69_0_0_0_0_0/macromedia-flash-actionscript.htm
Posted via DevelopmentNow.com Groups
http://www.developmentn... more >>
ifStatement question
Posted by Brian at 3/6/2007 7:38:08 AM
I have an ifStatement that I am using to drive a preloader that has
frames. It looks something like this:
movieloader_mclListener.onLoadProgress = function(target:MovieClip,
numBytesLoaded:Number, numBytesTotal:Number):Void {
if (numBytesLoaded/numBytesTotal>=0 && numBytesLoaded/numByte... more >>
Is there a _locklevel? like there is for _lockroot ??
Posted by alekatz NO[at]SPAM gmail.com at 3/6/2007 6:02:25 AM
Hi,
I load an external swf witch also loads other external swf, witch have
lots of references to level0. When this external swf is run by itself,
it works fine, but when loaded externaly it hangs, because all their
external swf are referencing to level0, and level0 now is the main
swf.
So my q... more >>
Flash Crashes, _alpha property also not correct
Posted by psykopath at 3/6/2007 5:46:07 AM
Im posting this in both General Discussion and Actionscript because I'm not
sure whether its just a Flash problem, or if my AS is causing it somehow.
Heres the problem:
I ttach a movieclip dynamically.
When I do ANYTHING to this movieclip (change its _x, or _alpha) it changes
color, almo... more >>
Auto redirect
Posted by UP4400 at 3/6/2007 5:35:19 AM
Any code suggestions on how to create a time line based auto redirect to an
html page *.html (navigated in the current frame not pop-up) that activates
automatically at the end of a movie?
I have a product demonstration movie under construction and want to auto
redirect to an html form to ... more >>
preloader for frames and sound object
Posted by serg2049 at 3/6/2007 5:31:42 AM
I need to make a preloader to preload both all frames and a dinamically handled sound object.
right now the one I have works until I add the sound object dinamically.... more >>
Help! What am i doing wrong here?
Posted by Bill H at 3/6/2007 4:19:41 AM
In the following actionscript I am loading an xml file into a number
of arrays. If I place a trace createResourceList function all the
arrays are loading with the correct values, but if I call the
showDetail function from another frame the array values are all
undefined. If I put a trace in the ... more >>
change stage dimensions with script
Posted by shueardm at 3/6/2007 3:41:33 AM
Is there a way to change the stage dimesions with a script please? Relates to another post below which I can't figure out.... more >>
Mouse dragging over many movieclips slows to a crawl
Posted by dr deetee at 3/6/2007 2:58:35 AM
I have a system where hundreds of similar movieclips ("pieces") can be mouse
dragged around in an area ("dragArea"). I am having trouble with performance.
When you start dragging a piece, it jumps to the top of the depths so it
appears above all the others. All the pieces are created dynam... more >>
Flash WOUN'T let me use timeline actionscript
Posted by Sketchsta at 3/6/2007 12:00:00 AM
This couldnt have come at a worst time, i have m deadline in 2 days, and i have
barely started the work... and now, Flash will not let me use actionscript on
frames to target anything anymore....
I first noticed it when i was making the navigation bar, it simply would NOT
target any of the... more >>
Alpha on Rollover
Posted by Wonderwendy at 3/6/2007 12:00:00 AM
Hello,
I am creating an online photo gallery in Flash. I want the buttons, on
rollover, to be at full opacity. The buttons are currently at alpha 25.
Thanks, WonderWendy
btn1._alpha = 25
// this works fine
btn1.onRollover = function(()
//this is where I don't know what code to insert... more >>
HTML bold text, imported from XML problem.
Posted by sherlocker at 3/6/2007 12:00:00 AM
:frown; I have HTML content defined in an external XML file:
[Q]<textBody><p>First line of text containing some [B]bold words[/B]. More
text with some [B]bold words[/B] and then two line breaks.<br /><br />Here's
some more text with [B]some more bold words[/B] in the middle of it. Don't you
... more >>
Help me pleaser(MovieClipLoader)
Posted by firas_81 at 3/6/2007 12:00:00 AM
Hello guys
Iam using the MovieClipLoader object to load multiple jpg images by getting
their names from a xml file but agfter a minute or two images are
disappearing.In other words I can still get a hand cursor by rolling over them
but I cant see them,please guys help me with this problem.h... more >>
how do I access a SharedObject created by another SWF
Posted by aa at 3/6/2007 12:00:00 AM
From one SWF how do I access a SharedObject created by another SWF on the
same machine ?
I know the name of the SOL file in question and the absolute path to it
... more >>
Virtual keyboard.
Posted by shootthecat at 3/6/2007 12:00:00 AM
I am making a touchscreen keyboard.
I need to be able to code a flash button so that it does the same as if you
pushed a key on the keyboard.
What would the code be for the letter "A" for example.
Sorry for the newbie question.
Thanks Benny
... more >>
adding a text field to a number of FLA files
Posted by aa at 3/6/2007 12:00:00 AM
I have a number of SWF and now I need to add an entry text field to all of
them.
I do not want to find myself creating a text field in every single FLA
I wonder if I can create in, say, in an .AS file using something like
createEmptyMovieClip and then include it into relevant FLA?
Or what othe... more >>
Ticker text width problem
Posted by bharatd76 at 3/6/2007 12:00:00 AM
I have created news ticker in my Flash application. I took one movie clip and
put one dynamic text into it. made the dynamic text autosize. so text and movie
clip width are set to the text width automatically. I am moving the movie clip
by changing the _x postion of movie clip to implement the... more >>
|