Re: [Flashcoders] link bar frustrating question

2009-04-22 Thread Adrian Ionut Beschea
hi, if changing the text color on rollover is all you need you can set a hover css style for those textfields. no need to listen for rollover --- On Wed, 4/22/09, Glen Pike g...@engineeredarts.co.uk wrote: From: Glen Pike g...@engineeredarts.co.uk Subject: Re: [Flashcoders] link bar

Re: [Flashcoders] How to test in Flash Player 6

2009-04-15 Thread Adrian Ionut Beschea
Hi, you can try this link: http://www.google.ro/search?q=download+older+flash+player+versions+ie=utf-8oe=utf-8aq=trls=org.mozilla:en-GB:officialclient=firefox-a there is a firefox plugin that allows you to switch flash player version anytime you want but last time I used it (few years ago) it

Re: [Flashcoders] online .swf generator

2008-11-27 Thread Adrian Ionut Beschea
we used  flex sdk on the server side and it proved to be very slow if you need it for on-the-fly generation I don't think it's an option. why not using an general swf for all banners and just  slip the configuration file on the server. --- On Thu, 11/27/08, poste9 [EMAIL PROTECTED] wrote:

Re: [Flashcoders] Adding Listeners in a loop

2008-09-17 Thread Adrian Ionut Beschea
one easy way : function fn(i:uint) { var R1:ResultLink = new ResultLink(data[i].CompanyName, data[i].CompanyId); // R1.addEventListener(MouseEvent.CLICK, function():void {trace(R1.Label)}); BlackBox.addChild(R1); //x and y here } } for (var i:uint = 0; i data.length; i++) {

Re: [Flashcoders] Adding Listeners in a loop

2008-09-17 Thread Adrian Ionut Beschea
one easy way : function fn(i:uint) { var R1:ResultLink = new ResultLink(data[i].CompanyName, data[i].CompanyId); // R1.addEventListener(MouseEvent.CLICK, function():void {trace(R1.Label)}); BlackBox.addChild(R1); //x and y here } } --- On Wed, 9/17/08, Omar Fouad [EMAIL

Re: [Flashcoders] OT: Questions to ask an interviewee

2008-07-30 Thread Adrian Ionut Beschea
uhm... this list is not exactly private :) the interviewee may be on it as well you wouldn't want to spoil the fun, now would you ? --- On Wed, 7/30/08, alan skinner [EMAIL PROTECTED] wrote: From: alan skinner [EMAIL PROTECTED] Subject: [Flashcoders] OT: Questions to ask an interviewee To:

Re: [Flashcoders] Pausing the main timeline.

2008-02-12 Thread Adrian Ionut Beschea
yeah, the parantheses you opened for addEventListener never gets closed; Vlado Krempl [EMAIL PROTECTED] wrote: Hello everyone, When I try to pause the main timeline with this code (below), I get a 1084: Syntax error: expecting rightparen before rightbrace.}; function

Re: [Flashcoders] Slow textfield performance - anyone experienced this?

2008-02-08 Thread Adrian Ionut Beschea
yes, I ran into that one once. my sollution back then was to split the text into multiple textfields Kevin Heppell [EMAIL PROTECTED] wrote: Hello In a flash site I've created with large textfields the performance just grinds to a halt... I'm using device fonts and tried the embed options but

Re: [Flashcoders] prevent bot updating voting

2007-07-30 Thread Adrian Ionut Beschea
with your flash, in your swf you can send an encrypted key together with the vote say you send a string like: str = MD5.encrypt(userID+todayDate+someOtherStuff); and then decode it in PHP There are MD5 classes for both actionscript and php. This is not 100% proof. Once the evil doer

[Flashcoders] MediaDisplay class issue

2007-07-05 Thread Adrian Ionut Beschea
Hi, I've run into a bug in the MediaDisplay component. Basically if I have a swf which has MediaDisplay component in its library and loadMovieNum another swf that has a MediaDisplay instance (set manually during authoring or by attachMovie, doesn't matter...) the player crashes and throws

Re: [Flashcoders] MediaDisplay class issue

