all groups > flash actionscript > october 2005 > threads for wednesday october 12
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 with buttons...
Posted by cj911 at 10/12/2005 11:24:26 PM
Who knows how I can use a button already created to open and play (in a new
window) an SWF located in the root of my site next to the index.html file. The
name of the swf is video1.swf. I have tried using the "on (Release)...getURL"
commands but the button just doesn't work. It seems like eve... more >>
Applying Variables to input texts
Posted by eclipse_79 at 10/12/2005 11:08:25 PM
I'm currently making a contact form for my website. The only problem that I am
encountering at this moment is being able to successfully give text boxes
variables for the actionscript to read.. is there any tricks to loading
variables.. any extra features that I do not know about!!
If I h... more >>
member attribute error
Posted by stephan.k at 10/12/2005 11:08:05 PM
Dear Forum
I'm learning the actionscript 2 OOP approach and I'm running into an error
message that I dont' understand. What am I missing?
Any insight appreciated. Thanks!
Stephan
----------------------
Error Message: Line 6: A member attribute was used incorrectly.
publi... more >>
Getters and setters help.
Posted by DadrianKaelan at 10/12/2005 9:58:37 PM
I think I'm progressing pretty good in Flash ActionScipt and I've come to a
point where I started seeing the use for building my own Classes to handle
common tasks and just make my life easier. I have most of down okay. Not
perfect, but I'm getting there. What completely confuses me is the ide... more >>
detect client-side's time to trigger "Day Mode" or "Night Mode"?
Posted by phinski at 10/12/2005 9:10:25 PM
Hi,
I wonder if it's possible(I haven't see such function though...) to have Flash
to detect client-side's system time and determine it's daytime or nighttime. If
the time range belongs to "daytime" then it will trigger something....
Does anyone see such function before?
... more >>
Instance Names
Posted by matthew_morvant at 10/12/2005 8:41:37 PM
I am making a Flash based map for a client. They want to use an XML file to
decide which states are shown and what links are followed once an active state
is clicked. I have worked out all of the XML part but want to streamline the
code in the buttons. I have a button called "btnCalifornia"... more >>
help creating multiple gotoandplay's from one frame
Posted by knittnick at 10/12/2005 8:34:40 PM
help! please!
I have a quiz i am putting together, i have a frame where there are 4
items(doors) you can click on to go to a question. i only have 4 clickable
items and have 32 questions altogether. i would like to be able to make it so
that each time you click on the item you get a differen... more >>
How to get the framerate of swf files
Posted by e.dit at 10/12/2005 8:07:35 PM
Hi, is there any way to get the framerate of an swf movie?
Thanks,
Edit... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Help with Open Window and AOL
Posted by Chris Goodiel at 10/12/2005 7:56:28 PM
I have tried a couple variations in fact my first was from a add-on to Flash
that I bought threw the Site here that worked no problem on my computer but on
AOL and IE on windows based machines that code did not work. So I searched and
found a topic here that had a nice bit of code that I tweak... more >>
fscommand problem
Posted by pford68 at 10/12/2005 7:49:32 PM
Hello, I'm try to call an AppleScript from a Flash moive using fscommand().
I've looked through the Macromedia forums and other places, and I seem to be
doing everything correctly; yet nothing happens when I click the Flash button
that should activate the script. In troubleshooting, I scaled d... more >>
Submit Form
Posted by Ryan Schmitt at 10/12/2005 7:16:22 PM
Hello,
Does anyone know how to transfer data from a ComboBox, a DateChooser, and a
RadioButton to php? I'm building a submit form that contains these three
components, but I don't know how to get their data from the submit form to
email, through php.
Any input would be helpful.
Than... more >>
wishlist: foreach() construct
Posted by dee-man at 10/12/2005 6:35:15 PM
It would be great if ActionScript had a construct that functioned like php's
foreach() which is used to iterate through arrays or objects.
An example of the foreach construct from the
http://us2.php.net/manual/en/control-structures.foreach.php:
<?php
$arr = array(1, 2, 3, 4);
forea... more >>
_globals bug is obvious! It works for loading local swf's, but not for external ones, for me at least
Posted by ivanko_98 at 10/12/2005 6:31:24 PM
so the whole problem I've been having about declaring vars on the _global obj
in two separate SWFs and those vars not being visible is now driving me crazy.
Vars declared in both SWFs are being shown together in the for-in loop (as they
should) if the SWF is loaded from the local disk. But the... more >>
Flash 8 filter animation
Posted by alanwallace4 at 10/12/2005 12:41:58 PM
Hello,
Im following a tutorial at gotoandlearn.com on animating filters with code and
im trying to get the hang of it but have become stuck when trying to apply it
to a movie clip from a button.
In the tutorial it is a basic rollover of a movie clip, but i would like to
target a mc from a ... more >>
Slider gone awry
Posted by amyinbrooklyn at 10/12/2005 12:37:24 PM
Hello, I am not actionscript saavy and have done this using a tutorial I found.
I cannot figure out what part of the actionscript forces the button to stay
positioned on the y-axis of the path. I know that the part of the code that
says 330 tells the button that it can only slide that length o... more >>
play movie on key stroke
Posted by scornn at 10/12/2005 11:30:44 AM
I have a flash movie and I want it to play when the "a" key is pressed then return to the first frame and wait till the key is pressed again
any ideas?
... more >>
Linking to .pdf file for a CD
Posted by MachineFan at 10/12/2005 11:24:28 AM
Hi,
I've creating Flash content that is going to be used on a CD. This content is
playing in FlashPlayer (not a browser) and I have a button that links to a .pdf
also on the cd. the code is as follows:
on (release) {
getURL("./my_folder/my_pdf_file.pdf", "_blank");
}
I'm getting... more >>
looking for ideas
Posted by cm77 at 10/12/2005 9:39:54 AM
Is there a way to generate a random tween so that a movie clip randomly moves,
rotates, fades in and out, scales, etc... and at the end of the tween (about
20 frames maybe), it will end up at the desired location, and with the desired
properties?
... more >>
Image scrolling, quick question
Posted by VictorFreriks at 10/12/2005 8:58:18 AM
I'm building a small feature on a website with a 1024x500 movieclip scrolling
trough a 400x300 movie using the Xpos and Ypos of the mouse to navigate left to
right and top to bottom, kind of like the background in the 'Find your match'
movie at macromedia.com. I can get it to move but is doesn... more >>
test internet connection?
Posted by jakattak at 10/12/2005 12:00:00 AM
Is there any way a Flash application (exe or Mac app) running on a local
machine can determine if the machine is connected to the internet (or any
network, for that matter?) I'm working on a project that I want to load an xml
document only if the user is already connected to the internet . Wha... more >>
Animation to make the image to appear
Posted by johnta at 10/12/2005 12:00:00 AM
I'd like to know how to create the animation that make the image to appear on
screen, like on this site. http://www.preload.it/flash/index.htm
everytime I click on a different background image, there's this cool animation
before the image appears. any idea how to make this or where can I find ... more >>
preloader help?
Posted by aesthetix at 10/12/2005 12:00:00 AM
hi guys, i'm working on a preloader, i have a movieclip 'preloader_mc' it is
converted from a bitmap, it takes up 40 frames (1-40), it is motion tween to
slide from the right to the left. i'm not sure how to go about building the
preloader for this. i want this preloader to calculate the total... more >>
target mc from main timeline
Posted by jmoore09 at 10/12/2005 12:00:00 AM
I have a movie clip in two frames on the main timeline. In that movie clip I
have two sections with the second having a frame lable. Once I advance to the
second frame on the main timeline I want the movie clip to advance to the frame
lable within the clip. I am having problems getting this to... more >>
Tooltip - Need immediate help!
Posted by darthsmozers at 10/12/2005 12:00:00 AM
I mouse over a button on my Flash map, and the tooltip pops up. Thats great!
Its loaded from the following:
actionscript for the first frame of the buttin layer:
#include "toolTip.as"
actionscript for the button:
on(rollOver) {
toolTip("Press this button",3);
... more >>
loadMovie() resizing issues
Posted by sowiebinich at 10/12/2005 12:00:00 AM
I need to be able to dynamically import .jpg pictures and I'm trying to do that
using loadMovie. I understand there is a loader component in the component
library that's part of Flash, but it seems to resize the image so that it's not
streched or skewed but fits in the box.
I've tried m... more >>
hitTest and swapDepths
Posted by Frederic Jan at 10/12/2005 12:00:00 AM
I?m trying to create dragable movieclips, and next to that, when a movieclip is
clicked, it should swap to the highest depth. I?m using the following script.
I use a hittest because there are buttons inside the dragable movieclip; they
will not work when I use ?onPress/onRelease?.
When ... more >>
Need Help on Load Movie issue
Posted by jsroark at 10/12/2005 12:00:00 AM
I am creating Flash content for CD use. I have put together some flash
animation with a menu consisting of buttons. The plan is to click on the button
and it loads an external swf file (created in Captivate and published as swf).
Once the movie is through playing, I want the user to be able to... more >>
Protection
Posted by Diego619 at 10/12/2005 12:00:00 AM
Is there any way to protect my photos from getting downloaded and/or getting printed? If there is a way without having a username & password it would be great.... more >>
Playing sounds from external folders
Posted by DecemberNitro at 10/12/2005 12:00:00 AM
I have a sound called 123.wav in another folder from where the SWF file is. What Actionscript would I type (on release) to play the sound?
Please help ASAP! THANKS!!!... more >>
I want to move the end of a line and the rest to follow.
Posted by Andrei Stoica at 10/12/2005 12:00:00 AM
I want to move the end of a line and the rest to follow. And the coordonates to apear in a box in a corner. Please answer! Thanks!... more >>
I need help now
Posted by threedsmom at 10/12/2005 12:00:00 AM
Hello to all who read this,
I am a new web page designer, using a trial version of macromedia flash
8.0. I am thinking of buying this product because so far, it totally rocks. I
am however, having one slight problem. My client does not want her web page to
close when her clients ar... more >>
setInterval issue
Posted by bderber at 10/12/2005 12:00:00 AM
I am loading 3 jpegs into 3 movies. When they are loaded I am putting dynamic
text over them. They need to be completely loaded first, and the issue is
assuring they are loaded completely before I put the texfiles in the mc's.
First - I am writing to a Flash 6 player.
The best I have b... more >>
Movie Clip not Visible
Posted by seagullwing at 10/12/2005 12:00:00 AM
I'm trying to draw over a movie clip that I've already generated. After having
generated the primary display, I createEmptyMovieClip or duplicateMovieClip
and write on it hoping that what I write will be visible on top of the one I've
already done. It isn't. This is the code of the routine... more >>
component text anti-aliasing?
Posted by rudgr at 10/12/2005 12:00:00 AM
I'm using an embedded font to style a component button's label:
cbtButton.setStyle("fontsFamily","GillSansEmbedded");
cbtButton.setStyle("embedFonts","true");
Is it possible to set the text to anti aliased just like a regular flash
textfield?
... more >>
Re: Animation to make the image to appear
Posted by kglad at 10/12/2005 12:00:00 AM
http://www.istockphoto.com/file_search.php?action=file&filetypeID=4&text=dynamic,flash,image,gallery,flash,dynamic,image&s1=129... more >>
Re: Tooltip color?
Posted by kglad at 10/12/2005 12:00:00 AM
yes, if your textfield has instance name tf, you can use:
tf.textColor=0xff000;
tf.background=1;
tf.backgroundColor=0x00ffff;... more >>
Slider working...
Posted by amyinbrooklyn at 10/12/2005 12:00:00 AM
So, I've made a movie clip from a row of buttons. I placed this MC in the main
timeline and named the instance "scrollMC". To this instance, I've attached
this script:
onClipEvent (enterFrame) {
_root.scrollMC._x = -.95*(_root.slider.b);
}
To the instance of the button for the slider,... more >>
bug in mac flash player ?
Posted by doopcircus at 10/12/2005 12:00:00 AM
Hi! I'm in a terrible trouble: I just finished preparing a long long script to
load external files inside a flash movie. Now, everything worked quite fine,
'till I found out the movie doesn't work at all with mac ( at leas MAC OS X).
There's some mac bug I don't know ?
Hlp me please, I'm d... more >>
Re: Tooltip color?
Posted by kglad at 10/12/2005 12:00:00 AM
i don't know when you want to change those colors and i don't know what's in
your .as file, so i'm unable to say when and where that code should be located.
in general, that code should be executed whenever you want to change a
textfield's text color and/or background color (or border proper... more >>
FLMX: a hard help request
Posted by DoZ at 10/12/2005 12:00:00 AM
Hi.
I have 2 movieclips on the same timeline:
1) "stage" is just used for its dimensions and position;
2) "mappa" is a map very larger than the "stage".
"On "mappa" there is this code, wich is for resizing "mappa" itself:
//------------------------
onClipEvent (enterFrame) {
if (Key.isDown... more >>
Syntax Error
Posted by khosting at 10/12/2005 12:00:00 AM
Frame=1 Line=2
String Literal Not Properly Terminated
txt = '<b>Cleftworks entertainment </b><br>officially manages Adrian "The Rock
Star" Holoman who was born in Memphis Tennessee</br>'
Please look at the code and let know what is wrong
... more >>
code/content movie structure
Posted by dnk NO[at]SPAM canada.com at 10/12/2005 12:00:00 AM
Hi there - I was hoping to get some feedback from people as to how they
structure their
code/content in flash movies - IE code/copntent contained in movie clips and
targeted
from the main timeline, or an external SWF loaded in with it's own contained
code and so
on. I have been workin... more >>
|