Search found 1247 matches

Actual Results

Post Posted: April 4th, 2011, 4:22 am

it depends on how you use them. First i'd suggest you get a better knowledge of OOP in general. Then read about the OOP for actionscript. In your case, you should do something like old school c++, creating a destructor function in your classes, which will reset most of the variables, and call it fro...

Post Posted: April 4th, 2011, 4:09 am

oh, this happens when you try to do things without understanding them.
That code would actually work if you knew where to place and if it would be for the correct version of actionscript.
But if you don't know the basics, can't help you.

Post Posted: April 4th, 2011, 4:00 am

In this situations, usually you keep track of the current loaded image index. So let's say you have images = Array("img1.jpg", "img2.jpg", ... "img14.jpg"); // or however you build it. Next add a new array var imagesTargetURL:Array = new Array("http://www.google.co...

Post Posted: April 4th, 2011, 3:53 am

For this you need to know the total time of the movie. [code] var timeTotal = 15; // total time of the movie, in seconds var dragXStart = 0; // left most x position of the ball var dragXEnd = 800; // right most x position of the ball // this will return the time you have to set for your player, afte...

Post Posted: April 4th, 2011, 3:26 am

then in first step check out for: input text addEventListener KeyboardEvent.KEY_DOWN second step: as3 load image I'll provide you some sample code with the input text part, the image part you do the research for it. Assuming you have an input text on the stage, with the instance name inputText : [co...

Post Posted: April 4th, 2011, 2:53 am

move the line footerText.defaultTextFormat = tsFont;
above the line footerText.htmlText = xml.copyrightText.articleText;
Just a matter of priorities.
I know, i know, no need to thank me :)

Post Posted: February 18th, 2011, 3:44 am

yea, i have a sugestion.
When everything else fails, use javascript (of course if you can hanlde it) :)
http://www.ozzu.com/flash-forum/externalinterface-class-t81957.html

Post Posted: January 5th, 2011, 4:04 am

it might depend on how the flv was encoded. If it doesn't have any cue points, then the seek can not be performed. Try with some other flvs which you get from web, and see if it works or not.

Post Posted: December 13th, 2010, 2:31 am

as i said, you need some castings in order to make it work properly.
so that line of yours would turn into:
var useBitmapSmoothing = MovieClip(this.parent).useBitmapSmoothing;

Post Posted: December 10th, 2010, 4:45 am

this seems to me it's the case when loading is not completed due to internet connection. To avoid that, try adding a preloader to your swf or move your code to the second or third frame and add a "stop();" at the end of your code. Also is better to enable the Strict Mode for AS3, since you...

Post Posted: December 10th, 2010, 3:44 am

uhmmm, i`m amazed no one answered to this question and also that you don't read the help for the Tween class. Anyway, this is a simple to implement multi tween which start one after another. No comment offered, hope you understand what i did there. [code] var myTween:Tween; var step:int = 0;...

Post Posted: November 17th, 2010, 4:53 am

mmm, you guys should learn how to use what you know, extend it and use your logic to apply it for your current situation. In your case is basically the same. [code] // if mouse in left side (xMouse < this.x) if (_root.xMove < 0) { if (this._xscale < 0) // if not already flipped ...

Post Posted: November 17th, 2010, 4:34 am

Code: [ Select ]
this.addEventListener(MouseEvent.CLICK, this_Click);
function this_Click(evt:MouseEvent)
{
 Nextimage.stop();
}
  1. this.addEventListener(MouseEvent.CLICK, this_Click);
  2. function this_Click(evt:MouseEvent)
  3. {
  4.  Nextimage.stop();
  5. }

Post Posted: October 18th, 2010, 7:28 am

Well, that could happen, for the video content and maybe some common galleries, but for games and other graphic effects, i doubt it. I wonder now why Microsoft didn't focus more on advertising Silver Light, could've been a potential rival for flash in future editions. But maybe they wait for exactly...

Post Posted: August 18th, 2010, 1:38 am

as 5N4K3 says: fscommand works only in projector and if the file reside in a subdirectory called fscommand. Adobe info: The exec command can contain only the characters A-Z, a-z, 0-9, period ()., and underscore (_). The exec command runs in the subdirectory fscommand only. In other words, if you use...

Post Posted: August 10th, 2010, 2:59 am

oh, yes i would ... if i only could ... but unfortunately the edit button is not available anymore. Can i hack it? can i? can i? :)
Ohh, seems i can no longer do that. But if you give me access to the database, i`ll make sure to change it :idea: :mrgreen:

Post Posted: August 6th, 2010, 2:22 pm

uhhhmm, my first photo uploaded on this contest, so don't be harsh with me :D

Post Posted: July 13th, 2010, 3:23 am

we all been total newbies to Flash at a certain moment and been trough frustrating situations, but eventually we kept on going. So i'd say you keep trying until you figure it out. It may seem hard and discouraging at start, but if you focus your attention a bit more, you'll eventually succeed. As fo...

Post Posted: July 13th, 2010, 3:14 am

to do that, you'll need to insert the logo symbol inside the items of the carousel, test for it so it will not be rotated along with the other items, and then swap the depth of the logo according to the positions of the carousel items. Sound simple doesn't it? Well, it isn't that simple :p Another t...

Post Posted: July 13th, 2010, 3:00 am

oh ye, flash generally is a CPU killer, not only on mac. And that happens especially when you overload your frames with graphic processing. From what i see in that site, you're continuously creating a flickering effect in the middle of the scene. I'd remove that, since i bet is very CPU consumer plu...

Post Posted: July 6th, 2010, 3:17 am

you can start with adobe flex or with adobe flash free trial (CS5 is the latest ver for adobe flash), then grab some tutorials / books from the net. Try senocular.com, has nice tutorials and sources.

Post Posted: July 1st, 2010, 2:14 am

You need some physics in the ball part, so either you use an existing engine or you make your own.
It will be a movement in the 3d space for the ball, considering the speed of the ball (which is calculated upon the impact) and the gravitation. So ... have fun doing the maths, you gonna need it :D

Post Posted: July 1st, 2010, 2:04 am

Test both of your scripts and see if they work independently. Test the php file using $_GET instead of $_POST and pass the parameters in the browser link like: http://server/login.php?var_login=xxx&var_password=yyyy and see if the desired outcome is obtained. My best guess is that the flash file...

Post Posted: July 1st, 2010, 1:48 am

ye, i hate those templates too :D
That action basically says that the hovered menu goes to the frame called "s1".
So look in the flash library and check for the symbols where the menu is, usually there are separated items for each menu, just go edit them.

Post Posted: July 1st, 2010, 1:38 am

getURL is like typing a new address in your browser, but you should use it like: getURL("mypage.swf", "_self"); while the second approach will load the swf inside your current flash. Code looks fine, only thing to wonder is that if it is actually triggered. Debug your code by add...

Post Posted: February 12th, 2010, 4:45 am

seems that this keyword doesn't work for buttons, so better transform the buttons in movieclips

Post Posted: November 21st, 2009, 12:40 pm

depends on how you did it :) But in actionscript 3.0 you need something like this: [code] import flash.events.Event; import flash.events.IOErrorEvent; import flash.net.URLLoader; import flash.net.URLRequest; import flash.display.Loader; var swfLoader = new Loa...

