all groups > flash actionscript > july 2007 > threads for friday july 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
I have a Scrolling Button problem
Posted by smoothcanvas at 7/6/2007 11:39:27 PM
:confused; OK I created a movie clip and placed it on the stage. Inside this
movie clip I have menu buttons that drop down when you hover over the right
areas. This part works fine. What do I do so that when I click on a button
that drops down it goes to the main timeline and tells it to ... more >>
dynamicly swap image in a movie?
Posted by false_vapor at 7/6/2007 7:55:08 PM
Hi everybody.
I'm trying this:
I have a movie clip which does something with a graphic (jpg).
I have a boutton as well on which I want to load different jpg from a url into
that movie clip and then replay.
That way I'm hoping to crate one of those slide shows that performs that same
movi... more >>
onRelease Load Movie Clip
Posted by PapaSpot at 7/6/2007 7:52:37 PM
Hey guys, I'm kinda new to Flash. I purchased a Flash template and am trying to
modify it. The pages are actually movie clips. When you click on a button, the
page slides out and another page slides in. I need to add this same function to
other buttons that I've added (i.e. When a visitor push... more >>
onsoundcomplete; onload
Posted by nik c at 7/6/2007 6:35:40 PM
Hi,
Maybe I am just having a mental block and can't see the wood for the trees.
The issue is that I am creating a sound object inside a function, and start a
sound playing. Then as long as I address the sound object from inside other
functions it works fine, but not if I address it outside... more >>
getUrl from another directory
Posted by BS82 at 7/6/2007 6:27:08 PM
onClipEvent (enterFrame) {
h = "ban"+n+".jpg";
// trace(h);
t = getTimer();
if (n<=_root.tot) {
if (t-oldt>=2000*n) {
a = false;
loadMovieNum(h, 2);
_root.button.l = _root[n];
n++;
}
}
}
i have this code, then _root.button.l is linked to
on (release) {
getUR... more >>
Broadcasting Events with EventDispatcher
Posted by MaxManNH at 7/6/2007 5:08:21 PM
Greetings all,
I am putting together a game where I have some clickable areas that dispatch
events to some movieclips on my stage. When I add the movie clips onto the
stage and add each clip to the broadcaster object with addEventListener it
works great. However when I add the movieclips ... more >>
addEventListener(MouseEvent.MOUSE_OVER, afunction(i) )
Posted by Panosher at 7/6/2007 4:13:47 PM
Anybody knows how to pass a variable to a function that is called by an event
listener ??????????
I recieve the error "Expected 2, get 1"
a=1
lala.addEventListener(MouseEvent.MOUSE_OVER, getvar(a) );
function getvar(event:MouseEvent, a:Number):void {
needthevar[a].textColor = 0... more >>
Loading Text into SWF
Posted by wonderwilson at 7/6/2007 3:29:37 PM
Hello Everyone,
I wonder if anyone could help?
I have a SWF with multiple dynamic text fields. I want to load in the contents
of ONE text file into the five or so fields at the touch of a button. Can
anyone advise on how to set up a XML or TXT file and the Action Script to allow
this t... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Flash stops with no reson...
Posted by ofiras at 7/6/2007 3:14:33 PM
Hii everyone,
I'm a new programmer in flash.
I made a game, and I wrote somewhere "gotoAndPlay" to frame 2, but he
stops there, and there is no script in frame 2...
Why could it be?
The file:
http://www.mediafire.com/?6eiy9dms2t2
Please help,
Ofir.
... more >>
Custom datagrid sort
Posted by timo89 at 7/6/2007 3:12:33 PM
Hello,
I have a datagrid that has a row that contains information similar to this:
1,2,3,4,T4,T4,5,6,..17,29,..43,T44,T44,45.. and so on.. I hope you get the
idea.. if an element appears more than one time, it has a "T" at the beginning
(this data is from a database and I have to display it ... more >>
Load by date
Posted by ptvsavant at 7/6/2007 3:10:15 PM
Greetings!
Hoping I might get some help with a problem. I want to create a movie that
will read the date (numeric day off server or user computer) and load an flv
(or swf) into the movie. Any suggestions as to a starting point. The thing that
is holding me up is the date detection.
Tha... more >>
Can I warp text around image?
Posted by amir.saad at 7/6/2007 1:40:56 PM
I read the text and the image path from MySQL. Both are displayed correctly but is there anyway to force the dynamic text box to wrap around the image?... more >>
How can I fade the movie clip when the mouse is over?
Posted by amir.saad at 7/6/2007 1:37:49 PM
Is that possible? if yes, how can I do so?... more >>
How can I stop the autosize of movie clip when loading an image?
Posted by amir.saad at 7/6/2007 1:35:22 PM
I'm loading an image into a movie clip, how can I force the movie clip to have fixed width and height regardless of the ... more >>
html
Posted by jimi1960 at 7/6/2007 1:01:30 PM
Does anyone know how I can retrive some text from a HTML page and then the text returns to the FLASH movie, does anyone know if this is even possible.
Thanks
James... more >>
XML to Array to html text
Posted by Brian at 7/6/2007 12:54:34 PM
I am trying to get the content of my xml document into a text field. I
have the following AS:
/*******************************/
var aInfoText:Array = new Array;
this.scroller_all.scroller_slider.infoScroll.infoText.autoSize = true;
var xmlContent:XML = new XML();
xmlContent.ignoreWhite ... more >>
Help with .SWF exiting...
Posted by GellyBean at 7/6/2007 5:32:45 AM
I have the folowing problem with the way the .[b]SWF[/b] is exiting?
For example,
The buttons contain the following script to call any xx.swf:
[b]on (rollOver) {
gotoAndPlay(2);
}
on (releaseOutside, rollOut) {
gotoAndPlay(10);
}
on (release) {
loadMovieNum ("about.... more >>
sendAndLoad with ASP
Posted by knucklenutz at 7/6/2007 5:32:44 AM
I have seen threads on this topic before but I think my situation might be
unique. I am using LoadVars.sendAndLoad to pass vars to an ASP script on a
different domain via the GET method. The ASP script does not return any values
back to Flash but to be safe I do pass a return LoadVars object... more >>
Whats wrong with this construct
Posted by atlkhan at 7/6/2007 3:07:17 AM
I am passing values to php like this and writting those values to a same text
file.
coding.send("http://localhost:8080/dogyears2.php","blank");
nop.send( "http://localhost:8080/dogyears1.php","blank");
lvOut.send( "http://localhost:8080/dogyears.php","blank");
values in coding and lvOu... more >>
Looking for advice from a flash programming sage
Posted by enfantterrible at 7/6/2007 12:22:45 AM
I'm looking for some advice from some flash sage, greater than myself (not that
difficult).
Although I've purchased Flash cs3 pro, I haven't used it and I don't know if
I'll ever use it. my dilemma is; I've developed a flash CRM in Flash 7&8 with
ActionScript 2. The CRM application is made... more >>
Moviecliploader how to get the mcTarget?
Posted by verbruggher at 7/6/2007 12:00:00 AM
How can I get the standard arguments like bytesloaded, target, etc immediately
trough my proxy class? Without using it like this. put it in var in the start
section and read out in the proxy.create() section?
var mclThumbs:MovieClipLoader = new MovieClipLoader();
var listenerThumbs:Obj... more >>
listener onEnterFrame ?
Posted by Michealnl at 7/6/2007 12:00:00 AM
Hello,
I am trying to make a listener to an OnEnterFrame event.
But it does not work.
Does anyone know what i am doing wrong?
Regards,
var listen:Object = new Object();
listen.onEnterFrame = function () {
trace ("some text ");
}
onEnterFrame.addListener(listen);
... more >>
global variable
Posted by Manu Palasery at 7/6/2007 12:00:00 AM
Hi,
I have laoded an XML file and assigned node values to an array through a
function. Array values are names of images that has to be loaded dynamically
into a movieclip and to rotate them as an AdRotator. I can't access the array
values outside the scope of function. Is there any way to... more >>
XML formating
Posted by Dave.Hollings at 7/6/2007 12:00:00 AM
Hi all,
I have been trying to format my XML data when it loads into a flash text area
component. The component is set to render text as HTML and I have applied
global styles that I want. However everytime I run my app the XML data has not
been formated corrected based on the styles I want... more >>
onLoad event ? Is there an alternative?
Posted by derDirk at 7/6/2007 12:00:00 AM
Hey there.
I hope that maybe someone can give me a hint.
I´m trying to build a XML based picture viewer.
Once the picture is loaded into a movieClip you should be able to zoom,pan and
rotate it.
My problem now is to have an event handler like the onLoad-function, but if I
use this fun... more >>
Keyboard Help
Posted by Thread7 at 7/6/2007 12:00:00 AM
I want to do something that should be simple. I want to run a movie clip when
a certain keyboard key is pressed. I have found various code that should let
me do this but it all gives me problems. both of the following methods work in
a new blank project. But when I try to put them in my ex... more >>
Carousels'
Posted by wonderwilson at 7/6/2007 12:00:00 AM
Hello Everyone,
I've followed the excellent Lee Brimelow tutorials on creating carousels, but
I'd like to customise it a bit to launch a new SWF or URL from each button, any
ideas?
Thanks
Darren.
... more >>
SWF General Performance
Posted by Lip?o at 7/6/2007 12:00:00 AM
First, sorry about my English :)
I made a presentation in CD (that could be a web site), using many animations
in action script, but the animations are too slow, and i´m using 41 fps.
The general performance of my swf are very bad. Anybody know how can i improve
some performance to my sw... more >>
drag & drop
Posted by absurd29 at 7/6/2007 12:00:00 AM
I have several MCs on stage that users can drag & drop with the mouse. How can
I also give the option of moving the MCs by using the 4 arrow keys(up,down etc)?
I can't put this code on them all as they'll all move at once:
bloc1_mc.onEnterFrame = function() {
if (Key.isDown(Key.RIGHT)) {
... more >>
|