2007-07-05 Thread Adrian Ionut Beschea
the dirty fix (in case anyone is interested) : delete _global.mx.controls.streamingmedia.ScreenAccommodator; (right before you loadmovie) Adrian Ionut Beschea [EMAIL PROTECTED] wrote: Hi, I've run into a bug in the MediaDisplay component. Basically if I have a swf which has MediaDisplay

RE: [Flashcoders] dispatchEvent within another event handler

2007-05-23 Thread Adrian Ionut Beschea
yeah. maybe it should be _service = new MyService(); _service.addEventListener(xmlLoaded, doSomething); David Ngo [EMAIL PROTECTED] wrote: You're listening for an event from your view class that's being fired from your service class, that's why. -Original Message- From:

Re: [Flashcoders] triangle help

2007-01-26 Thread Adrian Ionut Beschea
h - hypoteneuse l1,l2 - the other sides a1 - angle next to l2 sin(a1) = l1/h cos(a1) = l2/h assuming you know l1, then h=l1/sin(a1) and then l2 = h* cos(a1) - Original Message From: Jason Rayles [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Saturday, January 27,

Re: [Flashcoders] Using components in MovieClips

2006-12-19 Thread Adrian Ionut Beschea
David, how do you declare your button ? do you use var some_btn:Button or var some_btn:mx.controls.Button ? You should use the second so that the compiler would load the component class. David Ham [EMAIL PROTECTED] wrote: Hi, I was having trouble with some components yesterday. I am

Re: [Flashcoders] problem with combo box and array

2006-12-06 Thread Adrian Ionut Beschea
You could try something like this : var my_schema:Array = new Array(data,label); var my_data:Array = new Array(); var obj = new Object(); obj[my_schema[0]] = Some data; obj[my_schema[1]] = Some strings; my_data.addItem(obj); my_cb.dataProvider = my_data; Helmut Granda [EMAIL PROTECTED] wrote:

RE: [Flashcoders] displaying in html text field

2006-11-15 Thread Adrian Ionut Beschea
:) The first was actually an ampersand followed by letter l and letter t and a semicolon. I guess the text was rendered as html on the flash coders server or something. Let me try again : amp;lt; Danny Kodicek [EMAIL PROTECTED] wrote:stands for stands for Although strictly speaking

Re: [Flashcoders] displaying in html text field

2006-11-15 Thread Adrian Ionut Beschea
so... You need to use : var text:String = '1 amp;lt; 2' this.tfTest.htmlText = text; amp;lt; stands for amp;gt; stands for Adrian Ionut Beschea [EMAIL PROTECTED] wrote: You need to use : var text:String = '1 2' this.tfTest.htmlText = text; stands for stands for Alan Queen

Re: [Flashcoders] displaying in html text field

2006-11-14 Thread Adrian Ionut Beschea
You need to use : var text:String = '1 lt; 2' this.tfTest.htmlText = text; lt; stands for gt; stands for Alan Queen [EMAIL PROTECTED] wrote: I have a textfield with html turned on. There is a case where I need to actually show a less than () sign in the text field itself... but assigning

[Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Adrian Ionut Beschea
Hello, The htmlText value of a textfield looks much like a jungle Eg, a simple Verdana text : TEXTFORMAT LEADING=2P ALIGN=LEFTFONT FACE=Verdana SIZE=12 COLOR=#FFsample text/FONT/P/TEXTFORMAT Is there a way to at least make the tags lower case ? I'm looking for an actionscript or php

Re: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Adrian Ionut Beschea
Hey Jake, Thanks! Works like a charm. Adi. Jake Prime [EMAIL PROTECTED] wrote: On 31/10/06, Adrian Ionut Beschea wrote: Is there a way to at least make the tags lower case ? I'm looking for an actionscript or php solution. Hi Adrian This will make tags lower case: function

Re: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Adrian Ionut Beschea
AM, Adrian Ionut Beschea wrote: Hey. I want to have content that would eventually validate to XHTML- Basic standards. It's for a site that will have an alternate xhtml version besides flash. I know regular expressions are the way. They're bit of a vodoo for me, but I'm getting

RE: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Adrian Ionut Beschea
-Original Message- From: Adrian Ionut Beschea [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 31, 2006 11:08 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] trying to make htmlText more w3c valid it won't be inside flash. The application will have 2 versions : flash version

Re: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Adrian Ionut Beschea
it. To answer your question, though, it would just be a matter of running the string through a regex that makes tag + attributes lowercase [and removes deprecated tags]. On Oct 31, 2006, at 10:33 AM, Adrian Ionut Beschea wrote: Hello, The htmlText value of a textfield looks much like a jungle

Re: [Flashcoders] Flashout not working in eclipse 3.2

2006-10-19 Thread Adrian Ionut Beschea
That's what it says in the flashOUT page (http://www.potapenko.com/flashout/) Bad news - now Flashout 0.2 works only in eclipse 3.1 and java 5. Matt Muller [EMAIL PROTECTED] wrote: Hi has anyone else encountered this? It doest seem to register as a plug in, ie in the prefs in Eclipse 3.2 for

Re: [Flashcoders] Flashsql component

2006-10-18 Thread Adrian Ionut Beschea
hate to be offtopic here but I have to say this. are you sure you want to have your sql selects in flash ? one quick decompile and the whole database structure is exposed. Laurent CUCHET [EMAIL PROTECTED] wrote: Hello I use flashsql component a component to manage database I meet a bug with

Re: [Flashcoders] Flash Projectors - mProjector vs. Zinc

2006-10-17 Thread Adrian Ionut Beschea
I used mProjector while developing an im chat client and I had little problems with it. Comes with loads of samples and support forum is prompt. I for one, think it has quite a good support for system windows and it's all synchonus meaning you don't have to add event listeners for anything.

Re: [Flashcoders] Flash based desktop mate

2006-10-05 Thread Adrian Ionut Beschea
I used mProjector and it's quite ok. It comes with tones of samples. Gustavo Teider - Adobe Flash Developer [EMAIL PROTECTED] wrote: Shane Casey escreveu: Hey all, I'm looking into the possibility of building a desktop buddy type application in Flash. Basically it would need to be a

Re: [Flashcoders] Creating a SWF to dynamically create SWF';s

2006-10-04 Thread Adrian Ionut Beschea
Do you really have to embed the images inside the swf ? Isn't any way you can load them dynamically ? Generating swfs at runtime on the client side, I don't think it's posible. You can check out Php Turbine http://www.blue-pacific.com/products/phpturbine/default.htm With it you can generate

Re: [Flashcoders] Disabling Nested MCs?

2006-10-03 Thread Adrian Ionut Beschea
you can create an invisible button on top large enough to fit your map If you're bothered by the mouse pointer symbol try: invisible_btn.useHandCursor = false; Kevin Cannon [EMAIL PROTECTED] wrote: Hey, I'm using Laco's tweens, but maybe it has something similar. I'll look into it. Thanks for

Re: [Flashcoders] Selection class makes me want to kick someone in the face

2006-10-02 Thread Adrian Ionut Beschea
I don't know if I understood your problem but here's a thought. The setFocus event gives you oldFocus and newFocus as argument. If oldfocus is you button, you can code around it in your setfocus handler. Andreas Rønning [EMAIL PROTECTED] wrote: ...which is, i gather, somewhat of a

Re: [Flashcoders] Get Cursor x y position within textarea?

2006-09-22 Thread Adrian Ionut Beschea
You may want to look at this thread : http://chattyfig.figleaf.com/pipermail/flashcoders/2006-September/173034.html Instead of looking of the x,y position you could modify your link to handle html and make links to your own actionscript functions with asfunctions. Also, a cool tooltip manager

Re: [Flashcoders] Get Cursor x y position within textarea?

2006-09-22 Thread Adrian Ionut Beschea
I noticed a typo :) I meant modify your textarea to handle internal links - Original Message From: Adrian Ionut Beschea [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, September 22, 2006 9:32:49 AM Subject: Re: [Flashcoders] Get Cursor x y

[Flashcoders] cloning movieclips and adding them to ScrollPane

2006-09-22 Thread Adrian Ionut Beschea
Hello, I have a bunch of movieclips on stage and I want to display them in a scrollpane as well. So I need to come up with a way of cloning each one of them and add to the scrollpane's content. duplicateMovieClip doesn't seem to work since the clones are linked to the root and are not

Re: [Flashcoders] Getting text from a specific line...

2006-09-21 Thread Adrian Ionut Beschea
just a thought... you can try to retrieve all text in your texbox and split it by newline something like : var test_str = my_txt.text; lines_arr = test_str.split(newline); Don't know if it works, never tested it. - Original Message From: Michael Kønig [EMAIL PROTECTED] To:

Re: [Flashcoders] flex simple question call function

2006-09-18 Thread Adrian Ionut Beschea
try posting your flex question on the flexcoders list : http://www.flexcoders.org/index.html - Original Message From: Caruso Canepari [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Monday, September 18, 2006 10:00:52 AM Subject: [Flashcoders] flex simple question call

Re: [Flashcoders] scrollpane not showing scrollbars - dynamic content

2006-09-11 Thread Adrian Ionut Beschea
happened to me some time ago but I can't remember exactly what solved it. It might be one of this things : - call redraw(true) before you start working with it - before you set the contentPath, wait a few frames to make sure your scrollpane is fully loaded (use doLater if you can) -

[Flashcoders] classes vs external .as files

2006-09-11 Thread Adrian Ionut Beschea
Hello, I've just had a debate with a colleague of mine about the some of the as 2.0 best practice. We both like to separate design from code, but we have slightly different ways of doing it. This is what he does : He leaves design elements on stage and includes and external .as file to

Re: [Flashcoders] getURL and IE 6.0.

2006-09-05 Thread Adrian Ionut Beschea
;); } Latcho [EMAIL PROTECTED] wrote: and that string id'd window would be a popup... and popups are blocked Adrian Ionut Beschea wrote: It opens a new window That's what the second argument in getURL is for. You can give it _self, _blank, _parent, _top but you can also give it a string