Post Posted: November 18th, 2009, 6:02 am

uhmm, you need to learn some actionscript for that.

Post Posted: November 18th, 2009, 5:59 am

yea, there's a thing you could do.
Get inside a smaller template, start to change little things then test.
Change, test, change test ... and so on :)
Trust me, this is the method with the best learning curve.

Post Posted: November 6th, 2009, 3:05 am

depends what you understand by easy :)
You can use curl function from php to get the content of the pages the parse it using regular expressions. For me it's easy, for you ... i don't know.

Post Posted: November 6th, 2009, 2:59 am

try: getURL(escape(myUrl));

Post Posted: October 28th, 2009, 5:59 am

you forgot to copy the function stringReplace from the first code :)

Post Posted: October 21st, 2009, 3:37 am

then just replace the brackets, like in this example. [code] function stringReplace(block:String, find:String, replace:String):String { return block.split(find).join(replace); } var altString:String = "Mangrove Nerita (Nerita balteata)"; // this you'll get from ...

Post Posted: October 20th, 2009, 12:03 am

use CDATA. i.e.:
<xml ..... >
<items>
<item><![CDATA my text with tags which are <i> not allowed </i> by xml ]]></item>
</items>

the bolded red strings are the cdata start and end tag.

Post Posted: October 19th, 2009, 2:40 am

Strange situation, but i'm afraid flash it's quite correct about what it returns, and in it's point of view, the coordinates are local :D Let me explain what you do. 1. you create a new sprite, and since it's an empty sprite, it will start from 0,0 with a 0 x 0 width x height. 2. inside that sprite,...

Post Posted: October 19th, 2009, 2:00 am

seems that html property is no longer needed in AS3,
so remove that.
also check adobe live help: http://livedocs.adobe.com/flash/9.0/Act ... l#htmlText

Post Posted: October 15th, 2009, 11:34 pm

you can use htmlText property for tip_txt;
so, set
tip_txt.html = true;
(set this after the line: tip_txt.autoSize = TextFieldAutoSize.LEFT;)
then, instead of
tip_txt.text = text;
use tip_txt.htmlText = text;
And in the xml, for the italic words, place <i>word</i>

Post Posted: October 15th, 2009, 11:26 pm

so that you can come with a better picture :D

Post Posted: October 14th, 2009, 3:39 am

yea, i seen dreamweaver f**ing up code :D

Also i seen some weird displayings when you resize the font size in the browser by holding down CTRL and rolling the mouse wheel.
I got myself fooled two times because of that on both IE and FF :p

Post Posted: October 9th, 2009, 8:26 am

i don't know exactly how the template works, but if it doesn't generate the buttons dynamically, meaning only one button in the library which is reused, then you should probably check the instance of the newly created button.

Post Posted: October 9th, 2009, 8:07 am

hehee, that's what i was about to suggest you now, to get it via php. I'm glad that you already did it :)

Post Posted: October 9th, 2009, 1:54 am

Even if you manage to access the file, you will need a cross domain policy on that site. So if no ftp for you, i doubt there will be a cross domain policy.

Read more here:
http://kb2.adobe.com/cps/142/tn_14213.html

Post Posted: October 8th, 2009, 5:39 am

Nice combination of english and french, did you use google translate :D Honestly, i don't know why are you using that syntax anyway. You really need to provide a user / password in order to get the content of a text file? It seems to me that you're doing much like a ftp connection rather than gettin...

Post Posted: October 7th, 2009, 4:16 am

what i'm thinking is that the variables which you receive in the loginVars are treated like strings. Therefor try to transform them into int, so use this: [code] var intUser:Number = parseInt(this.user); if (intUser > 0) { .... } else if (intUser == 0) {.......

Post Posted: October 5th, 2009, 5:19 am

