all groups > flash actionscript > november 2005 > threads for thursday november 10
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
Moving a MovieClip
Posted by Spot3313 at 11/10/2005 11:23:51 PM
Hey,
im trying to create a function that i can call on several buttons that will
move images when a btn is pressed... however im doing something wrong... i
think it might be the distX in my function but im not to sure
function moveImage(clipName, xDist) {
xDist = _x
speed = 25;
_... more >>
No Actionscript
Posted by surfy Munky at 11/10/2005 11:16:33 PM
Hi There,
I'm very much new to Flash and I'm following some tutorials in the "flash
visual quickstart guide" and when following a tut about how to add frame
actions, I get to the typing of the script, I click to get my insertion point
in the script pane but typing has no effect the cursor ... more >>
Multiple JPG Loads with movieclipLoader class
Posted by boxdoctor at 11/10/2005 11:10:40 PM
Ok, this has got to be one of those...."can't believe I didn't see this" errors
that we all love. Situation is I have a clip which is loading in 3 or more
JPG's and placing them in different spots on the clip at different sizes,
aspect ratio, etc. However when loading them via a loop and the... more >>
embedded Fonts on demand
Posted by Sukram Nietsloh at 11/10/2005 11:05:22 PM
Hi there,
are there any chances to apply a font to a textfield, where the the font was
loaded from a swf file, which only embedds a font.
If not, what could I do, to "pretend" it?
Greets and thanks in advance
Sukram
------------------------------------
My Flash: Flash Professio... more >>
Re: Quick question...
Posted by SBAR_weenie at 11/10/2005 10:21:50 PM
attachSound (Sound.attachSound method)
public attachSound(id:String) : Void
Attaches the sound specified in the id parameter to the specified Sound
object. The sound must be in the library of the current SWF file and specified
for export in the Linkage Properties dialog box. You must call ... more >>
Question regarding Flash Video API
Posted by Chris Ivey at 11/10/2005 10:01:34 PM
I've been appealing to everyone I can think of for a definitive answer to this
question:
- are there any undocumented methods or workarounds that would let you
reliably seek intervals of less than one second in an .flv file?
Ideally, I would like to be able to step ahead one frame at a t... more >>
maintaining appearance of button "down" state
Posted by victor322 at 11/10/2005 10:00:03 PM
this seems easy enough, so it's probably more of a simple solution than i
realize.
so i have a set of buttons arranged in a sort of gallery menu, such that each
button is a link to a different set of pictures. the menu stays visible the
whole time, while the corresponding pictures are loa... more >>
Mouse.hide();
Posted by JF213 at 11/10/2005 9:21:32 PM
I am trying to hide my mouse, so that a mc that I have can follow my mouse in
its place. Everything works great. Only problem is when I view the swf file
back in firefox or IE the cursor follows my mc.(The cursor doesn't show up in
just the swf file.)
I am using
//hide mouse
onLoad ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
whats going on with my button?
Posted by 3zekial at 11/10/2005 9:19:34 PM
Hello, I am trying to creat an animated button where when u hover over the
button a picture around the button spins, but when I go to actions the actions
scrfeen it says "current selection cannot have actions applied to it" can
somebody please tell me what I do to get the picture to spin when ... more >>
Syntax for multi-line text entry via actionscript.
Posted by SBAR_weenie at 11/10/2005 9:14:18 PM
I'm looking for the syntax to load a field dynamically:
var FieldOne = "line one." +???? + "line two" + ???? + "line three"... more >>
Clas instance not visible in second scene.
Posted by SBAR_weenie at 11/10/2005 9:06:04 PM
When I create an instance of a class in scene #1 when I get to scene #2 I don't
have access to any of the properties. Tried _root. & this. and still nothing.
What can I do to make them visible across scenes?
... more >>
it don't go to the third scene "Help"
Posted by episthmon at 11/10/2005 9:01:09 PM
:Q I have a flash file with three scenes.... "main" - "photos" - "contact" and
at the top of the scene i have 3 buttons
one for the first one for the second and one for the third scene.... So... the
action script on the second button is
"on (release) {
gotoAndPlay("photos", "1");
}"... more >>
x AND y motion
Posted by Net Irritation at 11/10/2005 8:56:11 PM
After scripting until i was blue in the face on something that boiled down to
such a simple script, I am listing the solution below for any who are having a
problem with movement to specific locations on the page.^_^
//on the movie clip----------
onClipEvent (load) {
_root.navyX = _x;... more >>
Disable tab navigation in flash 7 or more
Posted by vusubhashini at 11/10/2005 8:52:13 PM
How do i disable tab navigation in flash7 or more? or how do i customize tab navigation?... more >>
Flash Mortal Combat type game
Posted by CombineC at 11/10/2005 8:36:03 PM
Hi,
I'm working on a flash game project that will be very similar to street
fighter or mortal combat.
The basic tutorial I am working from is here:
http://www.video-animation.com/flash_06.shtml
The biggest hangup I'm having is how to make a computer opponent fight me.
I can make th... more >>
Preloading External SWF
Posted by JonathanPeters at 11/10/2005 8:11:11 PM
The tutorials talk about preloaders to load the main movie itself, or calling
for an external asset (i.e. SWF or JPG) from the maintime to the maintimeline
(or from the timline of a movieclip to the timeline of the movieclip). They do
not talk about invoking the loading of an external asset i... more >>
FileReference upload and ASP
Posted by nonnus at 11/10/2005 7:58:49 PM
hi there
i am trying to get this very interesting new flash feature to work with an
asp upload script
in this case ASPsmartupload
(http://www.aspsmart.com/lib/download/en/aspSmartUpload.zip)
the script works perfectly from a html web form but keeps returning a http
error 500 if access... more >>
preloader with loadClip() is breaking my SWF
Posted by _sacal_ at 11/10/2005 7:42:39 PM
Hello all,
I have 2 SWFs: one is preloader and the other one is the actual content
(test.swf).
In the preloader movie, I'm creating a new empty mc at run time, with:
this.createEmptyMovieClip("container", 1);
Then using the loadCLip to load and track the progress of my test.SWF in... more >>
Can't describe my question (part 2)
Posted by stillwaiting at 11/10/2005 7:40:59 PM
Okay, I have got it a lot closer to what I want but I am having a sync problem.
When onRollOver is called for the first time everything operates properly. The movie plays 7 frames and stops when both the height and alpha reach
100. But the problem comes when onRollOut is called. The MC begins pla... more >>
DataSet->DataGrid: Binding a subset of the fields
Posted by Viascape at 11/10/2005 7:17:02 PM
I am working with Flash 8 and the new Flash Remoting (AS2) to retrieve data
dynamically from a server with AMFPHP (Milestone 3) and a MySQL Database. When
a remote service is called that returns a RecordSet, the result is stored in a
DataSet that I would like to use to populate a DataGrid. I... more >>
Keeping swf in cache?
Posted by thejokerman05 at 11/10/2005 7:06:46 PM
This is how it looks when loading:
_level0.myMCL.loadClip ("biography/biography.swf", 35);
My problem is that it always start loading from scratch everytime I click the
load button. To close this swf I use _visible = false, just so it shouldn't
unload itself. How do I make it stay in cac... more >>
target dymanic xml generated movie clip
Posted by broken45 at 11/10/2005 6:49:09 PM
I am currently working on a flash map that pulls in xml to place house icons on
a maps according to certain attributes. You can see what I have in progress
here: http://www.meritagehomestexas.com/proof/flash_map/
I am trying to get the key on the right hand side to hide/show certain icons
... more >>
(Newbie) Advance slides after completion of an audio file?
Posted by newbie19 at 11/10/2005 6:48:14 PM
Hello. I am very new to flash and am attempting to put together a flash slide
presentation. So the moral of the story is please keep the responses simple,
because I am probably the newest newbie you've encountered. The presentation
is about an hour and a half revolving around spoken audio f... more >>
load movie not working on UNIX/PC server
Posted by tyburski77 at 11/10/2005 6:18:10 PM
I have swf's that will load movies as well as pictures, neither have been
working on the UNIX/PC server, but it works on the MAC server.
It works on this(MAC SERVER):
http://www.interactcom.com/lcc/test/higherandhire.swf
it doens't on this(PC SERVER):
http://stagesrv.lcc.ctc.edu/hs
... more >>
How do you attach movies?!?!?
Posted by Jimmathy at 11/10/2005 4:49:38 PM
Okay, I'm making a game I have a character that is supposed to be shooting
bullets. The bullet I've already placed out ther and the character both move
x+=3. I'm trying to figure out how to make it so if you press "0" it creates
the bullet behind the character. The way I already have the bulle... more >>
Dynamically loading fonts
Posted by Mark Redman at 11/10/2005 4:41:30 PM
Hi All,
Is there a way to dynamically load a font into a flash movie once the movie
is published?
for instance getting a list of font from a server to be used withing the
movie.
Any help or pointing in the right direction would be greatly appreciated.
Thanks
Mark Redman
... more >>
unusual problem with some fla files
Posted by designerabhi at 11/10/2005 4:06:48 PM
Hi,
iwhile working on a memory game my flash software started unusual behave.
first of all some commands l\for navigation like gotoAndStop didnot execute
when published, then movieclips when directed to move to certain frames moved
to some other frames, to my dismay when i posted them to a ... more >>
telltarget
Posted by boomtownUSA at 11/10/2005 3:33:16 PM
hello,
this is a simple question...
im trying to use the telltarget command in an externally loaded swf to control
the root movie
using this...
on (release) {
gotoAndPlay(16);
}
on (release) {
tellTarget ("/") {
gotoAndPlay("next", 1);
}
}
the problem i encoun... more >>
Problem with "_height" field of TextField
Posted by GrEnDeL_ccl at 11/10/2005 3:25:48 PM
I use a code like this:
function
createLabel(mc:MovieClip,name:String,x:Number,y:Number,w:Number,t:String)
{
mc.createTextField(name,mc.getNextHighestDepth(),x,y,w,0);
mc[name].type="dynamic";
mc[name].selectable=false;
mc[name].wordWrap=true;
mc[name].autoSize=true;
mc[nam... more >>
Function call from another timeline
Posted by Kevin Stocks at 11/10/2005 3:19:25 PM
I have checked this newsgroup for the answer, but the solutions don't seem
to work in my case....
Flash 8 Pro, XP
-------------------
I have a master movieclip which loads a lot of sub clips based on user
interactions.
In a space on the master clip, it is the intention to load differen... more >>
Rewind timeline
Posted by pekr at 11/10/2005 3:09:56 PM
Is it possible to make a button, which will rewind back from the current frame,
for examble I reached frame 100, and i click the rewind button, now the
timeline is playes backwards in 2x time speed, ignoring all stop commands that
must be on the way, and stop at frame 1.
Thanks
Peter
... more >>
SWF Audio Movie File
Posted by G_Swank at 11/10/2005 3:08:10 PM
I have a SWF called "intro.swf" All it contains is an audio track that is
looped. I want to be able to load it and have the audio play.
loadSound() didn't work neither did the loadMovie() followed by play();
Stumped in Wisconsin.
... more >>
Swap movieclip symbol dynamically
Posted by prehistorictractopel at 11/10/2005 2:58:59 PM
Hi,
I just want to switch a movieclip from one symbol to another. The aim is to
reflect state changes like enable/disable, mouseover/mouseout....
I guess there is something around symbol, but I don't know how to change it
dynamically from actionscript.
Thanks!
... more >>
Flash 5 to 9 Action Script
Posted by Palonsson at 11/10/2005 2:44:05 PM
Hi!
I have Flash 5 and 8... I am very intrestening to do a little "game". I am
just a beginner. I wan't to press a button, and when I press that button, the
button moves. Not in the timeline (frames), in Action Script! I have tryed a
little with _x and _y but it doesn't work so good.
... more >>
Visible function not working
Posted by AudreyWalker1 at 11/10/2005 2:22:02 PM
I'm trying to use the script to make movie clips candle2 - candle10 visible.
instead of write out, candle2._visible = true 9 times, i figured i could create
a loop. i have other movie clips that i need to do the same with. but when i
run this script, it's not making anything visible. i did a t... more >>
Sound.onSoundComplete again
Posted by Jess_23 at 11/10/2005 1:55:09 PM
I know that there are many questions about this topic, but neither of them
worked for me. As usual I try to make a sentence reading stuff, so where the
script would play the words each after. Here's the code (this is a "working"
solution from a previous question):
function playsentence() {... more >>
progressBar Script not working?!?!
Posted by wiredsc at 11/10/2005 1:24:27 PM
I have created my site around a blank movie clip called container. The buttons
and title remain throughout and all the content gets loaded into 'container'
using this script:
var myMCL:MovieClipLoader = new MovieClipLoader();
myMCL.loadClip("images/image.jpg", "container");
That works ... more >>
input email subject line
Posted by krustafarian at 11/10/2005 12:35:04 PM
Hi, is there any way i can fill in the email subject line and body text with my
desired text by adding script onto the following code?
on (release) {
getURL("mailto:name@company.com");
}
help much appreciated.
cheers
... more >>
HELP - type mismatch error only on MAC version of Flash 8
Posted by Steve Lombardi at 11/10/2005 11:31:45 AM
I've been using this code to open a window in one of my projects,
created in Flash 8 Pro:
on (release) {
import mx.managers.PopUpManager;
import mx.containers.Window;
// Instantiate Window.
var mywin:MovieClip = mx.managers.PopUpManager.createPopUp(_root,
mx.containers.Win... more >>
preload dynamic images
Posted by Gustavo Thiesen at 11/10/2005 11:21:57 AM
hi...
how i can do the exact result with a flash MX script?
this script only works with flashplayer 7... i need to do the same script
for flashplayer 6.
what can i do for this?
thanks,
Gustavo
script:
var container:MovieClip = this.createEmptyMovieClip("container",
this.getNextHig... more >>
Simple movement problem..
Posted by lostinscript at 11/10/2005 10:26:06 AM
Hi,
I have a movie clip that i want to attach to the stage and then move...I can
attach it but i cant get it to move....Here is the script i used. Any ideas? I
have the code in a movie clip on the stage.
I have tried using..........this._x += xmov ..............but find everything
els... more >>
Play after preload
Posted by notorioussan at 11/10/2005 9:57:58 AM
Well, we need some help out here. We have a movie with an actionscript to
preload it. We used the follow script:
var connection_nc:NetConnection = new NetConnection();
connection_nc.connect(null);
var stream_ns:NetStream = new NetStream(connection_nc);
my_video.attachVideo(stream_ns);
... more >>
Play timeline on Release
Posted by pekr at 11/10/2005 9:39:08 AM
Im really confused about the follow thing.
I have a timeline with about 200 frames and several layers. First of all I
have a action layer, which has a keyframe for every 20 frames with an action to
stop the timeline from playing (works fine) now when the timeline stops
different button app... more >>
Selection.setFocus(textField ) carat?
Posted by smon_ed at 11/10/2005 9:24:32 AM
Is there any way of making a textField carat visible when I use
Selection.setFocus(textField) ?
The setFocus() is made correctly, but there is no visual indication !!!!!!
Any help greatly appreciated. Thanks.
Simon.:confused;
... more >>
How to make one like this
Posted by purple_am at 11/10/2005 9:03:33 AM
Hi
Anyone can help me in making a preloader for external jpegs like the one in
the site http://www.fredperry.com/index.html
Visit the shop section and say foot wear for example.
When you get in the shopping section you see that the shoes are loaded one by
one with a preloader. I need... more >>
a turnable button
Posted by lizlizl at 11/10/2005 8:47:48 AM
Hi,
How would be easiest way to implement a turnable button in flash? Like old
volume buttons on an old radio, but I need it to be turnable by mouse cursor
dragging(or something similar) and to have about 6 different functions in
different positions..
I'm quite a newbie in flash, and i di... more >>
XML in Flash2
Posted by evil_genious at 11/10/2005 8:25:22 AM
Well this time i tryed to load some images into Flash through XML. I did it.
Now I have another problem. How can i acces them and give them actions?
Here's the script i wrote
http://player.evonet.ro/script.txt
... more >>
loadMovie Problem
Posted by JPigford at 11/10/2005 12:56:26 AM
I've got various layers:
actionscript
base
background
In the action script layer I have:
loadMovie (background_01.swf, mvc_bg);
And in the background layer I have mvc_bg with an instance name of mvc_bg
The problem here being that background_01.swf isn't loading at all. I... more >>
Re: changing mouse icons
Posted by JF213 at 11/10/2005 12:07:04 AM
I am not sure if you understand what I am doing. I can't just remove that
code, or else my pen will never stop drawing.
When I change onMouseUp=function(){onMouseMove=null;} to
onMouseUp=function(){onMouseDown =null;} My pen keeps drawing.
So is there a way to fix onMouseUp=function()... more >>
Low Tech Data Sending?
Posted by Bahaar at 11/10/2005 12:00:00 AM
Hey gang.
I'm looking for a really low-tech (ie: low cost) way of sending captured data
back to the server. I'm doing a series of small training modules and so here's
the scenario:
1: The .swf file sits on a remote server somewhere.
2: The user access the web site and the .swf runs.... more >>
Problem using loadMovie...again
Posted by JPigford at 11/10/2005 12:00:00 AM
I have a button inside a movie clip. Here's the flow:
Main stage/timeline > mvc_changebg > mvc_bgphoto > btn_changephoto
I'm trying to do loadMovie to a movieclip on the main stage (i guess that's
root?).
Inside mvc_bgphoto I've got this:
btn_changephoto.onRelease = function() {
_... more >>
Reversing Timeline Effect
Posted by lou222 at 11/10/2005 12:00:00 AM
Hi all, maybe this is something that is too easy, but I wondered if there is a
way to reverse timeline effects, such as making an object blur in rather than
out. Any experience with this? I should note that I've already tried to edit
the effect by hand by reversing each of the layers in the ef... more >>
Longitude and Latitude --> X and Y coordinates
Posted by anonymusflasher at 11/10/2005 12:00:00 AM
How in the world do you convert longitutional and latitutional values into x
and y coordinates? If it matters, the map i'm using is a Behrmann Cylindrical
Equal-Area Projection Map. Any ideas are welcome
... more >>
Loaded swf call loadVars object?
Posted by amyinbrooklyn at 11/10/2005 12:00:00 AM
Hello! I have a movie that loads another SWF into it. In the loaded movie, I
have a text field created with AS which is supposed to load an external .txt
file. Well, it works locally but does not when loaded to the server. I read in
the help file for Flash that it's not a good idea to load co... more >>
Hidding FlashPaper Toolbar
Posted by chrispe at 11/10/2005 12:00:00 AM
I know that you can hide all of the buttons in the FlashPaper toolbar by using
the code below but my boss doesn't want the bar on one of my application pages,
so is there any way to hide the entire gray toolbar and not just the buttons in
the toolbar?
fp.showUIElement("PrevNext", false);
... more >>
sound with a button
Posted by treybraid at 11/10/2005 12:00:00 AM
i have kinda a stupid question-- on my site i have 15 button's which represent
15 different football team's... i was thinking about recording their name and
placing it on each button... im ok to do that right...just create a layer
within the button and drag and drop the sound file to that late... more >>
Flash and ASCII
Posted by Dinghus at 11/10/2005 12:00:00 AM
I'm doing a load from a page and getting back ASCII, any easy way of converting
it to standard characters?
Like
38%20YEARS
to
38 YEARS
Other than parsing over everything because the strings are loooooong. Not
sure why they are coming back as ASCII anyway.
... more >>
|