Re: [Flashcoders] getURL and IE 6.0.

2006-09-05 Thread Adrian Ionut Beschea
the reference aaa so you can reuse the identifier string to point to that window ? if so, nice, thanks Adrian Ionut Beschea wrote: not all popups are blocked. it depends on what you getURL to. If it's just a script, or a web page, the browser won't block it, if it's a javascript call, then you're

RE: [Flashcoders] weird class could not be loaded.

2006-09-05 Thread Adrian Ionut Beschea
It happened to me as well. Is the datetime of your computer screwed up ? Usually when flash compiles classes, it saves them as .aso files. If the class file is actually older, then he skips the compiling I think. Deleting the aso files should do the trick. That's the only explanation I could

[Flashcoders] getURL and IE 6.0.

2006-09-04 Thread Adrian Ionut Beschea
Hello, I want to use getURL to open the exact same window whenever a user pushes the button. The code is this : test_btn.onRelease= getThatURL; function getThatURL() { getURL(http://www.example.com/script.php,window_name;); } It works fine in Firefox, but in IE 6.0. it keeps opening new

Re: [Flashcoders] getURL and IE 6.0.

2006-09-04 Thread Adrian Ionut Beschea
;); } *** REPLY SEPARATOR *** On 9/4/2006 at 4:04 AM Adrian Ionut Beschea wrote: Hello, I want to use getURL to open the exact same window whenever a user pushes the button. The code is this : test_btn.onRelease= getThatURL; function getThatURL() { getURL(http://www.example.com

Re: [Flashcoders] getURL and IE 6.0.

2006-09-04 Thread Adrian Ionut Beschea
It opens a new window That's what the second argument in getURL is for. You can give it _self, _blank, _parent, _top but you can also give it a string to identify the window. Jim Berkey [EMAIL PROTECTED] wrote: I need the browser to open a new window but if I press my button multiple

RE: [Flashcoders] help :) box collison

2006-09-04 Thread Adrian Ionut Beschea
hitArea and hitTest are the functions you want to check out. The Flash Help should be a good starting point. dan [EMAIL PROTECTED] wrote: Without is ok -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danny Kodicek Sent: Monday, September 04, 2006 2:07