in actionscript, use external interface: [code] import flash.external.ExternalInterface; helpBtn_mc.onRelease = function() { ExternalInterface.call("openNewWindow", "help.html","Help","height=400,width=400,toolbar=no,scrollbars=yes"); } [/c...

Post Posted: September 30th, 2009, 4:06 am

ohh my, why would you go trough all the trouble of switching images? :D as ATNO said, you can use external interface. So the actionscript will look like this: [code] import flash.external.ExternalInterface; this.createEmptyMovieClip("mcHolder", 0); function loadContent(targetUR...

Post Posted: September 30th, 2009, 3:23 am

eehehehehehee i`m sure you still have to learn about OOP. well, you can assign a variable to the released object, so you will have: frame 1: [code] stop(); var selectedClip = null; red1.onRelease = red2.onRelease = function() { selectedClip = this; (new Color(this)).setRGB(0xFF6666); _ro...

Post Posted: September 23rd, 2009, 1:07 am

use import, not include. the usage for import is: import package_path.ClassName; but in your case, since there is no package path, just use: [code] import RegExp; var objRegeExp = new RegExp("^([0-9a-zA-Z]([-.\\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\\w]*[...

Post Posted: September 23rd, 2009, 1:04 am

1. place the file crossdomain.xml in the root folder, in your case: directly in nullepart.com (htdocs, html, public_html or however it is the root folder), not in another subfolder 2. when allow domains in crossdomain.xml, make sure you allow the domain from which the request comes, in your case the...

Post Posted: September 19th, 2009, 4:20 am

Strange, because you don't load the image inside _root.picture1 you create a thumb and then load the image in that thumb movieclip, so only that get all it's properties reseted. I used to load images in as2, but i forgot if the ._visible property set on the parent actually works. Anyway, the ._alpha...

Post Posted: September 19th, 2009, 1:51 am

UPS, neey, why to do that? Why share the page code? :p It's like i'm calling the doctor and tell him: doctor, i'm not feeling good. Doctor: why? what happens? me: I don't know, i just don't feel good, give me a wonder pill :) Doctor: do yourself a favor and move your ass over here so i can consult y...

Post Posted: September 19th, 2009, 1:42 am

[code] // first hide all pictures: for(var pIndex = 0; pIndex < totalpictures; pIndex++) { this["picture" + pIndex]._visible = false; } var pictureIndex = 0; // starting picture index var intervalID = setInterval(ShowPicture, 200); function ShowPicture() { this["...

Post Posted: September 19th, 2009, 1:36 am

If you're doing your project in AS 2.0 then you should use an actionscript class for regular expressions. I found this on net, maybe there are others too: http://www.jurjans.lv/flash/RegExp_JLott.zip If AS 3.0, then just go to adobe site and read the examples: http://livedocs.adobe.com/flash/9.0/Act...

Post Posted: September 17th, 2009, 6:02 am

I wonder, wouldn't it be both easier and more self evident to just test it? I find that is way better to learn by doing than by theory. Theory is good up to a point, then actually doing is preferred. What would be the purpose of theory if not putting it into practice? Unless you want to make philoso...

Post Posted: September 17th, 2009, 5:54 am

straaanngee. Show me the file.

Post Posted: September 17th, 2009, 4:52 am

I think this is a fairly 50% chance :)
Code: [ Select ]
var randNumber = Math.ceil(Math.random()*100);
if (randNumber < 50)
 getURL(url1);
else
getURL(url2);
  1. var randNumber = Math.ceil(Math.random()*100);
  2. if (randNumber < 50)
  3.  getURL(url1);
  4. else
  5. getURL(url2);

Post Posted: September 15th, 2009, 11:58 pm

are the dynamic text fields in another swf and you are loading it?
because otherwise i see no point in preloading. Preloading is exactly what it states ... pre - load -> which means it is something before loading. So if you have no loading, what exactly you want to preload?

Post Posted: September 15th, 2009, 1:43 am

Either you build the mask dynamically, or you build it on stage. Since second approach is much easy, this is what you have to do. Duplicate the pipe form symbol and place it into the mask. Make inside the mask like 10-15 key frames (or how many you think you need) and then starting from first key fr...

Post Posted: September 15th, 2009, 1:34 am

what exactly is your button instance name?
And what type is it?

Post Posted: September 14th, 2009, 1:07 am

Oh man, is hard to understand a german even when he writes english :)))

Post Posted: September 14th, 2009, 1:03 am

1.
ACTIONSCRIPT Code: [ Select ]
 import flash&#46;events&#46;*; targetClip&#46;addEventListener(Event&#46;ENTER_FRAME, onFrame); function onFrame(evt&#58;Event) { if (evt&#46;target&#46;currentFrame == xFrameNo) { evt&#46;target&#46;stop(); // or evt&#46;target&#46;gotoAndPlay(yFrameNo); } }
2. use 2 ...

Post Posted: September 14th, 2009, 12:42 am

man oh man, are you aware what is this code doing ? _root.preloader_mc.removeMovieClip(); Yea, you figured it out, it removes the preloader. Do you create / attach it again? If not, then how do you want to appear? So my suggestion is to hide it instead of removing it. Just go: _root.preloader_mc._vi...

Post Posted: September 4th, 2009, 6:55 am

I just provided some hints, not the exact code for the multiple thumbs. Just make good use of your mind and put it together. I'm sure you can do that.

Post Posted: September 3rd, 2009, 1:49 am

It's not that hard to do that. Dropping on a target means just to check on mouse release if the dragged movieclip overlaps the dropping target. so your mouse release function would look like: [code] function mouseReleasedHandler(e:MouseEvent):void { dragging = false; if (!thumb1_mc.dropp...

Post Posted: September 1st, 2009, 4:56 am

here is a class for sending mail, also with the test files.
http://www.awake.ro/test/testmail.zip (copy the link and paste it in browser, direct click will probably fail). It's tested and working.

Post Posted: September 1st, 2009, 12:34 am

why didn't you start with what you want in the first place? :P well, then your code should look like this: [code] for(var i=0; i<arr_resultado.length; i++) { .... // your code with attachMovie ... } // now, mc_avance onRelease code is set outside the "for"...

Post Posted: August 31st, 2009, 7:29 am

raek, are you using AS3 or AS2?

Post Posted: August 31st, 2009, 7:26 am

never tried deeplinking.
Did you try using SwfAddress?
Didn't try that either :D but might be useful.

Post Posted: August 31st, 2009, 7:18 am

First, i don't know what is mc_avance. Since it appears in a "for" loop, my best guess it's another button that you have outside the loop. So it's kind of odd. You're using a button to remove what? The "this" keyword inside a function represents the current movieclip, so in your ...

Post Posted: August 28th, 2009, 10:06 am

As far as i know, the blur filter tends to be processor consumer.
Try to remove it and test again. As for the javascript, not sure, you can do much about it.

Post Posted: August 27th, 2009, 6:08 am

it's just as possible. The idea is the same, only instead of hiding / showing the videoPlayer, you load or unload. When you load the videoplayer, set the variable videLoaded to true, and when you unload it, set it to false. And just as above, verify the variable before loading the video.

Post Posted: August 25th, 2009, 3:18 am

Glad you figured it out.
I remember a few years ago when i wanted to make a preloader and all the examples found on the web didn't work for me and i was wondering what am i doing wrong. It was so frustrating, but eventually i figured it out (after a week or so of struggle :D)

Post Posted: August 25th, 2009, 3:10 am

I have a custom scrollbar for AS2, get the class + example here:
http://www.awake.ro/test/customscrollbar.zip
Copy this link and paste it into your browser (redirect is not allowed). It's an older version, but good enough to get an idea on the scrolling.

Post Posted: August 25th, 2009, 2:14 am

this is AS2, and you need to place the code on a keyframe (just make sure that your button appears on the timeline when you are on that keyframe). Also make sure you enter the instance name for your button (either name the instance myButton, or name it as you want, but then change myButton in the pr...

Post Posted: August 24th, 2009, 2:49 am

Code: [ Select ]
  var goBack = false; onEnterFrame = function() {    if (goBack)    {       backFrame--; gotoAndStop(backFrame);       if (stopCondition)          goBack = false;    } }   myButton.onRelease = function () { goBack = true; }  
stopCondition is whatever condition you want the back animati...

Post Posted: August 21st, 2009, 5:59 am

one buttons, two buttons, 100 buttons, is the same, just change the instance name. The difference between a button with actionscript on it, and a keyframe actionscript which controls the button: in the first case, you have one button to perform something, this means you need 10 buttons in your libra...

Post Posted: August 20th, 2009, 2:01 am

hehe, you need to learn more. I suggest you do something very simple. In flash, New -> Flash file (Actionscript 2.0). Go to Tools, select the rectangle tool and draw a rectangle on the stage. Next select the rectangle you drew on stage and press F8 to transform it into a symbol. In the popup wind...

Post Posted: August 19th, 2009, 3:59 am

did you instanced your button name? when you select the button, in the Properties panel, you have Insance name. There you should enter : bAboutUs for the about button. This is the first case, when you place your actionscript code in a keyframe. If you want to place your actionscript code on the butt...

Post Posted: August 19th, 2009, 3:52 am

In this case, you have the advantage of asynchronous requests which is faster (threads are usually faster than linear programming :D ), but on the other hand the database server will have to handle more requests at the same time than a common php/html page. So the performance is directly related to ...

Post Posted: August 18th, 2009, 4:21 am

As far as i worked with php frameworks, the approach is quite the same. You have a main file, in which you include the modules required for user requested action, get info from database and then render it on front. Caching the info which you receive from database is also a good idea, but i would cac...

Post Posted: August 18th, 2009, 3:58 am

i think you need something like this:
Code: [ Select ]
nPercent = (target._y - target.minscroll)*100 / (target.maxscroll - target.minscroll); // if minscroll is 0, you can simplify this scrollKnob._y = (scrollBar._y + nPercent*(scrollBar._height - scrollKnob._height) / 100);
Where scrollBar is your sc...

Post Posted: August 17th, 2009, 1:57 am

strange, i couldn't reproduce that error. Can you tell me the exact steps you did when you got that error?

Post Posted: August 13th, 2009, 12:42 am

Why you unload the videoplayer? Can't you just hide it and close the net stream? (or stop the video player if you don't have access to it's net stream). So the idea is that you declare a variable as false and then check it, if it's false, load your video player and set the variable to true. If true,...

Post Posted: August 13th, 2009, 12:17 am

try again now, i forgot to upload the zip file :D
there were only the swf and the fla. Copy this link: http://www.awake.ro/test/Q.zip
and paste it into your browser, since it seems that cross reference is not allowed.

Post Posted: August 11th, 2009, 8:08 am

Seems that my free time doesn't allow me to get too involved in this, but from time to time i can help with some flash tutorials.

Post Posted: August 11th, 2009, 7:40 am

I don't usually do this, but, well, so be it.
see demo
get zip file

Post Posted: August 10th, 2009, 8:46 am

I tried to implement their example ( in flash CS4, for AS2), but when i trace the age var, i get something like this: [code]<p align="left"><font face="Arial" size="11" color="#ffffff" letterSpacing="0.000000" kerning="1">12<...

Post Posted: August 7th, 2009, 6:30 am

Very good book there graphixboy.
You can also find the necessary actionscript classes for that book here.

Post Posted: August 7th, 2009, 6:06 am

Uhmm, sounds tempting. Now i can watch lesbi video chat for free. Thanks for tip, that made my day. :D

Post Posted: August 7th, 2009, 6:04 am

Yes, it's very possible. -------- Read below only as an extended comment. Place your motions inside movieclips, then just do: motionX.play(); where motionX is the selected motion movieclip. Implementation requires though a bit of knowledge, but not too much and can be done fairly easy. To repeat the...

Post Posted: August 7th, 2009, 5:53 am

it' simple: edit the flipbook pages and drag a media player on it and specify the flv which will load. (really easy, i wonder how come you didn't figure this out til now)

Post Posted: August 7th, 2009, 5:51 am

this is called "Hit and Run", and it's mostly done with the mouse. :D

Post Posted: August 7th, 2009, 4:58 am

First complete the flash lessons.
Then try some O'Reilley books, or just google for AS2 tutorials.
Also you can get plenty of examples from adobe's site.
http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=Part1_Learning_AS2_1.html

Post Posted: August 7th, 2009, 4:49 am

press Shift + F2 to see the scenes that you have, in order to get the proper name. But i would suggest that you start using movie clips instead of scenes. Also, search for a tutorial on how to use AS3 classes, it will be a bit more complicated at first, but then it will save you a lot of time if you...

Post Posted: July 23rd, 2009, 5:50 am

so what exactly is the problem? if you have buttons, then just edit them and add keyframes in the over , down frames and put there whatever you want. If you're using movieclips instead of buttons, then: [code] button_mc.onRollOver = function () { this.gotoAndStop(2); } button_mc.onRollOut = function...

Post Posted: July 20th, 2009, 3:25 am

looks interesting, i think i will try to work with it to see the benefits.
I am working on an application in which i need something like this. I created something more simple, with a main script and more classes, which is ok for now, but still i'd like to try this framework.

Post Posted: July 20th, 2009, 2:44 am

And also probably you need to come to present and stop using scenes :)
Scenes are so outdated, i only used them once for preloading, when i was a total beginner, but never used them since then.
Movieclips are so much better.

Post Posted: July 20th, 2009, 2:40 am

I wonder why people don't start using classes. Is much better since you can reuse them over and over again.

Post Posted: July 20th, 2009, 2:35 am

You can also get the pictures from a folder, using php, then generate the xml. If she has about a thousand photos, it will make much more sense just to update the folders, instead of adding / editing from a php script. Of course this method has a drawback, because you can't add any info to the photo...

Post Posted: July 20th, 2009, 2:26 am

The text field needs to be multiline, so either you set it from designer, or in actionscript: myText.multiline = true; (where myText is the instance name of your text). Also you must specify a height for it, usually set a bigger height, but if you want to make it exact height, use textHeight. (...

Post Posted: December 16th, 2007, 10:16 am

Yes, i think you need a bitmap class. Take a look here: smudge & redraw . Didn't use the bitmap class till now, but i think you can use it for erasing. In fact, the erasing is just as graphixboy said, only you don't have a solid color, u have the background image which you restore, just like in ...

Post Posted: December 15th, 2007, 1:45 am

Probably your customer is using a keyboard with french keys ... that character is for sure a french one.
So try to install a french keyboard ->
Control Panel -> Regional and Language Options -> Languages - > Details -> add the french keyboard.
Then run your tests.

Post Posted: December 15th, 2007, 1:36 am

Yes there are more advantages using actionscript than just using the flash editor. Imagine you want to do a snow effect. I doubt you will have the patience to do by hand all the snowflakes :D. In the tween case , you can make a function with the target as parameter, so you can pass any movieclip for...

Post Posted: December 14th, 2007, 12:26 am

@Origin : nah, it's actually static text:D The thing is that you have the Resume movieclip which contains a graphic and that graphic contains the text and the scroller. I think you selected all the content from Resume and created a tween, so flash automatically created a graphic for that tween. The ...

Post Posted: December 3rd, 2007, 4:12 am

try to add in the html source:
<param name="allowScriptAccess" value="sameDomain" />

or in the actionscript
System.security.allowDomain("sameDomain");

Post Posted: December 3rd, 2007, 4:07 am

add a button on the stage, name it's instance myButton, and in a key frame on the main timeline (the button must exists in that frame), add this code: [code] myButton.onPress = function() { if ( (_root._currentframe > x1) && (_root._currentframe &l...

Post Posted: December 3rd, 2007, 4:04 am

what does have a slow loading? the site itself or the video(s) you're playing inside it? If it's about the videos, then you can try a lower resolution to speed them up, also make sure the server where you host your site has a decent internet band, otherwise you can have the best player in the world,...

Post Posted: November 29th, 2007, 1:48 pm

what you could do to make sure the communication works. in the php script just write this code:
Code: [ Select ]
<? echo "&login=notok&"; ?>
I had some problems before getting variables from php if i only use varName=something, so place it between "&" sign. Then use...

Post Posted: November 27th, 2007, 12:34 am

If it's a .flv then it means it's streamed, so i don't think you can play it backwards. You can play/pause/restart play/jump to a certain time, just like for a youtube movie (which are .flv as well) But if you import it to flash and create a .swf file from it, then you could play it backwards or jum...

Post Posted: November 27th, 2007, 12:28 am

heehe, i suppose he already use the key class as long as he says that: "the character i created only can move around the map1 and map 2". But i bet he copied the code from somewhere without understanding much of it, otherwise it's hard for me to believe that he doesn't know how to do what ...

Post Posted: November 27th, 2007, 12:18 am

First of all, in sendAndLoad method, you need another variable of LoadVars type. Second, it's better to declare both of the variables outside of the function, otherwise their scope will end after the function is executed. i.e.: [code] stop(); var users:LoadVars = new LoadVars(); ...

Post Posted: November 5th, 2007, 10:59 pm

Hmm, never seen such code, is that actionscript 3?
don't know this particular case, but generally speaking, there shoul be an event triggered when the item is dropped. When that event happens, check if the object on which the item is dropped is your tilelist, and if so, cancel the drop.

Post Posted: November 5th, 2007, 10:52 pm

not exactly sure what you really want, but you may try to chang your code into this:
Code: [ Select ]
if (this.rock_mc.hitTest(_root.blackL_mc)) {
  this.rock_mc._x = _root.blackL_mc._x - this.rock_mc._width; }
  1. if (this.rock_mc.hitTest(_root.blackL_mc)) {
  2.   this.rock_mc._x = _root.blackL_mc._x - this.rock_mc._width; }

Post Posted: November 5th, 2007, 10:44 pm

neat, i deleted the cache from firefox and now it works just fine. How did you know that ATNO? It is strange though. I didn't delete the cache before because i replaced the button sound with another sound longer than first and it was changed in the browser. Then i changed back to first sound and the...

Post Posted: November 2nd, 2007, 2:53 am

I have a swf which plays a sound on button release. I test if sound is currently playing, then i don't play it anymore, so is not about the code i used. If i quickly pres&release the button for several times, there is a noticeable delayed in firefox (like 1-2 seconds) after first press and the s...

Post Posted: October 1st, 2007, 10:50 pm

Not exactly sure what you're up to. You want a borderless window for a flash projector?
Borderless window with your own design can be made using Visual C or Delphi. Probably you can use a 3rd party tool like Zinc to create that look and feel for a flash projector, but definetly not from flash.

Post Posted: October 1st, 2007, 10:47 pm

yea, that's what i said in the first place. Pass in the html code of the object a parameter for the image name, then load the image from flash in a movieclip As for displaying a div over flash objects, never actually tried, i just assumed it might be possible. But even if it was possible, getting th...

Post Posted: October 1st, 2007, 10:43 pm

The php output format is ok. The flash code is ok, except one thing: the scope of the variable tdata. You declare tdata inside a function, so it is only available in that function. Remove the "var" from there and it will work, since if it is not declared as variable in the function, flash ...

Post Posted: October 1st, 2007, 12:21 am

well, both can be possible.
Your server may limit the file uploads to a certain size. If you have an apache server + php, then check out config php for uploads
As for flash, i don't know if it has a limit set to 2mb

Post Posted: September 30th, 2007, 11:19 pm

hmmm .... in flash that would be quite easy. Pass in the html code of the object a parameter for the image name, then load the image from flash in a movieclip which is placed over the player black area. Then on player start play, hide the movieclip. But if you don't do it in flash ... probably you c...

Post Posted: September 18th, 2007, 11:22 pm

In flash -> File menu -> publish setting-> html tab -> dimensions in percents -> width and height 100%.
Then press the publish button.

Post Posted: September 11th, 2007, 4:08 am

are you new in programming as well?

Post Posted: September 10th, 2007, 10:40 pm

this is what i quickly found google-ing. animation of tweens and one of the final phrase is: Finally I'd recommend getting Macromedia Flash Cartoon Animation - Learn from the pros - by Kevin Peaty and Glen Kirkpatrick from Friends of Ed. ISBN 1-9034509-8-5 - which is a superb insight into animating ...

Post Posted: September 10th, 2007, 10:31 pm

you don't really need php for this.
Check out all this topic: force download

Post Posted: September 10th, 2007, 5:55 am

mostly sure is a path problem, plus in this case you don't know what "this" stands for. this.contactForm.submit_btn.onRelease -> inside the function "this" represents the "_root.contactForm.submit_btn" so skip it from trace, use only trace(name_txt.text); "this&...

Post Posted: September 10th, 2007, 5:10 am

if it's natural then it's certainly easier to further develop. If not, you need to learn it first ... the hard way :D You can search for tutorials on how to draw characters. First of all is the copy phase. If you get good at reproducing characters, then try to memorize and reproduce them without a p...

Post Posted: September 6th, 2007, 7:24 am

i wonder why i'm payed only $11000 / year
Hmm, must of done something wrong in a previous life .... or in this life or ... is it only because the country i live in?

Post Posted: September 6th, 2007, 7:15 am

If you use the input text, then make sure it has an instance name (i.e.: email_txt)
then jus use:
btnSubmit.onRelease = function()
{
trace(email_txt.text);
}

Post Posted: September 6th, 2007, 7:05 am

just create a new movie clip in your library (Ctrl+F8 ) and place inside it a dynamic text and call it's instance: dtext Export the movie for actionscript (right click on it-> linkage-> linkage name -> name it "link") Next, for each link read from xml file, attach the movie and se...

Post Posted: August 1st, 2007, 7:52 am

say what?
Where it says open movieclip?
I have a tile based game in developing, the map editor is already done. http://www.tonypa.pri.ee/tbw/ -> this was a real good source of inspiration.
But you really need to get a good understanding of tiles and matrix.

Post Posted: August 1st, 2007, 7:49 am

go to actionscript.org or kirupa.com. They have nice samples about preloaders and progress bars. Or simple google for "flash create preloader with progress bar"

Post Posted: August 1st, 2007, 7:41 am

weird, it works ok for me. [code] var coding:LoadVars = new LoadVars(); var nop:LoadVars = new LoadVars(); var lvOut:LoadVars = new LoadVars(); coding.parameters = "coding: test write"; nop.parameters = "nop: test write"; lvOut&...

Post Posted: August 1st, 2007, 7:37 am

One simple solution would be to first sort the items. Next thing is: [code] nIndex=0; nItemsCount = arrayItems.Length; crtItem = ""; arrayItemAppear = new Array(); nItemAppearCount = 0; nAppearIndex = 0; while (nIndex < nItemsCount) { if (crtItem != arrayIte...

Post Posted: August 1st, 2007, 6:41 am

i got another suggestion: learn flash first, come ask later.

Post Posted: August 1st, 2007, 6:31 am

rule number 1 when working with movieclips is to place them 1 frame before you try to call any function inside them. Because first the actionscript from main timeline is executed and then the movieclip is initialized. This rule is also applied for any nested movie. Therefor, if you have movieclip mi...

Post Posted: July 31st, 2007, 4:40 am

the flash<->php communication should not be browser related ... but who knows.
Anyway, can you post the declaration and filling of the nop variable, also the php code for dogyears1.php?

Post Posted: July 30th, 2007, 1:05 am

links? what for? google is enough. Anyway, in flash you will make usage of LoadVars class (best for php/asp communication), with it's methods: send(..), sendAndLoad(....) -> read flash help for these. And in php you will need to deal with $_POST and, only if you specify from flash, $_GET. Also to...

Post Posted: July 30th, 2007, 1:00 am

actually, i see no reason for that code not to work, unless you don't fill correctly the variable nop. Trace the variable just before using it, to make sure it's declared, then trace some attributes of it, to make sure it's filled. [code] coding.send("http://localhost:8080/dogye...

Post Posted: July 27th, 2007, 12:13 am

that's a dropdown menu, not a combobox.
Would do for combobox if you know you don't have more than 10-15 items, but otherwise you will need a scroller.

Post Posted: July 27th, 2007, 12:05 am

yes i understood what you want. I think the problem comes from nested movies. There is a holder movieclip (let's say mcHolder) which contain another movieclip, the one with fx (let's say mcFX). In their code, they have onRollOver for mcFX, so when u rollover it, it starts animation. If you add any o...

Post Posted: July 26th, 2007, 11:27 pm

i think a floating div with absolute position can do that

Post Posted: July 26th, 2007, 6:39 am

Show69, is not about my coding standards, is about basic understanding of coding. And coding is usually very logic. U set a goal and then you try to find the meanings to reach that goal. For me 2 weeks is way to much for 5 lines of basic code which with the minimum of effort you can find either in f...

Post Posted: July 26th, 2007, 1:36 am

@montyt: i have a question for you
do you really know what onEnterFrame is doing?
and what sumbit.onRelease is doing?

if you do, then why on earth do you use onEnterFrame when onRelease is triggered exactly when the button is released.

Post Posted: July 26th, 2007, 1:03 am

it's not about coding in flash or coding in c# or coding in whatever. It's all about logic. Now, i'm gonna give you a very easy example which does not require any UI component. 1. start a new flash document, 1 fram, 3 layers 2. layer 1: make a new movieclip and name it radioBox; in first frame draw ...

Post Posted: July 25th, 2007, 10:43 pm

either images are done in a 3D application or there are images taken with a digital camera around a laptop, in both cases you have a sequence of images placed most likely in a swf. And to rotate, you simply jump to another frame. If you would play the swf, the laptop will fully rotate continuously, ...

Post Posted: July 25th, 2007, 10:28 pm

@origin: you can install from the projector using fscommand("execute", "path_to_execute"); @Show69: As for the radio buttons, i don't really see the meaning of the question. if (radio1.checked) => path_to_execute = "installSQL.bat" else if (radio2.checked) => path...

Post Posted: July 25th, 2007, 10:16 pm

honestly, i never used it either, but there would be no reason for a datagrid component if you can not access the text from every cell of it. Just google.

Post Posted: July 24th, 2007, 11:02 pm

that's what usually happens when you don't read the help. from MX2004 help: The exec command can contain only the characters A-Z, a-z, 0-9, period ()., and underscore (_). The exec command runs in the subdirectory fscommand only. In other words, if you use the fscommand exec command to call an appli...

Post Posted: July 24th, 2007, 5:31 am

don't you have direct access to datagrid cells?

Post Posted: July 23rd, 2007, 3:11 am

It's a bit difficult, but definitely not hard. And all of this you can build using only text fields and some other custom shape u made for drop down arrow. For my list i used only 1 movieclip in the library, with a textfield inside it and attached it as many time as i wanted. The idea is simple: fir...

Post Posted: July 23rd, 2007, 2:38 am

I don't get the point behind this.
Why opening a page from javascript and then posting values to it, when you can open it directly from flash using getURL or send or sendAndLoad with POST method. Can you explain what you are trying to do?

Post Posted: July 23rd, 2007, 1:50 am

still, i would use getURL(). The path given to it can be relative or absolute. Only it has to be placed in a onRelease statement. Flash access the default browser and if the browser have associated the pdf extension to acrobat reader, it will open it. i.e.: [code] btnDo.onRelease = function(...

Post Posted: July 23rd, 2007, 1:30 am

uhmm, either i have a deja vu, or i forgot to post, or my posts were lost. But i was convinced i already answered to something like this, and that was some time ago. If you don't have a digi cam which detect motion and notify the software about this, then ... you would probably need something else. ...

Post Posted: July 23rd, 2007, 1:16 am

if you want to customize the combobox component, this might help:
Customizing the ComboBox component
Otherwise, make your own component using actionscript and then you can customize it any way that you want.
I made a list in flash, so the combobox won't be harder to do.

Post Posted: July 23rd, 2007, 1:09 am

If you are going to use his news ticker, then better ask him how he did it. basic steps would be: 1. creating the ticker, first with hardcoded values, to make sure it works. 2. learn to read text files using LoadVars class (read flash help) or xml files using XML object (search for 'actionscript XML...

Post Posted: July 23rd, 2007, 12:21 am

well, sorry, didn't know it wasn't your code. Still, it was a coding error, so i wasn't wrong.

Post Posted: July 16th, 2007, 5:52 am

If you're looking for the exact code, then you can skip reading this post. If you want to learn how to send an email, then go on with the reading. step 1: learn to use Flash UI components (plenty of tutorials on the net) -> combo box and radio box step 2: learn how to use LoadVars class -> see...

Post Posted: July 16th, 2007, 5:29 am

if u use tiles, just assign a bool value to each tile (name it: CanPass or IsWall or however you want), and set it's value to true/ false (depending how u name it) for the tiles you want to be walls. Next thing, check if the tile you are about to pass through is wall, if so stop the movement on X or...

Post Posted: July 13th, 2007, 7:00 am

look at the properties of one of the button that works, get it's name and then search for that name in the whole flash file, but most likely in the mc that holds the button.
you will probably see something like: btnName.onPress = function() {... }

Post Posted: July 13th, 2007, 6:57 am

why need the holder banner?
can't you just place a simple html file which points to the 150k banner?

Post Posted: July 13th, 2007, 6:30 am

something about your code

Post Posted: July 13th, 2007, 6:28 am

just right click where it's supposed to be. If you get the flash menu, then it's there but it's working (faulty code inside the flash).
If not, then it just might be a path problem. Anyway, post here the link to the site to see what's about.

Post Posted: July 10th, 2007, 10:41 am

Another option would be to use simple text files, config like structure.
But for that you will need to create your own parsing system.

Post Posted: July 10th, 2007, 10:38 am

if you were using datagrid from c#, i would've known :D
but never did flex

Post Posted: July 10th, 2007, 10:35 am

you still didn't say what you used for fading.
is it actionscript with mx tween? (i'd said so since you mentioned something about easeOutSine, but i want to be sure)

Post Posted: July 10th, 2007, 12:36 am

Code: [ Select ]
function tweenAnim(var mcNumber:Number) {

var crtMC = this["mc"+mcNumber];
var myTween = new Tween(crtMC, "_y", ......);

}
  1. function tweenAnim(var mcNumber:Number) {
  2. var crtMC = this["mc"+mcNumber];
  3. var myTween = new Tween(crtMC, "_y", ......);
  4. }

Post Posted: July 10th, 2007, 12:20 am

instead of the open/close tags, place open/close brackets so flash can read the xml. Then, in flash, replace back the brackets with the tags. i.e.: in xml: <b>Bombarda</b> 42-6ºC<br /> becomes [ b ]Bombarda[ /b ] 42-6ºC[ br / ] And in flash, replace [ with < and ] with > This...

Post Posted: July 9th, 2007, 11:49 pm

scoobby wrote:
as for to remake it he dont consider it because this is the high period in our hotels we dont have time.
Thanks for the reply.

remaking it won't take more than 5 hours if you are a beginner in flash.

Post Posted: July 9th, 2007, 2:39 am

when it's about main timeline, i always start coding from frame 2 :D
I experienced other strange things with frame 1 as well.

Post Posted: July 9th, 2007, 2:37 am

well, just think about the structure of the flash objects. For that, you can use implemented debug to view variables. _root->movieclip_holder->movieclip_loaded->.... In rest, do the same as you would do for a movieclip which already exists. You can have relative paths and absolute paths to ...

Post Posted: July 9th, 2007, 12:12 am

that is quite simple.
Code: [ Select ]
attachedObj.onRelease = function()
{
   getURL("http://google.com");
}
  1. attachedObj.onRelease = function()
  2. {
  3.    getURL("http://google.com");
  4. }

Post Posted: July 9th, 2007, 12:07 am

uhmm, never knew flash can do that ^^
About that:
for Actionscript 2.0:
accesibility as2.0
for Actionscript 3.0:
accesibility as3.0

Post Posted: July 9th, 2007, 12:00 am

sure it's possible. Just give it a try.

Post Posted: July 8th, 2007, 11:57 pm

The code is working fine. But you're right, it displayes the data, not the labels, but you can always have the same data and labels. I think the data it's for indexing though, so it will be faster. Like you have an array of strings, and you place in the data only the indexes and in the labels the va...

Post Posted: July 8th, 2007, 11:44 pm

1. import image - you already did 2. draw shapes on wanted areas - you already did 3. set the alpha of the shapes to 0 (see the Color panel) or, make the shapes graphics and set their color to alpha = 0 4. make the shapes (or graphics if you chosed the second way) movieclips 5. add one more layer in...

Post Posted: July 8th, 2007, 11:11 pm

i'd say to remake it. It's only about images with fade in/out.
Otherwise use a decompiler.

Post Posted: July 8th, 2007, 11:07 pm

Jorgen wrote:
Put this on the slider MC.

Post Posted: June 29th, 2007, 8:51 am

Initially set the alpha of the holder movie to 0, and when it's completely loaded do the fade in.

Post Posted: June 22nd, 2007, 4:32 am

or just add a Z axis :D
Just check this:
http://www.tonypa.pri.ee/tbw/tut16.html
It's an isometric view .... so he calculates if the object is behind or in front of an object. Therefor i guess it's possible to do it for your objects too.

Post Posted: June 22nd, 2007, 4:14 am

place all your fonts in swf files, each font = a swf file, or each font family = a swf file, depends how you want. I suppose you know how to make swfs with fonts ... if you don't => create new flash document, then in the Library panel (press Ctrl+L if you don't see it), press on the small symbol ...

Post Posted: June 21st, 2007, 5:44 am

go to the Job Opportunities section on this forum.

Post Posted: June 21st, 2007, 5:40 am

lovely. Is there any order in this chaos? you said that _y position plus _height of the movie will bring it to front, but in your example it's not really like this. Can't you establish a rule (of course, with some exceptions :D) so you can follow it when bringing the movieclips to front? Can you sho...

Post Posted: June 21st, 2007, 5:27 am

why you need to pass it to onKeypress?
Load the variables, then add a Key listener (see Key class).
then test which key was pressed. And if it matches one from the file, do something.

Post Posted: June 21st, 2007, 5:24 am

also there are plenty of send mail codes all over this forum.

Post Posted: June 21st, 2007, 5:15 am

Do you want pictures and diagrams to explain this? Also probably a movie, it's better when it's action ... is not that boring like static images.
Just start a new simple project and use my example then you'll get the idea.

Post Posted: June 21st, 2007, 5:04 am

Yea joebert, but it's always easier if someone else is doing it for you.

Post Posted: June 18th, 2007, 6:14 am

lier joebert ... better said you're out of patience :D Always when dealing with thumbnails which contain both text and images, make a holder for the thumb, add all the properties to it. Next, just createEmptyMovieClip for an image movieclip in which you will load the picture. i.e.: [code] this.c...

Post Posted: June 18th, 2007, 6:09 am

you don't.
Flash knows too few html tags so that you can use htmlText for a text field.
I don't know exactly why are you trying to load a html page in flash and also i can't see the reason for this.

Post Posted: June 18th, 2007, 6:03 am

i don't know how it is possible to show frame 1-9 when you jump to frame 10 in frame 1 ... or 2. Yea, sometimes strange things happen in frame 1 :D.
Probably your version of flash works different than ours.

Post Posted: June 1st, 2007, 4:04 am

Is it me the only one who didn't know this or ... ? This is what i have: [code] function PlayEmbededVideo() { var lvSend:LoadVars = new LoadVars(); lvSend.strEmbed = "some text"; lvSend.send("playembed.php", "_blank", "POST&...

Post Posted: May 16th, 2007, 10:44 pm

virtual tours are usually flash movies.
check out this link

Post Posted: May 10th, 2007, 1:15 am

ooh, you didn't store it on your hard drive?
let me see if i still have the archive home, though as far as i remember is kind of big, about 130 megs

Post Posted: May 10th, 2007, 1:12 am

Code: [ Select ]
btnName.onPress = function() { textField.text += "something"; }
where textField is the instance to the text field and btnName is the instance of a button. Read the flash help for actionscript regarding Button or Movieclip class and Text Field class

Post Posted: May 10th, 2007, 12:57 am

search some more before posting :/
it's already been answered here.
If you only want to make solid color, then use :
Code: [ Select ]
var my_color:Color = new Color(mcTarget);
my_color.setRGB(0xFF0000); // this will turn mcTarget completly to red
  1. var my_color:Color = new Color(mcTarget);
  2. my_color.setRGB(0xFF0000); // this will turn mcTarget completly to red

Post Posted: May 10th, 2007, 12:52 am

yup, 2 text layer, first one leaning to right and fading out, second one is probably already leaned to left and start to lean to right, to get to it's normal position (that's why it looks good at the end), also is faded in.

Post Posted: May 10th, 2007, 12:37 am

try to give an id to the frame as well. don't know, maybe it will work.
<iframe name="Profile" id="Profile" src="Page1.html" height="150" width="327" frameborder="0" scrolling="Auto">

Post Posted: May 8th, 2007, 6:07 am

you made the flash file in flash 8 ?
if so, you may want to read this topic

Post Posted: May 6th, 2007, 11:14 pm

can you upload your fla somewhere to see your problem?

Post Posted: May 6th, 2007, 10:32 pm

just try it. If you never try then you'll never know

Post Posted: May 6th, 2007, 10:14 pm

or the server doesn't have smtp support.

Post Posted: May 6th, 2007, 10:10 pm

what did you use to play the flv files? media player component?
if so, did you provided a relative or absolute path for the url?
Also it may need time to load the flv, and you don't wait until the flv is loaded.

Post Posted: May 3rd, 2007, 11:06 pm

probably you could use the Bitmap class from flash 8 to get your image, but not sure how you can save it. Anyway, the idea for saving a drawing is to track all the user's actions and then save them to a file using a server side script. To redraw the painting, just load the saved actions and redraw i...

Post Posted: May 3rd, 2007, 10:53 pm

true, content from flash is not indexed, but he only wants the header in flash.
Ask in the php section, maybe someone can help you.

Post Posted: May 3rd, 2007, 10:50 pm

really nice design

Post Posted: May 3rd, 2007, 10:46 pm

_global is not recommended to be used.

Post Posted: May 3rd, 2007, 10:42 pm

You can always check the help for adobe components. If you don't have it on your local machine, check the online help.
date chooser component
what you need is probably this: DateChooser.selectedDate

Post Posted: April 27th, 2007, 3:43 am

hmmm, not sure what exactly you are trying to do there,
but you can always search in this forum for: "send email loadvars"

Post Posted: April 27th, 2007, 3:08 am

a better solution would be to build your own flash slide show, not to use a tool to convert powerpoint slideshow to flash. I am pretty sure that the convert tool does nothing else than copy each image (including the images from all the transition effects) in a flah frame. So probably for 2 images fr...

Post Posted: April 24th, 2007, 3:27 am

this.createEmptyMovieClip("holder", 100);
holder.loadMovie("slideshow.swf");

Post Posted: April 24th, 2007, 3:25 am

try the focus event ... if any

Post Posted: April 22nd, 2007, 10:23 pm

@graphixboy: do you see the astonishing resemblance between his 2 posts?
i bet that if you ask him another question he'll say something else.

Post Posted: April 20th, 2007, 2:39 am

google for southpark and there you'll find a ballpark.

Post Posted: April 17th, 2007, 10:46 pm

yea, u can use it as long as the server has php support

Post Posted: April 12th, 2007, 6:21 am

@krismeister: you know, Advertising is the heart of the commerce ...
But i think there are some rules to follow before advertise your own site, something like the 3 sites rule.

Post Posted: April 12th, 2007, 5:56 am

it's all path relative if it doesnt work in a movieclip

Post Posted: April 12th, 2007, 5:43 am

I'm not poking fun at you, i just made a remark. You're not the only one coming with weird ideas when the solution is right near them, there are others too.

Post Posted: April 10th, 2007, 10:07 pm

lool ... flash isn't robust enough :P. What you did there was setting a pointer, not copying the array, and it's very normal behavior. No programming language is going to copy the array unless you overload the "=" operator. For other p.o. there are implemented methods to copy the array, bu...

Post Posted: April 10th, 2007, 5:10 am

"somebody else told me that the "platform.velocity" is undefined, but I don't know what that means." well, he was right. undefined means that it has no value. In previous versions of flash players it works because if that variable was not defined it was assumed as being empty, bu...

Post Posted: April 10th, 2007, 4:39 am

yes, up to Flash Player 5, on(release) doesn't work for movieclips. But all the version > 5 a movieclip can have the same methods as a button. on(release), on(press) ... etc. So, you can either place the action on the movieclip using: on(release) { // do something } or you can place the action in...

Post Posted: April 10th, 2007, 4:31 am

point is a object. You need to trace one of it's attributes, or go through the debug stuff to see it

Post Posted: April 10th, 2007, 4:28 am

Code: [ Select ]
cardone.onEnterFrame = function () { var card:Number = Math.round(Math.rand()*this._totalframes); this. gotoAndStop (card); }
Your code doesn't work most likely because card is not defined in movie cardone. So either us...

Post Posted: April 4th, 2007, 10:10 pm

About being cool under pressure ... is just a matter of thinking. The problem is like this: if you don't finish in the given deadline, then you failed, if you do, all is bright, everyone is happy. But in life we all have ups and downs, so you don't need to worry too much about a failure. One who doe...

Post Posted: April 4th, 2007, 9:55 pm

I rarely use action on a button or movieclip, prefer to do it in a keyframe. I will show you another approach of your problem. This method has the advantage that you can manipulate as many movieclips which you want to behave the same, also only one onEnterFrame is used. It is a bit more of code (not...

Post Posted: April 4th, 2007, 9:11 pm

get rid of eval and prototype.
btw, nice implementation of physical laws with complex shapes .... i'll take a look over it. I must admit, right now i have no idea how to imitate the physical laws of motion for such objects.

Post Posted: April 4th, 2007, 12:12 pm

yes, true, i never learned actionscript 1. About your request ... don't know how simple or how complex solution is for someone else. What do you mean anyway by collide? when they hit each other or hit the boundaries to change their direction according to the physic laws? Or just random change of dir...

Post Posted: April 4th, 2007, 12:07 pm

now, here is what you can do: place in the timeline, in a keyframe somewhere before the movieclips: _root.isMCActive = true; next change your action for your movieclips like this (remember to do the changes in the actionscript of each movieclip): [code] onClipEvent (enterFrame) { // run...

Post Posted: April 4th, 2007, 11:44 am

your problem has a very simple solve, and you are very close to it. This is what i suggest you. Create a new flash document, create a mc with 2 layers, layer 1 - the graphic, layer 2 - actionscript, place a shape in layer 1 and tween it for let's say 10 frames -> simple _y or _x tween, to see it ...

Post Posted: April 4th, 2007, 11:29 am

i'm sure i seen this request before. Probably this can help you: iframe and flash 8

Post Posted: April 4th, 2007, 11:21 am

sure, give it a try

Post Posted: April 3rd, 2007, 9:59 pm

honestly, is english your main language? anyway, to load images from library, first make them movieclips symbols, then right click on the movieclips from library -> linkage -> export to actionscript. Next, to place it on the stage, use: this.attachMovie("movieID", "newMovie"...

Post Posted: April 3rd, 2007, 9:52 pm

obviously ... you don't think outside the box :P [code] onClipEvent (enterFrame) {if (!loaded && this._url != _root._url) { bL = this.getBytesLoaded() ;bT = this.getBytesTotal(); if (bT > 10) // always do this because somet...

Post Posted: April 3rd, 2007, 9:45 pm

this is the reason why i don't modify already existing templates :D
they are indeed nice as graphics and effects, but suck @ the programming mode.

Post Posted: April 3rd, 2007, 9:43 pm

may i ask what's with this code:
eval(aClips[0]).otherClip=eval(aClips[1]);
eval(aClips[1]).otherClip=eval(aClips[0]);

imho it should be:
this[aClips[0]].otherClip = this[aClips[1]];
this[aClips[1]].otherClip = this[aClips[0]];

Post Posted: April 3rd, 2007, 9:37 pm

noooo, not you again with the same post. Once is ok, twice is accident ... but three times is indeed evil :P

Post Posted: April 3rd, 2007, 9:37 pm

hmmm, you know .... to get an answer you don't need to post same thing 1313221312 times to get our attention.

Post Posted: April 3rd, 2007, 9:34 pm

but of course, when you try to catch a rabbit using a fishing stick you can say you tried everything and you didn't succeed :D sending mail debate ... also you can search either in this forum or in google for: "flash send mail" After you did all these you can say that you tried everything.

Post Posted: April 2nd, 2007, 9:34 pm

at the very first link from this topic there is a dynamic version of the page flip, you can get it for a fair price.

Post Posted: March 28th, 2007, 12:20 am

UPS, why do you lie to a flashnoob?
he doesn't need to learn anything ... if so, why are we here? aren't we payed to answer all the questions? :P

Post Posted: March 27th, 2007, 11:05 pm

"Everyone, who donates over 40 euros, will be honoured with a copy of the dynamic pageflip with source codes. Check demo here! "
Read again mate. You'll find your answer inside the book :D

Post Posted: March 27th, 2007, 9:37 pm

see this and tell me if you understand something. In your case could be more simple. After you swap your button, swap also the movieclip with the image. [code] on (press) { //Start Dragging Movieclip Behavior startDrag(this, false, 168, 224, 564, 476); this.swapDepths(th...

Post Posted: March 26th, 2007, 9:56 pm

you can try rentacoder

Post Posted: March 26th, 2007, 9:46 pm

or just get the free source from iparigrafika and modify it.

Post Posted: March 25th, 2007, 10:54 pm

yea, switch case will do better than a multitude of if ... else.
Even better would do a xml file.

Post Posted: March 22nd, 2007, 11:50 pm

or ...
in the timeline, in first keyframe:
Code: [ Select ]
this.onEnterFrame = function()
{
  if (myTextAnimation._currentframe == 60)
 {
    delete this.onEnterFrame;
    this.gotoAndPlay(2);
 }
}
  1. this.onEnterFrame = function()
  2. {
  3.   if (myTextAnimation._currentframe == 60)
  4.  {
  5.     delete this.onEnterFrame;
  6.     this.gotoAndPlay(2);
  7.  }
  8. }

Post Posted: March 22nd, 2007, 11:44 pm

you have a fix with the tween class :D

Post Posted: March 22nd, 2007, 11:41 pm

more like there's an error in your code.
  • Sort by
 
cron
 

© 1998-2016. Ozzu® is a registered trademark of Unmelted, LLC.