all groups > flash actionscript > june 2006 > threads for thursday june 1
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
Slide Show Transitions
Posted by AnteUp21 at 6/1/2006 11:55:56 PM
:confused; A first time flash user here. I am trying to create a simple slide
show with transitions. Couple of questions: 1) is there a way to have mulitple
transitions on the same slide, but have them not go off together but at
different time, ie. one word comes in and locks into place then a... more >>
structure of xml
Posted by icarusdown at 6/1/2006 9:59:22 PM
How do I format the structure of xml
from:
<root><news><title>title text</title><body>body text</body></news></root>
to:
<root>
<news>
<title>title text</title>
<body>body text</body>
</news>
</root>
//code
var news_xml:XML = new XML();
news_xml.ignoreWhite = true;
Ad... more >>
duplicate MCs are vanishing
Posted by thac313 at 6/1/2006 8:35:26 PM
basicly, I have created a function that dupicated a MC and can take a
duplicated and finds the parent and duplicated that. but for some reason I can
create only 2 or 3 duplicates of any MC i create. It seems like I am reaching
a threshold but I dont think I am even coming close.
thanks... more >>
flash reading text file
Posted by mohit04 at 6/1/2006 8:24:35 PM
Hi,
I am trying to decipher where is a flash file I have reading its text from. Can anybody help me in this.I can send the .fla file and you can reengineer it.... more >>
MovieClip problem
Posted by liek04 at 6/1/2006 7:54:02 PM
This seems to be a simple problem, but I can't figure out why I can't get the
_width-property out of a MovieClip. I've been struggeling with this for six
hours now... Please help.
I've broken down the code into just these lines:
this.createEmptyMovieClip("test_mc",this.getNextHighestDept... more >>
"Loading" script
Posted by CharlyAR at 6/1/2006 7:19:44 PM
Hello everybody. I'm rusted using Flash, and I have a doubt...
I know that I can google about making a "Loading" movieclip, but looking at
different scripts I foudn in the net, I was wondering...
Why can't I use a script like this one (that it seems more... simple to me,
and is the one I c... more >>
sendAndLoad() nightmares
Posted by JakeTheSnake3.0 at 6/1/2006 7:17:45 PM
Hey everyone, I'm having copious amounts of problems in regards to
sendAndLoad(). I know the code in flash is perfect. I know the code in my ASP
page is perfect. Why is it screwing up? For one thing...I don't think the ASP
page is receiving the right variable...and another, when I do respo... more >>
Preloader - slowing things down?
Posted by MrIzzard at 6/1/2006 6:55:00 PM
Hello there - hope you're good - thanks for looking at this.
I've been experimenting with 2 different kinds of preloaders, they both work
(internal & external preloaders), both giving the same kinda results... but
both slowing things down a bit.
Let me explain!
I have 2 swfs, ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Linking problems
Posted by SpanishGoth at 6/1/2006 4:37:42 PM
What I'm trying to do is open an swf when pressing on a button and closing the
original swf while keeping everything in the same window. I've tried the
getURL method with limited success.
ex:
on (press) {
getURL("main.swf","_self");
}
It will open the file I want but only in an... more >>
inserting line breaks in dynamic text?
Posted by manhattanmediaworks at 6/1/2006 4:31:01 PM
We are working on a project where we do includes on an .as file and in that .as
file there are variables assigned as text strings. In cases where there are no
paragraph breaks everything is groovy, but when we have a variable that is
assigned a text string with a paragraph break, it says that... more >>
Input textbox in Flash 8
Posted by =HPSF=Jackal at 6/1/2006 3:46:13 PM
Hi All, I came across a problem this morning I was able to find a work around.
I have a standard input textbox and a button. What I want to do is on(release)
trace the value of the input textbox (No big deal right ;) )
this is what my trace comes back as: (Not good when you are trying to get... more >>
embeded fonts to load when i wont not in the beginning
Posted by JimmySlam at 6/1/2006 3:37:09 PM
How do i make that the embeded fonts load whenever i want? they just take
ages to load in a slow connection and until they are not loaded the movie
doesnt start, and how do i make a loading in this case???
anyone can help?
... more >>
Datagrid loaded
Posted by Tolk at 6/1/2006 3:28:08 PM
I'm loading items into a datagrid via xml. Then i'm performing some functions
involving column names etc. How would i check the datagrid has finished loading
because at the moment i get "undefined" returned because the data is not loaded.
Would it be something like:
var changeListener = ne... more >>
Code execution order
Posted by Nixy at 6/1/2006 2:44:29 PM
Hi
Weird question, but I guess that I'm not alone with this question.
Here it is. I have a movie that I load in to another. Frame 1, there is
nothing exept all functions declaration. On the frame 5, the movie start. It
means that there is many clip and subclip there. All on one frame. I p... more >>
sendAndLoad fails with https://
Posted by binary_manee at 6/1/2006 2:42:15 PM
:confused;
I am having a problem with sendAndLoad on a secure site. Has anyone run
across this before? In
Internet Explorer it does not work at all. The Flash forms are sending data to
PHP scripts on the secure site
(https) and connecting to a MySQL database. If I change it to a non-se... more >>
Calling _root of a .exe
Posted by Owned1Up at 6/1/2006 2:36:29 PM
I have a .exe I am running locally, and a server which hosts all of my .swf
files. The .swf files are being loaded into a movieclip on the .exe named
rVideo with _root.rVideo.loadMovie("<a target=_blank
class=ftalternatingbarlinklarge href="http://...").">http://...").</a> When
calling on ob... more >>
Trouble with button unloading a movie clip
Posted by Mordred58 at 6/1/2006 2:29:32 PM
This is an extension of the problem that I've been having with my e-learning
course. I am making a glossary file that will have vocabulary terms pertaining
to the lesson that is being accessed by the user. I have multiple swf files
which are being managed via XML. In the main swf file (the ... more >>
Detecting f10 key
Posted by dave at 6/1/2006 2:22:18 PM
I'm trying to detect the f10 key but it's just not working. All other
function keys are ok, but f10 just hilights the FILE menu item. I've set
trapallkeys to true but still no good.
Am i doing anything wrong?
Thanks
... more >>
Need localConnection Help
Posted by teh_pako at 6/1/2006 1:45:57 PM
Well now to explain my idea... I have a series of buttons in 'buttons.swf' and
just an empty mc in 'movie.swf'. We are going to be playing a different video
with each button, and i thought that it would be better for size(not file size)
to have them in sparete swf, it has also been requested t... more >>
Upload files: enabling folder write permission with PHP
Posted by John Doe at 6/1/2006 1:40:44 PM
hi:
i'm testing the Flash FileReference class to select files for upload to
a server through a PHP script
so far so good provided that the folder where the files are going to be
uploaded exists and has write permission enabled for everybody. but what
about if i need to upload to a new fo... more >>
movie clip
Posted by freyne at 6/1/2006 1:24:21 PM
Hello there folks,
I have a movie clip of a hydraulic cylinder on its own layer, I have another
movie on the main timeline, my problem is this,
I need the movie clip to be on the stage throughout the entire movie and I
need the movie clip to run when a specific frame on the main timeline is... more >>
Need help with email form
Posted by BykerGrove at 6/1/2006 12:55:49 PM
hi
i have an email form within my flash movie. here the code on my send button:
on (release) {
if (name eq "" or email eq "" or message eq "") {
gotoAndPlay("error");
} else {
loadVariablesNum("form.php", "0", "POST");
gotoAndPlay("thanks");
}
}
and here is the co... more >>
Syntax check and auto-format disagree
Posted by pauland at 6/1/2006 12:48:36 PM
Flash 8 Pro: Well, I'm coding along quite nicely and decide to auto-format.
Auto-format says the code has errors, the syntax check says there are none. I
can run my code (though it's not doing what I want) without getting an error.
Are there specific scenarios that cause the syntax check and... more >>
Commas in text fields...
Posted by DIY_Lobotomy at 6/1/2006 12:20:53 PM
I have a couple fields where people enter some numbers and then calculations
are done (behind the scenes), and a resulting number appears in a new field. I
need to know how to get commas to appear in the appropriate places (for
instance - if someone's result was 82746, I'd want it to appear a... more >>
I want my movie clip to play
Posted by freyne at 6/1/2006 10:23:57 AM
Hi there folks,
I want my movie clip on the stage inactive until 100 frames have played, once 100 frames have played I want the movie clip to play, what do I need to do?
......thanks in advance... more >>
getURL (*.pdf, "_blank");
Posted by boyBacon at 6/1/2006 9:36:46 AM
Hi All,
I have a flash movie which should load a pdf into a new window when a button
is clicked. The button has the following code:
my_btn.onRelease = function() {
getURL ("<a target=_blank class=ftalternatingbarlinklarge
href="http://www.web_site_name.com/file_name.pdf",">http://www.w... more >>
Preloader Error
Posted by The bloke from stoke at 6/1/2006 8:56:50 AM
Hi Guys
I am having a problem with this bit of script for a preloader I am using on a
website. It worked fine for an old site i did using flash 6 but when publishing
using flash player 8 it comes up with a syntax error on the first line. Any
ideas?
txtPercentage = Math.round((_root.ge... more >>
scaling problem
Posted by benflo at 6/1/2006 8:19:29 AM
Hi,
I have the problem to scal my movie clip properly. You can see the problem on
www.theshirtzone.de. Click of one of the 3 graphics on the right site. Now you
can see it on the shirt on the left site. If you try to scale it you will see
my problems. I need scall it on all corners and I n... more >>
From string "Object()" to Object() ?
Posted by mr.eddy at 6/1/2006 7:17:13 AM
Hi,
I would like to create an object by a name in a string. For example see
attached code. Now is this possible somehow? Thanks!
var myObjectConstructor:String = "Array()";
var myObject = new eval(myObjectName);
... more >>
Adding an event to a button
Posted by prachis at 6/1/2006 6:46:55 AM
Hi,
I have a button in my action script. After clicking on that button it should open a '.bat file'. For example 'test.bat'. The path of the file is 'C:\test\test.bat'.
Please help.
... more >>
External CSS Style Sheet to Set Object Color?
Posted by KidRacer-X at 6/1/2006 6:33:50 AM
I know just enough to be dangerous, so please be kind! I have created a style
sheet in Dreamweaver for my site. It works and I understand it enough to be
dangerous. However, my site incorporates flash graphics throughout that I would
like a stylesheet/CSS value to affect. I was told this is po... more >>
CD Authoring with Flash
Posted by Rough Diamond at 6/1/2006 4:26:46 AM
Hello there. I have some experience creating websites with Flash but now need
to take this to the next level which is CD Authoring. Naturally my first
question is; is Flash a good option for this? There won't be any hardcore
video and sound to this cd production, it's pretty much a info site ... more >>
Flash and Director Problem
Posted by wally_errrr at 6/1/2006 3:46:26 AM
Hi,
My flash file is working fine, but i need more control over the mouse. So i
have imported my flash file into director. For example when i execute my SWF
as a standalone SWF, it load a background image into the bottom layer. This
works fine, but when i put it in director, it doesnt d... more >>
Wait until movie clip moves to certain position before loading SWF?
Posted by Matt_M_ at 6/1/2006 3:46:16 AM
Hi,
I have this code that waits a second, then moves the background around when
buttons are clicked:
_root.currMovie = "home";
container.loadMovie(_root.currMovie+".swf");
bgTargetX = 42;
bgTargetY = 117;
onEnterFrame = function(){
backGround2._x = backGround2._x - ((back... more >>
play 10 frames, then go to
Posted by _gary_ at 6/1/2006 2:07:03 AM
I am a novice with actionscript, I am looking for help on how to:
with script attached to a button, I need to tell a swf file (timeline) to;
on press
play 10 frames from current position (this envokes a tween that changes the
alpha of the swf)
then go to and play a specific frame (for exam... more >>
What could prevent my StyleSheet styles from showing up?
Posted by woodtah at 6/1/2006 1:28:33 AM
Can anyone give me any suggestions as to why the code below will not work in a
"real" file? When I copy and paste it into a dummy file, it works as it
should, but when I am using it in my "real" file, it does not work. Are there
any "gotchas" that I need to look out for? How can I test this... more >>
shared library question
Posted by dexterbland at 6/1/2006 1:20:44 AM
I have built a simple content management system which uploads a bunch of swf
files to a server when the user hits a "Publish" button. Now the case has
arisen that some of these files link to external shared libraries, so I need to
be able to locate these and upload them too.
Can anyone sug... more >>
Wait a few seconds?
Posted by Matt_M_ at 6/1/2006 1:05:37 AM
Hi,
I have this code right now that makes the background move when a button is
pressed. I would like to make it wait 3 seconds before moving the background
when a button is pressed so that my external swf's exit animation finishes
first. Can someone please tell me what to add to this code ... more >>
|