Re: [Flashcoders] hover event for links in HTML textfields - possible?

2008-12-08 Thread [EMAIL PROTECTED]
Thanks for the answers, all. Unfortunately I've only just gotten my hands on
CS3, hence the late reply.

From a little bit of mucking about, it seems possible to use a combination
of a:hover in CSS, asfunction, and the
TextField.getCharIndexAtPoint(x:Number, y:Number) function to get close to
the desired effect. It looks like a:hover and
TextField.getCharIndexAtPoint() don't interfere with each other in any way.

I'm working on a function now to somehow correlate the a:hovers and the
TextField.getCharIndexAtPoint()s. This whole process seems a little on the
clunky side, but really, this TextField.getCharIndexAtPoint() thing is the
bee's knees.

@Michael William Ypes: Thanks for the link to TextMetrics. It looks like a
really useful class. Unfortunately, I am not certain how to apply it to this
current problem (where I get a single character's index, then try to work
out whether it's enclosed in a tags in the greater scheme of things) but
can think of about a hundred other uses for it.

Thanks again List!

Cheers,
CB.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Audio lag on KeyboardEvent.KEY_DOWN

2008-12-08 Thread [EMAIL PROTECTED]
Hi List,

I'm dipping my toe into AS3 and thought I'd play around with sound by making
a little piano keyboard which is played by pressing keys on the computer
keyboard.

It works - the appropriate sounds play on KeyboardEvent.KEY_DOWN - however,
I've noticed that there is often a lag between the keyboard event and the
actual sound playing. The occurrence of the lag seems pretty random.

The sounds are MP3s which are load()ed into Sound objects on init(). On
KeyboardEvent.KEY_DOWN, the appropriate Sound is play()ed.

I've checked all the MP3s, and they don't have extra silence at the
beginning. I don't think it has to do with the number of MP3s involved (14),
because I noticed the lag even when I was testing it out with 2 sounds.

Has anyone dealt with this before, and know what the problem might be? You
can see (or rather, hear) the lag for yourself here:
http://snipurl.com/7ndr2-meep

Thanks!

In hope,
CB.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] hover event for links in HTML textfields - possible?

2008-12-01 Thread [EMAIL PROTECTED]
Hello List,

Is there something like a hover event for links in HTML textfields? For
example, imagine an HTML textfield which displays the poem Jabberwocky. If
the user hovers over any of Lewis Carroll's nonsense words, a definition
appears in something like a tool-tip. Is such a thing possible?

Cheers,
CB.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] mp3 player AS2

2008-11-23 Thread [EMAIL PROTECTED]
Hi Natalia,

I've had to deal with this issue too. I found that the sound's duration is
not known until it is fully loaded. Like you, I had a progress bar and a
time display. I dealt with it like so:

For the progress bar, approximate the sound duration by working out the
milliseconds per byte, then the total milliseconds (in the code below, it is
the function getSoundDuration()). Then you use that value in the function
you use to update the playhead. (In the code below, that is the function
setPlayhead()).

For the time display, I just displayed the amount loaded so far, (converted
into time) followed by a +. (To indicate that there was more coming). This
was useful for displaying load progress. You can see this in the function
displayTime().



function getSoundDuration() {
 if (mySound.getBytesLoaded() == mySound.getBytesTotal()) {
  totalMilliseconds = mySound.duration;
 } else {
  millisecondsPerByte = Math.round(mySound.getBytesLoaded() /
mySound.duration);
  totalMilliseconds = Math.round(mySound.duration +
((mySound.getBytesTotal() - mySound.getBytesLoaded()) /
millisecondsPerByte));
 }
 return totalMilliseconds;
}
function setPlayhead() {
 loader.playhead._x = mySound.position/getSoundDuration()*widthOfLoader;
 updateAfterEvent();
}

function displayTime() {
 if (mySound.duration0) {
  if (mySound.getBytesLoaded() == mySound.getBytesTotal()) {
   currDuration = formatTime(mySound.duration);
  } else {
   currDuration = formatTime(mySound.duration)++;
  }
 }
 time_txt.text = currPosition +  ( + currDuration + );
}


Hope that helps!


On Sun, Nov 23, 2008 at 8:04 AM, natalia Vikhtinskaya [EMAIL PROTECTED]
 wrote:

 Please help me understand how correctly to show duration time. I
 started this player
 http://www.natavi.co.uk/player/player.html
 It shows progress of playing position correctly on pc, but online it
 plays crazy. I saw many examples in net where it shows playing
 progress correctly even if file is not fully loaded.  How?
 Code:

 ...
 xml.load(audio/songs.xml);
 this.onEnterFrame = handleSlides;

 function playSong(this_cps):Void
 {
cps=this_cps;
clearInterval(my_intervalLoad);
s.stop();
s = new Sound();
s.onSoundComplete = function() {
playSong(++cps);
};
if ((cps  sa.length - 1) || (cps 0))  {
cps = 0;
}
s.loadSound(sa[cps].earl, true);
s.setVolume(curVolume);
s.onLoad = function(success:Boolean) {
if (success) {
 clearInterval(my_intervalLoad);
 }
};
progress_mc._xscale=0;
progress_loading_mc._xscale=0;
pos=0;
isPlaying = true;

trackInfo.text = sa[cps].artist +  -  + sa[cps].track;
playPause.gotoAndStop(pause);

 }


 function checkProgressLoading(the_sound:Sound):Void {
var pct:Number =
 Math.round(the_sound.getBytesLoaded()/the_sound.getBytesTotal()* 100);
progress_loading_mc._xscale = pct;

 }


 function handleSlides(){
if (isPlaying) {
pos=s.position
}
progress_mc._xscale = Math.round(100*pos/s.duration);


UpdateTextCur();  // it shows s.position
UpdateTexLeft();   // it show what left
 }
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] AS3 training courses in Sydney

2008-11-09 Thread [EMAIL PROTECTED]
Hi List,

As an anxious AS2 developer, I was wondering if anyone could recommend an
AS3 training course in Sydney (Australia). So far, I have come across this
course at Dynamic Web Training -
http://www.dynamicwebtraining.com.au/courses/flash-training-3.htm - but was
wondering if there were others people might recommend.

Thanks for any suggestions!

Best regards,
CB.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] [AS2] Vista, asfunction, selectable=false and autoSize=true

2008-10-15 Thread [EMAIL PROTECTED]
Hello List,

I'm working with some AS2 code that creates a textfield which has
selectable=false and autoSize=true, and uses asfunction to change its own
contents.

I recently noticed that, while it works successfully on Windows XP and on a
Mac (unsure of version), it does not seem to work on Vista. I should
clarify, it does not seem to work on Vista in a browser (works fine when you
control+enter).

After a fair amount of un/commenting, it seems like the problem is that, on
Vista, you can't have selectable=false AND autoSize=true and expect
asfunction to work. It works fine if you comment out either of those lines.

If anyone has Vista, I would sincerely appreciate it if you could give it a
burl in a browser, sample code below, just copy and paste. I only have
access to one Vista machine, so it would be great to get some confirmation.

And if anyone could shed some light on why this is happening at all, 'twould
be 'twerrific!

(I understand that Use AS3 is the answer to many problems, but
unfortunately I'm not in the position to do that right now).

Thanks very much!


// --- Click on a word to embolden it.
// --- Code begins.

var str:String = The quick brown fox jumps over the lazy dog.;
var str_array:Array = str.split( );
var newStr:String = ;
var clicked_array:Array = [];

this.createTextField(content_txt,this.getNextHighestDepth(),10,10,300,50);
with (content_txt) {
autoSize = true;
selectable = false;
border = true;
html = true;
wordWrap = true;
}

function render() {
newStr = ;
for (var i = 0; istr_array.length; i++) {
if (clicked_array[i] == 1) {
newStr += b;
}
newStr += a href='asfunction:clickedOn,+i+'+str_array[i]+/a
;
if (clicked_array[i] == 1) {
newStr += /b;
}
}
content_txt.htmlText = newStr;
}

function clickedOn(num) {
clicked_array[num] = 1;
render();
}

render();

// --- Code ends
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] [AS2] Vista, asfunction, selectable=false and autoSize=true

2008-10-15 Thread [EMAIL PROTECTED]
Hello Ian,

Thanks very much for trying it out for me. Definitely heartening to hear
that it is working as expected. Apologies for not describing correct/broken
behaviour in the original post. Correct behaviour: word goes bold when you
click on it. Broken behaviour: the asfunction hand cursor appears
correctly, until you click on a word. In which case, nothing happens except
that the hand becomes an arrow, and nothing appears to be clickable
anymore.

I too was very surprised to see that there was a difference on Vista,
especially as I tried it out on IE7 and FF2, and both had the latest version
of Flash Player. (Broken behaviour in both browsers, neither of which have
more than the default level of adblocking).

From your results, it seems that it must just be the machine I tested it on.
I will have to try to get access to more Vista machines to confirm it.

Thanks once again!

CB Botha.

On Wed, Oct 15, 2008 at 7:47 PM, Ian Thomas [EMAIL PROTECTED] wrote:

 Hi there,
   What would be helpful is to know what the behaviour you expect
 _is_, and what you see when it's broken.

  I would be very surprised if there is a difference on Vista for this
 sort of functionality, particularly a difference between Flash Player
 standalone and in a browser. I suspect something else must be going on
 on that machine. (Adblocking? Wrong version of the Flash Player?)

  Testing it on Vista: in the IDE, in Chrome, in Firefox 3, in IE 7
 and in Safari I get a line of text in a textfield - when I click on
 any word it goes bold. With a very quick look at your code, that seems
 to be correct.

 HTH,
   Ian

 On Wed, Oct 15, 2008 at 10:25 AM, [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:
  Hello List,
 
  I'm working with some AS2 code that creates a textfield which has
  selectable=false and autoSize=true, and uses asfunction to change its own
  contents.
 
  I recently noticed that, while it works successfully on Windows XP and on
 a
  Mac (unsure of version), it does not seem to work on Vista. I should
  clarify, it does not seem to work on Vista in a browser (works fine when
 you
  control+enter).
 
  After a fair amount of un/commenting, it seems like the problem is that,
 on
  Vista, you can't have selectable=false AND autoSize=true and expect
  asfunction to work. It works fine if you comment out either of those
 lines.
 
  If anyone has Vista, I would sincerely appreciate it if you could give it
 a
  burl in a browser, sample code below, just copy and paste. I only have
  access to one Vista machine, so it would be great to get some
 confirmation.
 
  And if anyone could shed some light on why this is happening at all,
 'twould
  be 'twerrific!
 
  (I understand that Use AS3 is the answer to many problems, but
  unfortunately I'm not in the position to do that right now).
 
  Thanks very much!
 
 
  // --- Click on a word to embolden it.
  // --- Code begins.
 
  var str:String = The quick brown fox jumps over the lazy dog.;
  var str_array:Array = str.split( );
  var newStr:String = ;
  var clicked_array:Array = [];
 
 
 this.createTextField(content_txt,this.getNextHighestDepth(),10,10,300,50);
  with (content_txt) {
 autoSize = true;
 selectable = false;
 border = true;
 html = true;
 wordWrap = true;
  }
 
  function render() {
 newStr = ;
 for (var i = 0; istr_array.length; i++) {
 if (clicked_array[i] == 1) {
 newStr += b;
 }
 newStr += a
 href='asfunction:clickedOn,+i+'+str_array[i]+/a
  ;
 if (clicked_array[i] == 1) {
 newStr += /b;
 }
 }
 content_txt.htmlText = newStr;
  }
 
  function clickedOn(num) {
 clicked_array[num] = 1;
 render();
  }
 
  render();
 
  // --- Code ends
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Overlapping two SWFs (wmode = transparent) in Firefox

2008-07-31 Thread [EMAIL PROTECTED]
I'm experimenting with two SWFs in separate DIVs, stacked exactly atop each
other, with wmode = transparent. Both SWFs have clickable / draggable items.
I have noticed that in Firefox 2, the bottom SWF is basically blocked
(nothing clickable or draggable), while in IE7 it seems to work fine.

Can anyone confirm that this is in fact the normal (if not ideal) behaviour
in Firefox, or if I'm doing something wrong?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] The Charges Against ActionScript 3.0

2008-07-15 Thread [EMAIL PROTECTED]

hi all,
i just published an article called Charges Against ActionScript 3.0 
covering the things people don't like about ActionScript 3.0.


it's posted on O'Reilly's InsideRIA, here:
http://www.insideria.com/2008/07/the-charges-against-actionscri.html

The article discusses the following issues:

1. The removal of on()/onClipEvent() from Flash CS3 makes creating
simple interactivity hard.
2. Getting rid of loaded .swf files is hard.
3. Casting DisplayObject.parent makes controlling parent movie clips
hard.
4. The removal of getURL() makes linking hard.
5. The removal of loadMovie() makes loading .swf files and images hard.
6. ActionScript 3.0's additional errors make coding cumbersome.
7. Referring to library symbols dynamically is unintuitive.
8. Adding custom functionality to manually created text fields, to
all movie clips, or to all buttons is cumbersome.
9. The removal of duplicateMovieClip() makes cloning a MovieClip
instance (really) hard.

if you have comments, please leave them on the article so i can respond 
if necessary.


colin
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] RE: AS3 events, events

2008-07-12 Thread [EMAIL PROTECTED]
Thanks Jason. What you suggested is what I put together during the interim.

All events bubble up to Main which then calls a method on whatever instance
it has to.

So is this the way events are usually handled in AS3. So you bubble up an
event to the highest object in the chain, and have it handle the event?.

Makes sense I supose.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] AS3 events, events, events ...

2008-07-09 Thread [EMAIL PROTECTED]
The AS3 event framework still leaves me slightly puzzled.

For one, I'm not sure why there's no EventListener class, or why they
didn't name EventDispatcher something else, like EventProxy or
EventBiatch, anyway, ignore that - I'll layout a question. Let's say
you have 5 classes, all of which extend Sprite:

(1)Main(2)Layout(3)PanelTop(4)PanelButton(5)DataManager

Now let's say the following exists:

A. Main contains an instance of Layout. Layout contains an instance of
PanelTop. PanelTop contains an instance of PanelButton (ie: Main -
Layout - PanelTop - PanelButton)

B. Main also contains an instance of DataManager (ie: Main - DataManager)

C. Within the PanelTop class, the instance of PanelButton is listening
for a MouseEvent (click). The handler for this event is a method
within PanelTop that creates a new custom event and then dispatches
the event.

SO here is my first question:
HOW does the DataManager class listen for this event (which is created
and dispatched from within PanelTop)?. DOES the DataManager class have
to contain an instance of either PanelTop or PanelButton? If so (which
I think is the case), you may see why I don't quite understand the
event framework.

Anyway, we'll see if anyone can advise on this for starters.

CHeers,
SF.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Re: AS3 events framework ...

2008-07-04 Thread [EMAIL PROTECTED]
Thanks all. Rich that is my problem, you've said:

You can dispatch from one instance and listen from another

So the second instance has to be instantiated somewhere else in the
application? What if the handler for the event isn't in the same class
where I instantiate the event?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] AS3 events framework ...

2008-07-03 Thread [EMAIL PROTECTED]
Considering that all events commence with the capture phase (stage to
target), is there anyway to have just one stage listener for all events (of
any type) that kills off event propagation, then routes said event to
perhaps an event manager or function that determines the event type and what
operation is required?

If possible, would this be ideal when you know your application only has
10-15 events (either user or system generated) to account for?

I still don't completely understand the AS3 event framework and it doesn't
seem to make sense to me to have 10 or 15 listeners located throughout an
application. Not to mention the fact that, as far as I'm aware, within any
class from which you want to listen for an event, you need to have a
instance of the dispatching object, then add the listener to the same
object?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How to avoid fake data being sent to server?

2008-06-18 Thread [EMAIL PROTECTED]

this might help you: 
http://cosmincimpoi.blogspot.com/2007/09/loadvariables-security-by-built-in.html#links

email me for details




On Jun 18, 2008, at 4:19 PM, Abe Pazos wrote:


Does anyone know documentation explaining
how to secure Flash client / Server communication?

Imagine you have a Flash game. When the game is over,
the score is stored in the server.

The value can be changed from 150 points to 100
points in memory using some game cracking tools, if
you use plain numbers on a variable. You can store
the data in some special format which can't be found
using that kind of tools. But the client can be easily
decompiled. Or maybe you can intercept and change
the value (using some kind of network proxy) while
it's sent to the server.

How does it work in online casinos? I guess the result
is probably calculated before it happens on server side,
so you just see a representation. This is possible in cases
where the input are some numbers, and the result is
calculated from that input. But this involves no real
user interaction.

Anyone on the list dealt with these problems before?

Thanks :)


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How to avoid fake data being sent to server?

2008-06-18 Thread [EMAIL PROTECTED]

yes and no

solution comes in 2 parts:

1. use loadvariables
loadVariables(.../script.php?foo1=1foo2=2, this, POST)

this is something: when u use loadvariables... flash will send all  
_root variables too... so php will recive foo1, foo2 and all variables  
that reside in _root ... with loadvariables.
i know this is kinda bad but works... make sure u have enough  
variables in root... most of us have more than enough :)


if anyone use decompilers/http request.. will see .../script.php? 
foo1=1foo2=2 but i have a little surprise in php:


2. extra check in php - make sure script is called from swf and not  
from browser. you can add some ip ban script for those who try.

?php
if (!isset($_REQUEST[speed]) || !isset($_REQUEST[stuffurl])) die();
.
.
.

enjoy


On Jun 18, 2008, at 7:25 PM, Ricky Bacon wrote:


[EMAIL PROTECTED] wrote:

this might help you: 
http://cosmincimpoi.blogspot.com/2007/09/loadvariables-security-by-built-in.html#links


Security through obscurity is not a very good idea.  You also still  
have the problem of someone decompiling the swf and modifying it to  
their needs.


-Ricky
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Paste rich text possible in Flash?

2008-06-17 Thread [EMAIL PROTECTED]
Just say you have text in Microsoft Word which is formatted bold and a
certain colour. Is it possible to copy that text into a Flash (MX2004 or 8)
input field and retain (or at least discover and recreate) that formatting?
My gut feeling is no, as I haven't yet come across examples of this on the
web. Even copying bold text in an HTML-enabled input textfield and pasting
it into the same textfield doesn't carry across the formatting. I'd
appreciate any thoughts on this, even (or I should say, especially) a No,
this can't be done.

Thanks!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] INSERT BREAKPOINTS and run debugger without Flash IDE ...

2008-06-16 Thread [EMAIL PROTECTED]
Depends what compiler and debugger you're using. I suggest using Flex 
and it's debugger if you're building anything of size. Here is a link  
http://learn.adobe.com/wiki/display/Flex/Debugging+tutorial


If you don't have access to Flex, maybe try FlashDevelop and this plugin 
 
http://flashdevelop.org/community/viewtopic.php?t=2958sid=fb8828a1a76b8bdb825bea82b16cbcb7


Also, maybe try open source Flex  
http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+3


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FLV issue

2008-06-15 Thread [EMAIL PROTECTED]
I had a similar problem when I was encoding with Sorenson 4 and hadn't yet
discovered the joyes of the FLV MetaData Injector. [
http://www.buraks.com/flvmdi/]. Hopefully it's this easy to fix :-)


On Sat, Jun 14, 2008 at 12:00 AM, Fabio Pinatti [EMAIL PROTECTED] wrote:

 Hi all,

 I'm getting a error that is drving me crazy. I'm using as2+flv playback in
 a
 project, and my video has 4 seconds length. when I put this value as buffer
 time in component, it pre-buffers the video, but when it plays, it goes
 very
 quiclky to the end, when the expected would be the video play normally in
 it
 framerate, after buffered...

 I don't know if that can be a encoding issue, a flash player issue, or a
 issue of mine...

 Can anyone give me some tips, please?

 Thanks in advance.
 --
 Fabio Pinatti
 :: web.developer
  www.pinatti.com.br
 :: 19. 9184.3745 / 3342.1130
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Input textfields - is it possible, when filled up, to behave like a browser input textfield?

2008-06-11 Thread [EMAIL PROTECTED]
Hello List,

Not only can I not work out how to fix this problem, but I'm also having
problems describing it pithily. Please bear with me and I hope someone has
pointers, even if just to say Nup, can't be done.

With input textfields in a browser (that is, the ones I've checked, FF2 and
IE7), when you type enough to fill up the textfield, the cursor stays at
the very right of the textfield, and the overflow text (the text you are
still typing) comes up character by character, each character shifting the
existing text to the left by one character-width.

With input textfields in Flash (MX2004 and 8), when you type enough to fill
up the textfield - or rather, when you get within about 5px of the right
side of the textfield - the existing text jumps a good distance (about 20px)
to the left, thus opening up more space for you to type into.

1) I need the input textfields in Flash to behave like the browser input
textfield behaviour described - essentially, I need to prevent the text
jump left behaviour. Is it possible, and if not, how can it be faked?

2) Leading on from how can it be faked, what is the actual condition
required to cause the text jumps to the left behaviour in Flash? I've been
trying to get around it by making the textfield 1 space wider than its
contents, but the number of spaces required seems to vary with the font size
- smaller font size seems to require more extra spaces to prevent text jump
- so I'm guessing it's something else.

Any suggestions and pointers very much appreciated. Even an iota of clue 
clueless, which is my current situation.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] user friendly URL in flash site

2008-06-01 Thread [EMAIL PROTECTED]

http://www.asual.com/swfaddress/


On Jun 1, 2008, at 2:32 PM, Pavel Krůšek wrote:


Hi everybody,

can anyone tell me, how to make user friendly URLs in flash site,  
like it seems for example here: http://www.group94.com/#/website/work/


thnaks,

Pavel
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Ideas for a Fill in the gaps activity

2008-05-28 Thread [EMAIL PROTECTED]
Piers,

I thank you kindly. In fact, I fall humbly to my knees and offer you my
first-born goat. A rough draft of your idea can be seen here:
http://snipurl.com/2azzy-meep

There was a concern regarding large chunks of (non-editable) text dropping
to the next line, so I've temporarily gotten around it by putting each
non-editable word into its own textfield. Is that overkill? Will there be
problems with drawing hundreds of textfields onChange?

Next hurdle: working out how to deal with reeeally long text entry. ie, when
the input textfield width exceeds line space remaining. Creating a new,
symbiotic input textfield for user input to flow into strikes me as a
massive headache, especially when it comes evaluating the user data later. I
spose we can but try.

I'll keep posting improvements as (or if) they happen. Thanks again!



On Tue, May 27, 2008 at 8:21 PM, Piers Cowburn [EMAIL PROTECTED] wrote:

 Here's a solution (in English rather than code though):

 Create an array of your two different types of fields (editable and
 non-editable).

 Create a render function (triggered once at the start, and then
 subsequently by the Change event of any of the editable fields) which loops
 through this array making labels / input fields for each one accordingly.

 Each time you create a new label, check to see if the width of it will
 exceed the width of the page, and if so, split it into two fields, with the
 second being on a new line.


 I think that should work.

 Piers




 On 27 May 2008, at 10:52, Paul Andrews wrote:

  - Original Message - From: [EMAIL PROTECTED]
 To: flashcoders@chattyfig.figleaf.com
 Sent: Tuesday, May 27, 2008 5:29 AM
 Subject: [Flashcoders] Ideas for a Fill in the gaps activity


  Hello Flashcoders,

 I have a Fill in the gaps activity, done in HTML and Javascript (very
 quickly). It can be seen here: http://snipurl.com/2askk-meep.

 I have to make something like this in Flash, and it's leaving me stumped.
 It
 seems like I'd need all the text (plus growable gaps) to be within one
 text field, to retain the flow of the words in the paragraph. However,
 said
 text field can't just be an input text field because that would make all
 the
 text editable.

 Any ideas very welcome. Even a very small idea  0 idea, which is what I
 have at the moment. Thanks!


 I have done this for a commercial product using drag and drop. All the
 gaps were just drop zones, suitably sized to accept the (largest possible)
 draggable answer. The non editable text was just labels. The layout was
 fixed with text flow done by hand. It was a multiple choicedrag and drop
 thing though - in your case you can just substitute the drop zone for input
 fields.

 It is messy, so I'm looking forward to some clever solutions..

 Paul
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


 [EMAIL PROTECTED]
 0207 631 3278



 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Re: AS3: Static functions and events

2008-05-23 Thread [EMAIL PROTECTED]
Jon, that looks the goods. If you want every class to have this ability 
(application-wide), then I guess using your technique you'd create a 
Global Event Manager class, and pull an instance of this class into 
every type. Maybe inheritance would be the go here too.


Cheers for the link MHG, the gSkinner class looks like a solution at 
this point.



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] interview with flash player engineer jim corbett

2008-05-22 Thread [EMAIL PROTECTED]
fitc just posted an hour-long interview i did in april with jim corbett, 
one of the adobe's flash player engineers.


see:
http://www.moock.org/blog/archives/000276.html

topics covered include:
-garbage collecting loaded .swf files (see grant skinner's post at 
http://www.gskinner.com/blog/archives/2008/04/failure_to_unlo.html)

-ecmascript4: is it too much?
-future of the web client ecosystem
-life as a player engineer
-history of flash player's internals
-macromedia and adobe culture
-flash player engineering process
-politics of the web
-future player features
-jon gay's vector renderer

i'm considering talking to adobe about doing more of these, so if you 
like the format/content of the interview and would like to see more 
interviews with adobe engineers, please leave a comment at the above url.


colin
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] variable with # sign

2008-02-21 Thread [EMAIL PROTECTED]

Thanks for getting back to me.
I'm targeting Flash Player 8.
Essentially, I am creating an HTML form in Flash, but I'm running  
into trouble because the form refers to database field names with  
symbols I can't place in a variable name and I need to pass the  
variable name with the data.


The form in my FLA has input fields for First Name and Email address.  
Each input field has a Var associated with it.

The First Name field's Var is f:1700253695
The Email field's Var is f:31

Then in Actionscript I have variables for the hidden fields that  
would be used in an HTML version of the form (not sure if this is  
necessary) and a submit button function to send the variable names  
and their values to the sign-up form on the server.

var f#1700253695 = TEXT:First%20Name;
var f#31 = TEXT:Email%20Address;

submitBtn.onRelease = function(){
getURL(http://www.topica.com/f/p.html;, ,GET);   
}

The problem I'm having is that the database on the server requires  
either the colon or the # sign in the field name, but I can't figure  
out how to publish the SWF with them.
If there isn't a way, I think I will use the ExternalInterface API to  
send my field values to a form in my HTML wrapper and send the data  
from there. I'm not well versed in Javascript so I'm trying to avoid  
that if possible.


Any help would be greatly appreciated.

Thanks again.
-Alex


On Feb 21, 2008, at 12:50 AM, Martin Klasson wrote:


this[f#31] = TEXT:Email%20Address;

This could work for you I guess, it wont give you a compiler error,
but I would revise the code since I wouldnt suggest this ugly  
solution.


If you could show more code on how you are sending the data,
as well as what Flash Player version you are targeting there would
easier to give you a more helpful hand if you want the solution to
be more legit than the solution above.

/ Martin


2008/2/21, [EMAIL PROTECTED] [EMAIL PROTECTED]:


Hi.
I need to pass a variable to a email sign-up form and it needs to be
named f#31

I have it written:

var f#31 = TEXT:Email%20Address;

Flash gives me an error when I try to publish this and I assume its
because the variable name has the # sign. How do I get around this?
I've tried escape sequences to no avail.

Thanks!
-Alex
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





--

Martin Klasson
Flash Developer
Parkgatan 9-11
S-411 24 Göteborg
Sweden
Office +46 (0) 31 711 54 50
Cell +46 (0) 730 964 561
[EMAIL PROTECTED]
www.kokokaka.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] variable with # sign

2008-02-21 Thread [EMAIL PROTECTED]

Thanks everyone.
I couldn't get it to work in Flash, so I hid a form in my HTML  
wrapper, passed the user input data to it with a Javascript function  
and then sent it to the server through another Javascript call.

Probably could be cleaned up, but it works.
Thanks again.
-A

function flashTxt(txt1, txt2, txt3, txt4, txt5) {
document.getElementById('txt1').value = txt1;
document.getElementById('txt2').value = txt2;
document.getElementById('txt3').value = txt3;
document.getElementById('txt4').value = txt4;
document.getElementById('txt5').value = txt5;
}
/script
script
function submitform()
{
  document.myform.submit();
}
/script




On Feb 21, 2008, at 1:37 AM, Muzak wrote:

What your database looks like and variable names in your Flash  
application, have (and shouldn't have) no impact on each other.
Afterall, you'll be sending/loading data through some script/ 
webserver/remoting, so you can *massage* your data before sending  
it to Flash and vice versa.


So saying that you need to name variables:
   var f#1700253695;
   var f#31
is nonsense ;-)

var myReallyCoolFlashVariableForAnEmailAddress = [EMAIL PROTECTED];

Send that to your server side script, which then stores it in the  
database (or whatever).




- Original Message - From: [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thursday, February 21, 2008 10:14 AM
Subject: Re: [Flashcoders] variable with # sign


Thanks for getting back to me.
I'm targeting Flash Player 8.
Essentially, I am creating an HTML form in Flash, but I'm running
into trouble because the form refers to database field names with
symbols I can't place in a variable name and I need to pass the
variable name with the data.

The form in my FLA has input fields for First Name and Email address.
Each input field has a Var associated with it.
The First Name field's Var is f:1700253695
The Email field's Var is f:31

Then in Actionscript I have variables for the hidden fields that
would be used in an HTML version of the form (not sure if this is
necessary) and a submit button function to send the variable names
and their values to the sign-up form on the server.
var f#1700253695 = TEXT:First%20Name;
var f#31 = TEXT:Email%20Address;

submitBtn.onRelease = function(){
getURL(http://www.topica.com/f/p.html;, ,GET);
}

The problem I'm having is that the database on the server requires
either the colon or the # sign in the field name, but I can't figure
out how to publish the SWF with them.
If there isn't a way, I think I will use the ExternalInterface API to
send my field values to a form in my HTML wrapper and send the data
from there. I'm not well versed in Javascript so I'm trying to avoid
that if possible.

Any help would be greatly appreciated.

Thanks again.
-Alex


On Feb 21, 2008, at 12:50 AM, Martin Klasson wrote:


this[f#31] = TEXT:Email%20Address;

This could work for you I guess, it wont give you a compiler error,
but I would revise the code since I wouldnt suggest this ugly   
solution.


If you could show more code on how you are sending the data,
as well as what Flash Player version you are targeting there would
easier to give you a more helpful hand if you want the solution to
be more legit than the solution above.

/ Martin


2008/2/21, [EMAIL PROTECTED] [EMAIL PROTECTED]:


Hi.
I need to pass a variable to a email sign-up form and it needs to be
named f#31

I have it written:

var f#31 = TEXT:Email%20Address;

Flash gives me an error when I try to publish this and I assume its
because the variable name has the # sign. How do I get around this?
I've tried escape sequences to no avail.

Thanks!
-Alex
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





--

Martin Klasson
Flash Developer
Parkgatan 9-11
S-411 24 Göteborg
Sweden
Office +46 (0) 31 711 54 50
Cell +46 (0) 730 964 561
[EMAIL PROTECTED]
www.kokokaka.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] variable with # sign

2008-02-21 Thread [EMAIL PROTECTED]

I hear you Glen.
I'm connecting to Topica, a fairly popular online email marketing  
application. And I'm probably making it sound like something it isn't  
out of my own ignorance.
Essentially, I'm trying to recreate the sign-up from that Topica's  
system generates for its clients in HTML into Flash. The HTML form  
has input text fields like NAME=f:1700253685 and I don't know how  
to re-create the form function in Flash to send the user input data  
entered into the corresponding field. I think I get tripped up by the  
: in the NAME but that could be way wrong.


The workaround I came up with was to send the data to a hidden form  
in my HTML wrapper and then submit it through a Javascript function  
called from Flash. That way the form is essentially the same one the  
Topica system gave me and I'm using Flash to populate it. Nothing  
elegant about it, but I don't know enough and Topica doesn't provide  
any support for sending the user input data directly from Flash.


And I can only trust the sign-up form they give all their users has  
the safeguards you are describing below.


-A


On Feb 21, 2008, at 5:57 AM, Glen Pike wrote:

It sounds like your server side code is putting stuff straight into  
the database from your form.


If you are doing this, then please stop - THIS IS BAD... 1, you are  
maybe not checking your data from the form for dodgy stuff.
2, you are probably allowing the form to specify what fields in the  
database you are filling in.
3. why does your database not let you create your own tables with  
sensible field names?


It may be good from a lazy programming perspective, but this is a  
security nightmare.


You should always have your server side code check  validate your  
data, then decide where each bit of data goes.  The client should  
not specify where the data goes - otherwise your database ends up  
hacked.  This also applies to contact forms that specify the  
recipient in the form itself.  DON'T DO IT, IT'S BAD, LEARN ABOUT  
SECURITY (please) :)


HTH

Glen

[EMAIL PROTECTED] wrote:

Thanks for getting back to me.
I'm targeting Flash Player 8.
Essentially, I am creating an HTML form in Flash, but I'm running  
into trouble because the form refers to database field names with  
symbols I can't place in a variable name and I need to pass the  
variable name with the data.


The form in my FLA has input fields for First Name and Email  
address. Each input field has a Var associated with it.

The First Name field's Var is f:1700253695
The Email field's Var is f:31

Then in Actionscript I have variables for the hidden fields that  
would be used in an HTML version of the form (not sure if this is  
necessary) and a submit button function to send the variable names  
and their values to the sign-up form on the server.

var f#1700253695 = TEXT:First%20Name;
var f#31 = TEXT:Email%20Address;

submitBtn.onRelease = function(){
getURL(http://www.topica.com/f/p.html;, ,GET);   }

The problem I'm having is that the database on the server requires  
either the colon or the # sign in the field name, but I can't  
figure out how to publish the SWF with them.
If there isn't a way, I think I will use the ExternalInterface API  
to send my field values to a form in my HTML wrapper and send the  
data from there. I'm not well versed in Javascript so I'm trying  
to avoid that if possible.


Any help would be greatly appreciated.

Thanks again.
-Alex


On Feb 21, 2008, at 12:50 AM, Martin Klasson wrote:


this[f#31] = TEXT:Email%20Address;

This could work for you I guess, it wont give you a compiler error,
but I would revise the code since I wouldnt suggest this ugly  
solution.


If you could show more code on how you are sending the data,
as well as what Flash Player version you are targeting there would
easier to give you a more helpful hand if you want the solution to
be more legit than the solution above.

/ Martin


2008/2/21, [EMAIL PROTECTED] [EMAIL PROTECTED]:


Hi.
I need to pass a variable to a email sign-up form and it needs  
to be

named f#31

I have it written:

var f#31 = TEXT:Email%20Address;

Flash gives me an error when I try to publish this and I assume its
because the variable name has the # sign. How do I get around this?
I've tried escape sequences to no avail.

Thanks!
-Alex
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





--

Martin Klasson
Flash Developer
Parkgatan 9-11
S-411 24 Göteborg
Sweden
Office +46 (0) 31 711 54 50
Cell +46 (0) 730 964 561
[EMAIL PROTECTED]
www.kokokaka.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--

Glen Pike
01736

[Flashcoders] variable with # sign

2008-02-20 Thread [EMAIL PROTECTED]

Hi.
I need to pass a variable to a email sign-up form and it needs to be  
named f#31


I have it written:

var f#31 = TEXT:Email%20Address;

Flash gives me an error when I try to publish this and I assume its  
because the variable name has the # sign. How do I get around this?

I've tried escape sequences to no avail.

Thanks!
-Alex
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] is there a way of detecting whether or not the mouse is in a movie at all?

2008-02-09 Thread [EMAIL PROTECTED]
looks like you're using ActionScript 2.0, but just for the record, in 
ActionScript 3.0 you can use the Event.MOUSE_LEAVE event to detect when 
the mouse leaves Flash Player's display area.


colin

Hans Wichman wrote:

Hi,

that is only detectable when the mouse is down (try tracing xmouse and
ymouse while mouse is down, versus when its not).
Another thing you can do is look at how long the mouse hasnt moved.

greetz
JC

On Feb 8, 2008 1:40 PM, Allandt Bik-Elliott (Receptacle) 
[EMAIL PROTECTED] wrote:


hi guys

just a quickie

i've got an expandable flash banner that has a transparent movie clip
(called roll_mc) over the top of it to detect whether to expand or
not but because i can't seem to get an accurate false from my hittest
if the mouse goes out of the banner, i was wondering if there was a
way to detect if the mouse was in the movie at all

here is what i have

function gotoExpand():Void {
   trace (x mouse is +_root._xmouse);
   trace (y mouse is +_root._ymouse);
   if (roll_mc.hitTest(_root._xmouse, _root._ymouse) 
_root._xmouse345  _root._ymouse345) nextFrame();
}

the movie is 350x350 but if you move the mouse out of the movie
pretty quickly, it registers that the mouse is still within the movie

example traces:
//mouse is moved fairly slowly
x mouse is 349
y mouse is 208
x mouse is 349
y mouse is 208
x mouse is 185
y mouse is 349
x mouse is 348
y mouse is 95
//mouse moved fairly quickly
x mouse is 336
y mouse is 225

anyone have any ideas?

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] load flex swf into flash CS3 project

2007-12-19 Thread [EMAIL PROTECTED]

Hello-

I need to load a compiled AS3 based Flex 3 swf (a simple form with  
data validation)  into an AS3 based Flash project I'm working on in  
CS3.   I tried importing the .swf into the library pre-compile as well  
as loading it at runtime and nothing shows up.


Can this be done?
Any ideas?


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Short syntax for accessing nested display objects? (AS3)

2007-10-23 Thread [EMAIL PROTECTED]
sending again because my first post didn't seem to get through. sorry if 
this is a double post...


--
hi alistair,
you are confusing variable names with instance names. they're not the 
same thing.


when you do this:
 var cont1:Sprite = new Sprite();
 cont.addChild(cont1);

you are not naming the sprite cont1, you are simply assigning the 
variable cont1 a reference to the new Sprite.


so you can't do:
 cont.getChildByName(cont1);

because the Sprite referenced by cont has no instance name.

you *can* do this:
 var room:Sprite = new Sprite();
 var b:Sprite = new Sprite();
 b.name = ball;
 room.addChild(b);
 trace(room.getChildByName(ball));

however, that technique is not recommended because it requires you to 
refer to the object by an arbitrary string name (ball) that cannot be 
checked at compile time. in a pure ActionScript 3.0 program, rather than 
using instance names, you should reference all display objects through a 
variable. e.g.,


b.bounce()

instead of:

Ball(room.getChildByName(ball)).bounce()

(in the above code, the cast to Ball is required because 
getChildByName()'s return type is DisplayObject.)


if other areas of your code need access to the ball, pass them a 
reference to it. for example, you might have a Room class with a 
getBall() method:


 public function getBall ():Ball {
  return theBall;
 }

all that said, if you are just creating instances on the timeline in the 
Flash authoring tool, and you name them using the properties panel, you 
can reference them directly by name. e.g., if you have a clip that you 
named ball on the main timeline, you can reference that clip using 
this code on that timeline:


trace(this.ball);

the preceding code works because the compiler automatically adds a 
variable named 'ball' to the document class (the class representing the 
main timeline), and assigns 'ball' a reference to your named clip.


colin


keith wrote:
Is there a reason you can't access the Sprite with the variable you 
first created?

cont.visible=false;

-- Keith H --




Alistair Colling wrote:

Hiya everyone, good to see the list back up and running.

 I'm trying to access a sprite that is inside of 2 other sprites and I 
have 2 questions about this:


1) It seems that the syntax for targeting this sprite once it is 
created is quite long winded (2 temporary vars have to be created):


var cont:Sprite = new Sprite();
this.addChild(cont);
var cont1:Sprite = new Sprite();
cont.addChild(cont1);
var child1:Sprite = new H1();

var target =cont.getChildByName(cont1);
var targ2 = target.getChildByName(child1);  
targ2._visible = false;





2) Also, I can't data type my target var as a Sprite otherwise I get 
an error (unless I cast  the type as well).


If anyone knows of a better of doing this I would be really interested 
to hear it :)

Cheers,
Ali



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] digest

2007-10-23 Thread [EMAIL PROTECTED]

digest
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Short syntax for accessing nested display objects? (AS3)

2007-10-21 Thread [EMAIL PROTECTED]

hi alistair,
you are confusing variable names with instance names. they're not the 
same thing.


when you do this:
 var cont1:Sprite = new Sprite();
 cont.addChild(cont1);

you are not naming the sprite cont1, you are simply assigning the 
variable cont1 a reference to the new Sprite.


so you can't do:
 cont.getChildByName(cont1);

because the Sprite referenced by cont has no instance name.

you *can* do this:
 var room:Sprite = new Sprite();
 var b:Sprite = new Sprite();
 b.name = ball;
 room.addChild(b);
 trace(room.getChildByName(ball));

however, that technique is not recommended because it requires you to 
refer to the object by an arbitrary string name (ball) that cannot be 
checked at compile time. in a pure ActionScript 3.0 program, rather than 
using instance names, you should reference all display objects through a 
variable. e.g.,


b.bounce()

instead of:

Ball(room.getChildByName(ball)).bounce()

(in the above code, the cast to Ball is required because 
getChildByName()'s return type is DisplayObject.)


if other areas of your code need access to the ball, pass them a 
reference to it. for example, you might have a Room class with a 
getBall() method:


 public function getBall ():Ball {
  return theBall;
 }

all that said, if you are just creating instances on the timeline in the 
Flash authoring tool, and you name them using the properties panel, you 
can reference them directly by name. e.g., if you have a clip that you 
named ball on the main timeline, you can reference that clip using 
this code on that timeline:


trace(this.ball);

the preceding code works because the compiler automatically adds a 
variable named 'ball' to the document class (the class representing the 
main timeline), and assigns 'ball' a reference to your named clip.


colin

Alistair Colling wrote:

Hiya everyone, good to see the list back up and running.

 I'm trying to access a sprite that is inside of 2 other sprites and I 
have 2 questions about this:


1) It seems that the syntax for targeting this sprite once it is created 
is quite long winded (2 temporary vars have to be created):


var cont:Sprite = new Sprite();
this.addChild(cont);
var cont1:Sprite = new Sprite();
cont.addChild(cont1);
var child1:Sprite = new H1();

var target =cont.getChildByName(cont1);
var targ2 = target.getChildByName(child1);   


targ2._visible = false;




2) Also, I can't data type my target var as a Sprite otherwise I get an 
error (unless I cast  the type as well).


If anyone knows of a better of doing this I would be really interested 
to hear it :)

Cheers,
Ali



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] UNSUBSCRIBE

2007-10-20 Thread Nick Bilton - [EMAIL PROTECTED]
UNSUBSCRIBE

On 10/19/07, Pedro Miguel V.Matias C. Braz [EMAIL PROTECTED] wrote:
 UNSUBSCRIBE

   melhores cumprimentos

 Pedro Braz
 DCTS/DIT/DT
 Unidade de Ambientes Locais
 Tel. Externos: (+351) - 21 761 20 10- Fax: (+351) - 21.761.28.61
 Tel. Internos: 117 010- Fax: 117.861

 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Dave
 Watts
 Sent: quinta-feira, 18 de Outubro de 2007 17:47
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] Welcome to the new list server!

 Our new list server is up! I apologize for the downtime. We've
 transferred
 the list to new hardware, so we should be outage-free for the
 foreseeable
 future.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/

 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more information!

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 AVISO LEGAL

 Esta mensagem é confidencial e dirigida apenas ao destinatário. Se a recebeu 
 por erro solicitamos que o comunique ao remetente e a elimine assim como 
 qualquer documento anexo. Não há renúncia à confidencialidade nem a nenhum 
 privilégio devido a erro de transmissão.
 Qualquer opinião expressa nesta mensagem pertence unicamente ao autor 
 remetente, e não representa necessariamente a opinião do Santander Totta, a 
 não ser que expressamente se diga que o remetente está autorizado para o 
 efectuar.



 DISCLAIMER

 This message is confidential and intended exclusively for the addressee. If 
 you received this message by mistake please inform the sender and delete the 
 message and attachments. No confidentiality nor any privilege regarding the 
 information is waived or lost by any mistransmission.
 Any views or opinions contained in this message are solely those of the 
 author, and do not necessarily represent those of Santander Totta, unless 
 specifically stated and the sender is authorized to do so.

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Full screen mode.. How?

2007-07-27 Thread [EMAIL PROTECTED]

Hey Omar,

Check this out:
http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html

Cheers...
Chris



Omar Fouad wrote:

How can i make flash in a browser to show up in full screen like the youtube
videos and here http://www.tempsgraphie.com/isao/??

thanks

  


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Certification

2007-07-27 Thread [EMAIL PROTECTED]
resend. my first effort at cut and paste came through with extraneous 
characters. i retry below using a different workflow ...
   
  hr
   
  resend 
   
  hi carl,

i am unable to access the archives for this list. so i am just going to cut and 
paste in below the body of a post i made dec 9 2006 in response to a question 
just like yours.

best of luck in knocking off the certification!
   
  hr
   
  i recently sat and passed the Flash 8 Certification exam.

i had previously passed the Developer cert for both Flash MX and MX 2004. i had 
never sat the Designer cert.

my  impression is that the Flash 8 Certification exam IS a Developer exam.  my 
guess is that to pass the Flash 8 certification, you have to know  ActionScript.

mind you, when you sit the exam you might end up  with a completely different 
set of questions. my guess is that they  have hundreds of questions, of which 
you will have to answer 70.  passing grade is 70%, meaning you have to get 49+ 
correct to pass. and  you have 75 minutes to complete the exam.

yeah, the test prep materials for the Flash 8 Cert suck.

but ...

here are some things you definitely should do:
 -- sample questions that download with the PDF at Adobe.com with the info 
about the Flash 8 exam
 http://partners.adobe.com/public/en/ace/ACE_Exam_Guide_Flash_8.pdf
 -- sample question that download with the PDF at Adobe.com with the info about 
the Flash MX 2004 Developer exam
 
www.adobe.com/support/training/certified_professional_program/flmx2004_dev_sample.pdf
 -- sample question that download with the PDF at Adobe.com with the info about 
the Flash MX 2004 Designer exam
 
www.adobe.com/support/training/certified_professional_program/flmx2004_des_sample.pdf
 -- know what is new with Flash 8. there are 1  hour of training videos on F8 
new features here:
 http://movielibrary.lynda.com/html/modPage.asp?ID=170
and you can get a 24 hour free pass here:
 http://www.lynda.com/freepass/24

beyond  that, you can use some MX 2004 Developer study guide materials. tom  
kitta created a sample exam and put up a ton of his notes. you can  find  links 
to both here:
 http://www.tomkitta.com/flash/index.cfm

and you can still get the MX 2004 Developer study guide book:
 http://www.amazon.com/Macromedia-Flash-Certified-Developer-Study/dp/0321256026/

as i said earlier, you might end up with completely different questions  than I 
did. following are 3 topics that I saw more than 1 question on:
 -- LoadVars
 -- Font outline embedding. defaults for static text, dynamic text, input text. 
 etc.
 -- Video.  Video class. import formats supported.
 -- Audio.  Sound class. import formats supported.

one surprise for me was no questions related to components. v2 or otherwise.  
none. nada.

there  were non-ActionScript questions. some related to the IDE. so maybe  
those came in from the Designer cert, or maybe not. things like  publish 
profiles, bandwidth profiler, etc.

one last bit of advice, if you can afford to take it twice, the best  way to 
find out what is on the exam is to take it. you definitely have  to prep for 
the first time that you take the exam. in the event that  you don't pass on the 
first go, you have to know enough to know what  you didn't know. if that makes 
sense. so if you can afford the risk of  taking the test a second time don't 
over agonize about it. prep, go, if  you pass the first time excellent. if not, 
likely you will know exactly  what you need to study up on to pass it with 
flying colors the second  time around.

i hope this helps. please post back about your experience after you take the 
exam.

and anyone else who has taken the exam. please post your impressions too.

best of luck!

  

Carl Welch [EMAIL PROTECTED] wrote:
  Hi flashcoders,

I am looking into becoming Flash Certified. Does anyone know about how
to prepare for taking the exam? What books or programs are available?
I can't seem to google a straight answer... and adobe's site is pretty
confusing... like a never ending rabbit trail.

Thanks for any advice.

-- 
Carl Welch
http://www.carlwelch.com
[EMAIL PROTECTED]
805.403.4819
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


   
-
Got a little couch potato? 
Check out fun summer activities for kids.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Debugger's not up to it.

2007-07-02 Thread [EMAIL PROTECTED]
john,

  just curious, in this case are you using as3 in cs3?

  i ask because the flash cs3 promo material touts a new advanced debugger 
consistent with the flex builder 2 debugger.

  personally, i never found any use for the debugger in flash 8 or  earlier.  i 
do find useful the debugger in flex builder 2.  i have not  yet tried the 
debugger for as3 in cs3.

  i do see this article up on devnet regarding the as3 debugger in cs3:

  introducing the actionscript 3.0 debugger
by peter elst
http://www.adobe.com/devnet/flash/articles/as3_debugger.html 

has anyone here tried out the cs3 as3 debugger?  can anyone offer  feedback 
whether you have find the cs3 as3 debugger of any use?
  
  p
  

John McCormack [EMAIL PROTECTED] wrote:  I am getting increasingly frustrated 
trying to debug in the Flash IDE.

I  see some, but not all of the variables I expect to see as I step  through 
code. Also, when I step to the next line I step to some  unexpected line.

A google search throws up: trace(), step  over/into/outof and our wonderful 
Xray but nothing on making the Flash  debugger do a proper job. Perhaps I am 
missing something. Can anyone  throw any light on this inadequate behaviour?

In desperation.

John

   
-
Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, 
when. 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] XMLSocket and problems

2007-06-04 Thread [EMAIL PROTECTED]
I use AS2.0 /  XMLSocket connections a lot and it's the onXML method I 
use to catch inbound stuff - not sure it this is your issue, but a 
thought anyhow

Original Message
From: [EMAIL PROTECTED]
Date: 03/06/2007 23:28 
To: Flashcoders mailing listflashcoders@chattyfig.figleaf.com
Subj: [Flashcoders] XMLSocket and problems

Hey got a problem and not sure where to look for hte issue,

I using XMLSocket and trying to connect to a data port for
information.. It does the same thing in the sandbox or running  from
the server where it trying to connect too...

I connect to the server  and the onconnect is executed... but the
problem is I don't get andyOnData  data coming in...

if i telnet to the server and port , the server spews out 
information.
port is above 1024

I am using flash 8
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com







___

Tiscali Broadband only £9.99 a month for your first 3 months! 
http://www.tiscali.co.uk/products/broadband/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Actionscript Developers in Central London

2007-05-30 Thread [EMAIL PROTECTED]
Hi,
We're currently looking to hire competent Actionscripters for 
permanent roles to work on gaming applications.

Essential skills
AS2.0 / OOP
Competence with version control (SVN ideally)
Good understanding of HTTP comms
Dealing with server side XML
Optimising graphic performance

Desirable skills
AS3/Flexbuilder/Flex unit
Developing flash clients to XML socket servers
Strong animation/ game design
J2EE

Salaries are good, and commesurate to experience and combined with a 
performance bonus scheme, company expanding rapidly.
Environment is fast moving with scope to learn a lot from an 
experienced and hard working team.
UK work permit required.

If you're interested drop me a line [EMAIL PROTECTED]

Tom





___

Tiscali Broadband only £9.99 a month for your first 3 months! 
http://www.tiscali.co.uk/products/broadband/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Text to MP3

2007-04-13 Thread [EMAIL PROTECTED]

hi!

For Text to MP3 check out www.unmovie.net! It´s an art 
project/installation and they generate

sound from text serverside onthefly...

check backstage for a list of software and scripts:
http://193.197.170.79/portal/portal_new.htm

i think it´s mbrola http://tcts.fpms.ac.be/synthesis/mbrola.html for 
that!


cheers, michael.
___
[EMAIL PROTECTED]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] FLVPlayback with Live Streams: Access to NetStream onStatus OR Equivalent of NetStream.Play.UnpublishNotify

2007-03-20 Thread [EMAIL PROTECTED]
i have a requirement where i have to use the FLVPlayback component with live 
streams from FMS. with FLVPlayback, is there any way that i can have access to 
the NetStream.onStatus event so that i can test for 
NetStream.Play.UnpublishNotify?

or does FLVPlayback have anything equivalent to NetStream.Play.UnpublishNotify 
for determining when a live stream concludes? i have reviewed the docs on 
FLVPlayback and i am at an impass.

background follows:

i am writing a swf that receives live streams from FMS. The requirement calls 
for using the FLVPlayback component. i would like to display the current state 
of the live broadcast, for example: Not yet started, Live, Broadcast Over, etc.

in an article by Stefan Richter i have found sample code that sets up an 
NetStream.onStatus handler. from Stefan's article it looks like the following 
two codes on the NetStream info object can be used to determine when a stream 
starts and stops: NetStream.Play.PublishNotify (start), and 
NetStream.Play.UnpublishNotify (stop).

however, when using a FLVPlayback component it is unclear to me how to access 
the NetStream.onStatus event. Is this possible?

with FLVPlayback to detect stream starts, the FLVPlayback stateChange event 
provides logic I can use instead of NetStream.Play.PublishNotify.

but i can not yet find logic on FLVPlayback that provides an alternative to 
UnpublishNotify. so far I have test without success the following FLVPlayback 
events: stateChange, complete, stopped, playing, paused, and close. I also put 
an onEnterFrame handler to test the FLVPlayback state property, but it just 
continues to display buffering after the live stream UnpublishNotify event 
occurs.

any assistance would be appreciated.
 
-
The fish are biting.
 Get more visitors on your site using Yahoo! Search Marketing.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Does ByteLoaded/bytesTotal work loading from CDROM ?

2007-03-19 Thread [EMAIL PROTECTED]
hi,

I think one of the best approach is to use
NetConnection/NetStream with metadata companion, you'll find
good examples on documentation or just googling a bit.


:)
Jaco - pixeldump




- Segue Messaggio Originale  -
Da : Fabio Sonnati [EMAIL PROTECTED]
A : flashcoders@chattyfig.figleaf.com
oggetto : Re: [Flashcoders] Does ByteLoaded/bytesTotal work
loading from CDROM ?
Data : Mon, 19 Mar 2007 22:37:07 +0100

 ok, do you know any workaround?
 I'm loading big FLVs from CDROM and I cannot know when
 Flash has completely loaded them


  hi,
 
  AFAIK not, flash player uses different criteria when
  http headers  are/[n't] availables.
 
  :)
  Jaco - pixeldump
  - Original Message -
  From: Fabio Sonnati [EMAIL PROTECTED]
  To: [EMAIL PROTECTED];
  flashcoders@chattyfig.figleaf.com Sent: Monday, March
  19, 2007 5:32 PM Subject: [Flashcoders] Does
  ByteLoaded/bytesTotal work loading from CDROM  ?
 
 
  Does ByteLoaded / bytesTotal work loading from CDROM ?
 
  when I try, I get ByeLoaded = byteTotal since the
 beginning... 
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the
 archive: 
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 
  __ Informazione NOD32 2126 (20070319)
 __ 
  Questo messaggio  è stato controllato dal Sistema
 Antivirus NOD32  http://www.nod32.it
 
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the
  archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Dynamic FontField issue when tweening

2007-03-08 Thread [EMAIL PROTECTED]

Please,

Does anybody knows a workaround to prevent the 'words messy between 
lines' when resizing a dynamic font field, the only way it seems to work 
it is export as bitmap font, but them we got flickered corners...


here is what i´m talking about: (click on the field)
http://www.randalgrave.com/font.html
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] simple math question...

2007-03-02 Thread [EMAIL PROTECTED]

MovieClip._width / 2  = its _x center
MovieClip._height / 2 = its _y center

hope it helps



[p e r c e p t i c o n] wrote:

good people,

how do i move a moviClip to center itself at (_xmouse, _ymouse)...i 
have the

onPress part down...i just need to center it on those coordinates

thanks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash IDE thinks standard #include .as file is aclass file

2007-02-16 Thread [EMAIL PROTECTED]

Are you working on a LAN?
I had the same issue here, the cause was that my computer clock were 
different from the network computer clock. When I moved the files to my 
HD it worked out.




Muzak wrote:

I've seen this happen when the include .as file had the same name as the fla 
it's included in.
Just a thought..

regards,
Muzak

- Original Message - 
From: Mike Mountain [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, February 16, 2007 12:58 PM
Subject: [Flashcoders] Flash IDE thinks standard #include .as file is aclass 
file


I've been working on an as file for some time - it's used as an
#include, it isn't a class (although it's part of a project which has
classes), just a means for me to tidy away some pretty rudimentary
timeline code from designers. Everything was working fine but now the
IDE won't validate the code - even though there's nothing wrong with it
- it keeps spitting out errors:
ActionScript 2.0 class scripts may only define class or interface
constructs.
Blah
Copy the code into a brand new as file, click the tick, works fine -
save it out with a filename, click the tick, breaks.
I've deleted my ASO files and still no joy - even if I comment out all
the code it still bloody complains.
Anyhow, anyone shed any light on this? - Or how to fix it, I think it
start when I put some imports in the file by mistake.
Cheers
M



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

  


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] What do you think are the best Flash projects and RIA's

2007-02-14 Thread [EMAIL PROTECTED]

May the old fashioned RR be a good sample for you?
http://www.rr.com/flash/

Cheers.



James Deakin wrote:

yeah thats a great little tag browser but I'm looking for RIA's and web
shops. Stuff where data and money are invloved. cool thing though.

James

On 2/14/07, Guilherme Cruz [EMAIL PROTECTED] wrote:


I like this one

http://www.airtightinteractive.com/projects/related_tag_browser/app/




On 2/14/07, James Deakin [EMAIL PROTECTED] wrote:

 What do you think are the best Flash projects and RIA's? I'm 
involved in
 lots of project where I work and I am beings asked for examples 
more and

 more as large companies begin to see the advantages of Flash based
 interfaces and RIA's.

 I want to persuade people that Flash isn't a toy  and I need some 
really
 good examples of solid work. I have a few I always rely on but I 
though

I
 would put it to the vote. So what are your top ten?
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] hooking up GUI in pure OO code...

2007-02-04 Thread [EMAIL PROTECTED]

try adding a Delegate to fix the scope issue.

import mx.utils.Delegate;
class Main {
var myButton:Button; // placed on stage in authoring time

function init() {
  myButton.onRelease = Delegate.create ( this, doSomething );
}

function doSomething() {
  trace(something);
}
}

Cheers,

Andrew.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] questions about [embed] in AS3

2007-01-20 Thread [EMAIL PROTECTED]
august,
  
  this reply is not answering all your questions. could others please explain 
this further?
  
  i think [Embed] is a flex thing. i'm not sure on this. anyone else who can 
comment?
  
  the square brackets indicate compiler directive metadata. i think the flash 
compiler just ignores [Embed]
  
  since flex has no library, it uses the [Embed] convention instead. docs on it 
here:
  http://livedocs.macromedia.com/flex/201/html/embed_082_3.html
  
  

August Gresens [EMAIL PROTECTED] wrote:  Hello

I  just starting to learn AS3, making my way through the Mook rough  cuts. I 
just read the chapter on external assets, and I've some  questions about this 
curious [embed] feature.

* I'm trying think of a precedent for this in another language, but can
think of anything. The closest thing I could think of is the Java
Class.getResource() method. Is this the intention?

* I take it that this facility essentially gives you the ability to create
your own symbol library. Is this right?

*  If so, I assume that one would create asset classes with static methods  to 
return references to these symbols. These classes could be arranged  in a 
library package of the developer's design. This would allow one  to publish a 
SWF or SWC, and these classes would provide an interface  to retrieving the 
symbols? Is this how this is typically used?

*  Initially declaring each asset with [embed] as a Class seemed strange.  But 
since each one is really a symbol, which can be instanced, I guess  it makes 
sense. Is this right?

* I understand that the tight  coupling between a class and it's assets are 
intentional with [embed].  It makes me wonder, however if there a way with Flex 
to manufacture SWF  instances using a common class template? In other words, 
using mxml is  there a way to manufacture a SWF of a certain type with compile 
time  assets loaded into it's properties? (If so, could you point me to some  
documentation that would show me how to do this?)

In general, I'd be interested in how people are using this feature in the
field, especially for large projects.

Thanks,

August
  

 
-
Now that's room service! Choose from over 150,000 hotels 
in 45,000 destinations on Yahoo! Travel to find your fit.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Tracer / FF2

2007-01-09 Thread [EMAIL PROTECTED]
its about time you provided something of value to the community Grden... :) 
grant ducks!

looking forward to seeing this! Is the xray viewer a new version or is it still 
flash 8 ? (I'm using xray with a flash app under flash 8 thats being loaded 
into a flash 9 flex app, not quite sure how I'm going to log both :) )

Grant.

- Original Message -
From: John Grden [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: 1/9/07 2:57 PM
Subject: Re: [Flashcoders] Flash Tracer / FF2

 The good news is, it's as simple as:
 
 import com.blitzagency.xray.logger.XrayLog;
 
 private var log:XrayLog = new XrayLog();
 
 //..usage:
 
 log.debug(string message[, object]);
 log.info(string message[, object]);
 log.warn(string message[, object]);
 log.error(string message[, object]);
 log.fatal(string message[, object]);
 
 if you're using the debug player, it'll catch the stack trace to give you
 what class/method made the call and the out put works with the current flex2
 xray interface.
 
 On 1/9/07, John Grden  wrote:
 
  I'll make it officially available tonight and post a message about where
  to get it.  It's on my laptop and I'm not going to be able to get to it
  until then,
 
  On 1/9/07, slangeberg  wrote:
  
   Where can I find info on the logger (flex 2/ as3)? is it available
   publicly?
  
   Thanks,
  
   -Scott
  
   On 1/9/07, John Grden  wrote:
   
LOL, i'm getting there I promise!!
   
I have Xray logger for Flex2 / as3 apps and have been using that for a
while
now.  But as for a connector that does the inspection, I'm working on
   it
now.  There's been a lot of requests ;)
   
On 1/9/07, slangeberg  wrote:

 Does XRay work with AS3 / Flex 2 apps?

 -Scott

 On 1/8/07, Steven Sacks | BLITZ  wrote:
 
  There's a standalone debug executable available too at
 
  http://www.osflash.org/xray/
 
 
  BLITZ | Steven Sacks - 310-551-0200 x208
 
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto: [EMAIL PROTECTED] On Behalf
   Of [EMAIL PROTECTED]
   Sent: Monday, January 08, 2007 3:54 PM
   To: Flashcoders mailing list
   Subject: Re: [Flashcoders] Flash Tracer / FF2
  
   I can do you one better. Download the XRay connector and
   classes from Blitz agency and use this link
   http://www.rockonflash.com/xray/flex/Xray.html and tell me
   what you think ;)
  
   T
  
   - Original Message -
   From: Eric Lee 
   To: 'Flashcoders mailing list'   
   flashcoders@chattyfig.figleaf.com
   Sent: Monday, January 08, 2007 5:42 PM
   Subject: [Flashcoders] Flash Tracer / FF2
  
For those of you who haven't used it, there's a cool FF
   plugin called
Flash
Tracer (https://addons.mozilla.org/firefox/3469/) that lets
   you view any
traces generated by a SWF within firefox.
   
   
   
My problem is that, since upgrading to FF2, I haven't been
   able to get it
to
work properly. Has anyone had similar issues / know of a fix?
   
   
   
Thanks!
   
-Eric
   
   
   
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
   
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 



 --

 : : ) Scott
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

   
   
   
--
[  JPG

Re: [Flashcoders] Flash Tracer / FF2

2007-01-09 Thread [EMAIL PROTECTED]

lol, had to have my weekly crack at you :)

How does it react to two clients trying to send it data, I've never really 
tried it with local connection, since my flash 8 system will be talking to it 
at the same time as the flex app...

yes I'm using the flex 2 release, you chastized me last time I used an old 
version :)

Grant

- Original Message -
From: John Grden [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: 1/9/07 3:19 PM
Subject: Re: [Flashcoders] Flash Tracer / FF2

 why I oughtta...pow, right in the kisser!
 
 The Flex2 interface will talk as2 or as3 apps that use the logger.  AS3
 doesn't have any other functionality other than logging.  It uses local
 connection with AMF0 so it's the same across the board.
 
 does that answer your question?  If you're not using the Flex2 version, here
 it is online:
 http://www.rockonflash.com/xray/flex/Xray.html
 
 On 9 Jan 2007 20:04:26 -, [EMAIL PROTECTED] 
 wrote:
 
  its about time you provided something of value to the community Grden...
  :) 
 
  looking forward to seeing this! Is the xray viewer a new version or is it
  still flash 8 ? (I'm using xray with a flash app under flash 8 thats being
  loaded into a flash 9 flex app, not quite sure how I'm going to log both :)
  )
 
 
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Tracer / FF2

2007-01-09 Thread [EMAIL PROTECTED]
cool man, thanks a bunch John.

Grant.

- Original Message -
From: John Grden [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: 1/9/07 3:31 PM
Subject: Re: [Flashcoders] Flash Tracer / FF2

 ;)
 
 if you have to apps sending it log data, that works just fine, however, it
 doesn't support looking at 2 separate apps yet.  I DO have plans on how to
 fix that so you can inspect 2 applications and select from any one flash app
 thats registered with Xray.
 
 On 9 Jan 2007 20:22:41 -, [EMAIL PROTECTED] 
 wrote:
 
 
  lol, had to have my weekly crack at you :)
 
  How does it react to two clients trying to send it data, I've never really
  tried it with local connection, since my flash 8 system will be talking to
  it at the same time as the flex app...
 
  yes I'm using the flex 2 release, you chastized me last time I used an old
  version :)
 
  Grant
 
 
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash 8 Certification Study Tips?

2006-12-20 Thread [EMAIL PROTECTED]
doug,
  
  Also here is a link to another thread from last week here on FlashCoders 
summarizing my experiences with the exam:
  http://chattyfig.figleaf.com/pipermail/flashcoders/2006-December/177023.html
  
  and yet another link to a post by two Flash developers who passed the  exam 
and over the weekend posted some comments about their experience:
  http://www.aboutnico.be/?p=54
  
  best of luck. please post back after you take the exam and let us know how 
the exam looked to you. 

JOR [EMAIL PROTECTED] wrote:  Hey Doug,

I wrote a little about my experience with the exam on my blog.

Good luck with your test!
James

James O'Reilly  —  Consultant
Adobe Certified Flash Expert
http://www.jamesor.com
Design • Code • Train


Doug Coning wrote:
 Greetings All,
 
 I'm preparing to take the Flash 8 Certification and was wondering if
 anyone who has already taken the test had any study tips on areas that
 you wished you may have been more prepared for?
 
 Thanks,
 
 
 Doug Coning
 Senior Web Development Programmer
 FORUM Solutions
 [EMAIL PROTECTED]
___
  

 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] SWF Decompiler

2006-12-14 Thread [EMAIL PROTECTED]
andy,
  
  are you decompiling your own SWFs?  also, what are you seeking from 
decompiling the SWFs?
  
  i ask for 2 reasons:
  1) if you are decompiling other people's SWFs, they usually do not like it, 
so stop.
  2) not all SWFs come from FLAs anymore. if you do not know the  provenance of 
the SWF, after decompiling you may end up with gibberish.  decompilers 
originally tartgeted FLA authored SWFs but today they may  be from MXML, SWiSH 
Max, etc.
  
  that all having been said, i concur with Alias. Buraks.com/ASV is the  gold 
standard for SWF decompilers. it costs $$ but it is worth it. i  have also 
tried Sothink but found it no where in league with  Buraks.com/ASV.
  
  Here is a link for a review on ASV from last year:
  http://www.flashmagazine.com/945.htm
  

Alias™ [EMAIL PROTECTED] wrote:  Haven't used eltima, but I'd generally 
recommend ASV as being the best
decompiler going.

http://www.buraks.com/asv/

HTH,
Alias
  

 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] :: anyone passed flash 8 certification exam?::

2006-12-11 Thread [EMAIL PROTECTED]
Gee Steve,
   
  You normally are such a force for good in the world.  
   
  But that post on the Flash cert was harsh.
   
  I can understand why you wouldn't take the time of day to think about taking 
a cert exam.  But then why take the time to bash it?
   
  The cert thing is good.  Not evil.  You live near the epicenter of the Flash 
universe.  But not everybody does.  It is good for people to use objective 
measures to know that they are making progress.
   
  Please stick to your normal form of playing nice with the other kids here in 
the Flash playground :-)

Best wishes to you and yours this holiday season!
  

Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:
  Flash 8 Certification Exam? Srsly? And you pay for it? That's crazy
talk! 

If you've got money to throw away, why not give it to a charity this
holiday season and use it for something that actually makes a
difference?

 
-
Need a quick answer? Get one in minutes from people who know. Ask your question 
on Yahoo! Answers.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] :: anyone passed flash 8 certification exam?::

2006-12-11 Thread [EMAIL PROTECTED]
hi jordan,
  
  now do you feel better? now that you got that off your chest and out in the 
open?  certifications are worthless.
  
  unless ...
  
  -- you are a newbie, and you are not even sure you are worthy of  calling 
yourself a Flash developer. trust me, if you can pass this  exam, you do know 
stuff. keep going.
 -- you are a non-technical  hiring manager. yeah, you can just take the 
candidate's word for it  that they know Flash. but i also definitely recommend 
that you look at  their portfolio, and even more importantly check their 
references (to  be sure that it is their portfolio). but if you are lazy and 
you can  check that they passed an exam, at least that is better than nothing.
  -- you have a salary job for a big bureaucratic corporation, and hell  if you 
know why, but if you pass the exam they will give you a pay  raise.
  -- you or your employer partner with Adobe and passing the exam is a 
requirement for your continued employment.
  -- or it is a choice between college and the real world. heck a  
certification exam is $150.  4 year college degree $150,000
  
  i have never met a subject matter expert that doesn't disdain the whole  
notion of certification exams. i guess it is not unlike neither bill  gates nor 
steve jobs having college degrees. but hey, they still hire  people that do.
  
 enough babble from me. technical  certifications exist. i took them. my 
passing them in no way makes me a  better flashcoder than you or steve. nor 
does it make me worse ;-)
  
  Now same to you, let's get back to playing nice with the other kids here in 
the Flash playground :-)
  
  Best wishes to you and yours this holiday season!
  

Jordan Snyder [EMAIL PROTECTED] wrote:  I don't agree with the smartassitude, 
but perhaps what Steven is  insinuating is that proving that you know some 
syntax does not prove  that you can actually do anything with it. I'm not at 
the epicenter of  the Flash Universe and I think the cert is worthless. Is that 
a better  way to put it? ;)

Cheers!
  

 
-
Want to start your own business? Learn how on Yahoo! Small Business.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] :: anyone passed flash 8 certification exam?::

2006-12-11 Thread [EMAIL PROTECTED]
jordan,
  
  you hit the essence of it. it is hopping over a low bar.
  
  technical certs are minimal, entry level credentials.
  
  kind of like a drivers license. and true, just because you have a license 
doesn't mean that you know how to drive ;-)
  
  achieving a technical cert is in no way on par with winning MAX Awards, Flash 
Film Festival, or landing a big account.
  
  and certainly passing a certification exam doesn't mean you will be  able to 
go around seemingly effortlessly dropping code solutions here  on flashcoders 
like steven does.
  
  so relative to those high honors, i concur that the cert is worth less.
  
  but ... when you are coming off ground zero, knocking off a cert can be a 
nice milestone along the way.
  
  btw, Flash certs are version specific. of all the languages i code,  
actionscript has been the most horribly unstable. however, now that  Adobe has 
actionscript tied to ECMA-262,  my hope is that as3 will be the last gut 
wrenching change for  actionscript. point being when the Flash 9 cert comes out 
anyone who  passes it will have to be up to date on as3, and conversely won't 
be  required to know as2 or as1 (really, finally, good-bye prototype ;-)
  
  
  Jordan Snyder [EMAIL PROTECTED] wrote:  Haha fair enough.  Just understand 
that my tone was playful and did not
illicit  a smartass response. You do make some good points as to the uses of a  
cert, but I'm still not sure that makes it worth much...with a Flash  cert, I'm 
not going to demand the same respect as with a 4 year degree.  There is no 
comparison there. And the other things seem as though they  could be 
accomplished by actually DOING something with Flash, not just  learning 
definitions. If you have a hiring manager who can BS enough to  learn some 
definitions, and a potential hire than can BS enough to  learn some 
definitions, what have you got in the long run? I will  digress and recognize 
the validity of a cert in some instances, but I  still think it's hopping over 
a low bar.


Cheers!
  

 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] :: anyone passed flash 8 certification exam?::

2006-12-08 Thread [EMAIL PROTECTED]
arin,

i recently sat and passed the Flash 8 Certification exam.

i had previously passed the Developer cert for both Flash MX and MX 2004. i 
had never sat the Designer cert.
  
my  impression is that the Flash 8 Certification exam IS a Developer exam.  my 
guess is that to pass the Flash 8 certification, you have to know  ActionScript.
  
mind you, when you sit the exam you might end up  with a completely different 
set of questions. my guess is that they  have hundreds of questions, of which 
you will have to answer 70.  passing grade is 70%, meaning you have to get 49+ 
correct to pass. and  you have 75 minutes to complete the exam.
  
yeah, the test prep materials for the Flash 8 Cert suck.
  
  but ...
  
  here are some things you definitely should do:
  -- sample questions that download with the PDF at Adobe.com with the info 
about the Flash 8 exam
  http://partners.adobe.com/public/en/ace/ACE_Exam_Guide_Flash_8.pdf
  -- sample question that download with the PDF at Adobe.com with the info 
about the Flash MX 2004 Developer exam
  
www.adobe.com/support/training/certified_professional_program/flmx2004_dev_sample.pdf
  -- sample question that download with the PDF at Adobe.com with the info 
about the Flash MX 2004 Designer exam
  
www.adobe.com/support/training/certified_professional_program/flmx2004_des_sample.pdf
  -- know what is new with Flash 8. there are 1  hour of training videos on F8 
new features here:
  http://movielibrary.lynda.com/html/modPage.asp?ID=170
and you can get a 24 hour free pass here:
  http://www.lynda.com/freepass/24
  
beyond  that, you can use some MX 2004 Developer study guide materials. tom  
kitta created a sample exam and put up a ton of his notes. you can  find  links 
to both here:
  http://www.tomkitta.com/flash/index.cfm
  
and you can still get the MX 2004 Developer study guide book:
  
http://www.amazon.com/Macromedia-Flash-Certified-Developer-Study/dp/0321256026/
  
  as i said earlier, you might end up with completely different questions  than 
I did. following are 3 topics that I saw more than 1 question on:
  -- LoadVars
  -- Font outline embedding. defaults for static text, dynamic text, input 
text.  etc.
  -- Video.  Video class. import formats supported.
  -- Audio.  Sound class. import formats supported.
  
one surprise for me was no questions related to components. v2 or otherwise.  
none. nada.
  
there  were non-ActionScript questions. some related to the IDE. so maybe  
those came in from the Designer cert, or maybe not. things like  publish 
profiles, bandwidth profiler, etc.
  
  one last bit of advice, if you can afford to take it twice, the best  way to 
find out what is on the exam is to take it. you definitely have  to prep for 
the first time that you take the exam. in the event that  you don't pass on the 
first go, you have to know enough to know what  you didn't know. if that makes 
sense. so if you can afford the risk of  taking the test a second time don't 
over agonize about it. prep, go, if  you pass the first time excellent. if not, 
likely you will know exactly  what you need to study up on to pass it with 
flying colors the second  time around.
  
i hope this helps. please post back about your experience after you take the 
exam.
  
  and anyone else who has taken the exam. please post your impressions too.
  
  best of luck!
  
  On 12/6/06, Orindom Dhar [EMAIL PROTECTED] wrote:Hello,
  
  Has anyone out there,cleared the flash 8 professional certification  exam. If 
yes, could you please give some advice on how to prepare for  it. Unlike 
previous flash certifications, in flash 8 they have combined  the designer and 
developer and made it as one,its ridiculous! As a  hardcore actionscripter I 
would have loved to skip the graphic  designing part.Sigh!Also there is no 
clear cut blueprint from adobe for  flash 8 cert exam.
  
  Any help in this regard is highly appreciated.
  
  regards,
  
  Arin

 
-
Have a burning question? Go to Yahoo! Answers and get answers from real people 
who know.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] SharedObject and Load Balanced Server (Local SharedObjects)

2006-10-27 Thread [EMAIL PROTECTED]

i thought about this last night and I believe this is more of a question about 
how the load balancing server would work - what the URLs would look like. If 
the load balanced server ends up generating alternate domains, like 
www2.domain.com, www3.domain.com, etc. I am thinking I might be able to use 
System.exactSettings

System.exactSettings allows us the specify whether or not to use the 
superdomain (domain.com) or exact domain (www2.domain.com, www3.domain.com) 
matching rules for locally persistent data. If set to false, then the 
superdomain would be used, and settings and data for SWF files hosted at 
*.domain.com are all stored in one place on the client machine.

but i'll be screwed if my .swf files get served from some damn akamai server 
with a funky akamai domain name - from what I have read I do not believe it is 
possible to shared local persistent data accross domains (local SharedObjects). 
if anyone knows otherwise, I'd love to know how!


 On Thu Oct 26 15:32 , '[EMAIL PROTECTED]' [EMAIL PROTECTED] sent:

attempt to send this didn't go through - 

If I have a flash module which uses SharedObject in a page on a website which 
is
load balanced, what implications might that have for how data is stored on the
client's machine?

I'm asking because I know SharedObjects write .sol files to the client's 
machine
using the domain from which the .swf was loaded, so if that .swf was served
through a load balanced server, would the flash module have access to the same
SharedObject the next time the user hits the site?

I am worried that the originating domain for the .swf might be different from 
the
site's domain due to load balancing, thus it would write a SharedObject using 
the
domain of its origin which could be different the next time the user visits 
the site.

thanks



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] SharedObject and Load Balanced Server

2006-10-26 Thread [EMAIL PROTECTED]
* I apologize if this ends up being a duplicate post, but I think my first
attempt to send this didn't go through - 

If I have a flash module which uses SharedObject in a page on a website which is
load balanced, what implications might that have for how data is stored on the
client's machine?

I'm asking because I know SharedObjects write .sol files to the client's machine
using the domain from which the .swf was loaded, so if that .swf was served
through a load balanced server, would the flash module have access to the same
SharedObject the next time the user hits the site?

I am worried that the originating domain for the .swf might be different from 
the
site's domain due to load balancing, thus it would write a SharedObject using 
the
domain of its origin which could be different the next time the user visits the 
site.

thanks



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Flashcom hosting

2006-10-11 Thread [EMAIL PROTECTED]

is this the default?

i've been using fms on my company servers and i got everything fine with 
this, but i just signed a flashcom host service for my own use and my 
folder structure is empty, no scriptlibs, apllication, documentaion or 
anyother folder, is this the default?

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] [JOB] Web Designer / Developer - Delft, The Netherlands - Full Time-contract

2006-10-05 Thread [EMAIL PROTECTED]

Web Designer / Developer

Location: Delft, The Netherlands

XD designers is looking for a Web Designer with developer skills.

- High level graphic and webdesign skills
- Experience with actionscript 1, 2, OOP, HTML, CSS, Javascript, PHP, mySQL

Please send your resume, portfolio and a short letter to [EMAIL PROTECTED]

*More information on our company: www.xd.nl*

*Job-description in Dutch Language (we are looking for someone living 
nearby Delft)



*

*XD designers is per direct op zoek naar een: 
Internetontwerper/-vormgever (40 uur)*


* 
Wie ben je?*


Bij elk nieuw ontwerp ga je tot het uiterste. Je denkt mee met de klant 
en weet zijn wensen te vertalen in een passende oplossing. Je bent trots 
op je werk en draagt dat ook uit. Je bent een absolute perfectionist met 
oog voor detail en vormgeving. Je interesses op vormgevingsvlak gaan 
verder dan alleen Internet en typografie. Naast je vakinhoudelijke 
talenten, beschik je over goede communicatieve vaardigheden en 'voel' je 
goed aan wat een klant wil.


*Wat ga je doen?*

Het werk bestaat voor een groot deel uit het zelfstandig ontwerpen en 
vormgeven van dynamische internetpagina's en -applicaties. Onze sites 
worden over het algemeen voorzien van ons eigen content management 
systeem en hebben een herkenbare stijl. De vormgeving en directe 
uitstraling van onze sites zijn voor ons en onze klanten zeer 
belangrijk. Wij zijn van mening dat ontwerp en uitwerking hand in hand 
gaan. Naast het ontwerpen en vormgeven zul je dus ook een deel van de 
technische uitwerking voor je rekening nemen. Er zal moeten worden 
gewerkt aan flash-animaties en actionscript-applicaties, html, 
css-styling en php-implementaties. Voor de technische vraagstukken kun 
werk je meestal samen met één van onze programmeurs.


*Wat moet je kunnen?*

Wij verwachten een professionele 'handen-uit-de-mouwen'-instelling. Je 
beschikt over een bovengemiddelde beheersing van Illustrator, Fireworks, 
Photoshop, Flash, Actionscript 1 en 2. Je beschikt over een 
bovengemiddeld talent voor vormgeving en hebt minimaal 3 jaar ervaring 
in het vakgebied. Je hebt verstand van beeldscherm-ergonomie en 
--typografie en weet hier op creatieve wijze telkens gebruik van te maken.


*Opleiding en werkervaring*

Een afgeronde opleiding op HBO- of WO-niveau en minimaal 3 jaar ervaring 
in dit vakgebied. Een rijbewijs is pré.


*Wat bieden wij?*

Wij bieden een vaste plek in ons veelzijdige team. Een goed salaris en 
bijkomende secundaire voorwaarden, waaronder een pensioenregeling.


*Wat bieden wij?*

Wij bieden een vaste plek in ons veelzijdige team. Een goed salaris en 
bijkomende secundaire voorwaarden, waaronder een pensioenregeling.


*Interesse?
*Denk jij dat je goed past in bovenstaand profiel en wil je nader 
kennismaken? Stuur dan je CV, portfolio en een korte sollicitatiebrief 
naar [EMAIL PROTECTED]


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Delegate Help

2006-10-02 Thread [EMAIL PROTECTED]
i need to call playFlv() inside another function, but this ain't 
working... and i have never used Delegate class or some other workaround



private function playFlv(file:String){
   trace(file);
}

private function getFLV(id:String):Void{
   var xml:XML = new XML();
   xml.onLoad = function(ok){
  
   if(ok){
   var node:Array = xml.firstChild.childNodes;  
   etc...
   
   playFlv(test);

   }
   };
  
   xml.load(id);

}

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] NetConnection Fail Error

2006-09-20 Thread [EMAIL PROTECTED]

Any idea why?

I'm trying to publish a live video on my local network...
Locally on my pc works fine, feed and player, but when i go lo local 
host feed still working but no one can see the cam.


here is my code:

feed:
var nc:NetConnection = new NetConnection();
nc.connect(rtmp://localhost/videoApp);

var ns:NetStream = new NetStream(nc);
ns.attachVideo(Camera.get());

vid.attachVideo(Camera.get());

ns.publish(chrisCam, live);



player:

var nc:NetConnection = new NetConnection();
nc.connect(rtmp://localhost/videoApp);

var ns:NetStream = new NetStream(nc);

vid.attachVideo(ns);

ns.play(chrisCam);
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] class function call onMouseAction

2006-09-18 Thread [EMAIL PROTECTED]

please, anyone knows what's the silly error I'm not catching here?
when I assign the rollOver to the class instance (setPlayButton), I 
don't getting able to access the 'getPlayFile function' thru its 
rollOver, why?



public function create(name:String, target:MovieClip, depth:Number, 
x:Number,y:Number):VideoThumb {

   vid = VideoThumb(target.attachMovie(thumb, name, depth));
   vid._files = new Array();

   setXY(x, y);
   setPlayButton();
   return vid;
}

private function setPlayButton(){
   var mc:MovieClip = vid.toolbar.playVideoButton;
   mc.onRollOver = mc.onDragOver = function():Void{
   trace(getPlayFile(0));
}
}

public function getPlayFile(index:Number):String{
   return vid._files[index];
}


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] handling PHP sessions in actionscript

2006-08-18 Thread [EMAIL PROTECTED]
HI

Sorry if this is all info that's in the archive. I did check but I'm
getting pushed for time ()

basic question really.

I have a basic system whereby user has to register and log-in in order to
play an online game.

when handling PHP sessions do I just append the session_ID to the POST
array when sending info back to the server? 

Thanks

James


mail2web - Check your email from the web at
http://mail2web.com/ .


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] 5 Star Rating System

2006-07-31 Thread [EMAIL PROTECTED] Ammor

Thanks for the illumination!
However, here's a link with a nice voting system To Whom It May Concern...

http://www.flashkod.com/code.aspx?ID=18813 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] 5 Star Rating System

2006-07-28 Thread [EMAIL PROTECTED] Ammor
Hi,
Can somebody give me a tutorial or a link to fla source of a nice 5 Star
Rating System with XML back end...

Pliz help !


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] .swf's containing html's location

2006-06-14 Thread [EMAIL PROTECTED]
You can send a parameter in source code like:
manualy
param name=movie value=main.swf?url=test.asp and embed
src=main.swf?url=test.asp ...

or 
dynamic (for example with asp)
param name=movie
value=main.swf?url=%Request.ServerVariables(URL)% and embed
src=main.swf?url=%Request.ServerVariables(URL)% ...

note: if current page in a folder %Request.ServerVariables(URL)% gives
you foldername/test.asp


mail2web - Check your email from the web at
http://mail2web.com/ .


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Character enconding problem PHP-Flash (AMFPHP)

2006-05-22 Thread [EMAIL PROTECTED]
yes, through Gateway::setCharsetHandler (there's an explanation in the 
Gateway.php file itself)

otherwise look at this:
http://www.sephiroth.it/tutorials/flashPHP/amfphp_iconv/

Marcelo de Moraes Serpa ha scritto:

Hello!

I´m using CakePHP as the application server and the admin system is all in
html (built with Cake) - all the data is entered through this interface. 
The

problem is that flash uses UTF8 which is different from the enconding Cake
uses (it seems)H. I would really love to know if AMFPP has something to 
deal

with that issue automatically, otherwise, I would have to convert each
string on each end manually...

Cheers,

- Marcelo.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
Alessandro Crugnola
Flash | PHP | Python developer

http://www.blumerstudio.com
http://www.sephiroth.it

+39 3939402645
+39 0236522445
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] external interface not working

2006-05-10 Thread [EMAIL PROTECTED]
Hi Doug,
I had faced a similar problem.
Upload the file on a webserver and check.

Original Message:
-
From: Doug Tangren [EMAIL PROTECTED]
Date: Tue, 9 May 2006 23:05:24 -0400
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] external interface not working


I am a mac user using flash 8 testing on safari 2.0.3. , flash's  
external interface and I am not getting flash to communicate with  
javascript or visa versa. Can anyone help?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



mail2web - Check your email from the web at
http://mail2web.com/ .


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] binary data Flash !

2006-05-07 Thread [EMAIL PROTECTED]
Binary Data through XMLSocket :
---

How we can send binary data through XMLSocket.I have been able to receive
binary data but not been able to send binary data through XMLSocket i tried
using Array
but it automatically inserted commas between the elements of Array.Is there
is any data structure that i can use to send the binary data through
xmlsocket.


Max




mail2web - Check your email from the web at
http://mail2web.com/ .


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] obfuscation swf !

2006-05-07 Thread [EMAIL PROTECTED]
Is there any good way or method for obfuscation a Flash file so that swf
works fine after obfuscation and also prevent any one to understand the
code easily . Few common softwares for obfuscation are just not that good
as swf stops working after using them . Of if not obfuscation is there any
other method to prevent swf to be decompiled to fla . help will be really
appreciate . 

Thx 

Max




mail2web - Check your email from the web at
http://mail2web.com/ .


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] binary data Flash !

2006-05-07 Thread [EMAIL PROTECTED]
Hi ! what all is needed to convert AS2 based fla to AS3 ? will there be any
changes in code required to have binary data work fine both sending and
receiving of binary data from tcp/ip socket ?

Max

Original Message:
-
From: Peter Hall [EMAIL PROTECTED]
Date: Sun, 7 May 2006 15:05:01 +0100
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] binary data Flash !


And FWIW, you will have all kinds of problems using XMLSocket for binary
data, in either direction. For example, when receiving binary data, if there
is a null byte, the byte will be considered to be a packet delimiter, and
will be removed (and preceding data will be passed as a string to onData).

Peter


On 5/7/06, Peter Hall [EMAIL PROTECTED] wrote:

 No, not really.
 If you can wait until Flash Player 9, the AS3 Socket object handles binary
 data natively.

 Peter




 On 5/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  Binary Data through XMLSocket :
  ---
 
  How we can send binary data through XMLSocket.I have been able to
  receive
  binary data but not been able to send binary data through XMLSocket i
  tried
  using Array
  but it automatically inserted commas between the elements of
Array.Isthere
  is any data structure that i can use to send the binary data through
  xmlsocket.
 
 
  Max
 
 
 
  
  mail2web - Check your email from the web at
  http://mail2web.com/ .
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



mail2web - Check your email from the web at
http://mail2web.com/ .


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Zoom effect

2006-04-20 Thread [EMAIL PROTECTED] Ammor

Thank you lols, but...

I'am afraid it's not what i'am looking for :)
I suggest that you install and run the offline Zinio reader on :
www.zinio.com 
They have a smart way to zoom into the flipping pages...
This is the same exact effect that i'am getting crazy to work!!

I know it's not flash based but ther's a mathematic stuff that could compute
the ratio of scaling object and position like on the reader...
Please save my life ;-)
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of MBDI ICSC
Rodrigo E. Curiel Salazar
Sent: mercredi 19 avril 2006 19:06
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Zoom effect

check this, closer to what you want, i think

http://www.sephiroth.it/file_detail.php?id=131

Rodrigo


On 4/19/06, Clint Tredway [EMAIL PROTECTED] wrote:


 Yup, I am working on a project that has a 'zoom' effect and the Tween
 class is what I am using to do it.
 Here is a link that was helpful to me.
 http://www.kirupa.com/developer/actionscript/tween.htm

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Julian
 'Julik' Tarkhanov
 Sent: Wednesday, April 19, 2006 1:44 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Zoom effect


 On 19-apr-2006, at 19:04, [EMAIL PROTECTED] Ammor wrote:

  Hello,
 
  I' am getting crazy achieving some kind of zoom effect on my MC !!!
  If you just create any MC on the stage like a rectangle 300*500 px and

  put the code below in an empty frame, it will work...
 
  But what i want to do is like setting new coordinates on the scaled MC

  so that it takes the _xmouse/_ymouse click as the new center.
  I mean : when the user clicks, it scales 150 percent but reposition it

  self according to the mouse click as if it was the area zoomed into
  ;-)
 
  Sorry, I hope I was understood !!!
  Any kind ideas ?

 I found Tweens working perfectly for this type of job.

 on(press) {
import mx.transitions.Tween;
import mx.transitions.easing.*;

new Tween(this, _x, mx.transitions.easing.Regular.easeOut,
 this._x, _root._xmouse, 2, true);
new Tween(this, _y, mx.transitions.easing.Regular.easeOut,
 this._y, _root._ymouse, 2, true);
new Tween(this, _xscale,
 mx.transitions.easing.Regular.easeOut,
 this._xscale, this._xscale+10, 2, true);
new Tween(this, _yscale,
 mx.transitions.easing.Regular.easeOut,
 this._yscale, this._yscale+10, 2, true); }


 --
 Julian 'Julik' Tarkhanov
 me at julik.nl



 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training http://www.figleaf.com
 http://training.figleaf.com
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Zoom effect

2006-04-20 Thread [EMAIL PROTECTED] Ammor

Oh, yes that's may be complete...

I may change some mouse functions too...
Cool, but where can we have the source ?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Keith
Reinfeld
Sent: jeudi 20 avril 2006 18:49
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Zoom effect

Have a look at my 'Dynamic Zoom' piece and see if it is what you are looking
for (URL below). 

Click 'Gallery' then select 'Dynamic Zoom' from the 'Effects' menu. 

 

 

-Keith 

http://home.mn.rr.com/keithreinfeld 

 

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Ammor
Sent: Thursday, April 20, 2006 7:39 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Zoom effect

 

 

Thank you lols, but...

 

I'am afraid it's not what i'am looking for :)

I suggest that you install and run the offline Zinio reader on :

www.zinio.com 

They have a smart way to zoom into the flipping pages...

This is the same exact effect that i'am getting crazy to work!!

 

I know it's not flash based but ther's a mathematic stuff that could compute

the ratio of scaling object and position like on the reader...

Please save my life ;-)

 

 

-Original Message-

From: [EMAIL PROTECTED]

[mailto:[EMAIL PROTECTED] On Behalf Of MBDI ICSC

Rodrigo E. Curiel Salazar

Sent: mercredi 19 avril 2006 19:06

To: Flashcoders mailing list

Subject: Re: [Flashcoders] Zoom effect

 

check this, closer to what you want, i think

 

http://www.sephiroth.it/file_detail.php?id=131

 

Rodrigo

 

 

On 4/19/06, Clint Tredway [EMAIL PROTECTED] wrote:

 

 

 Yup, I am working on a project that has a 'zoom' effect and the Tween

 class is what I am using to do it.

 Here is a link that was helpful to me.

 http://www.kirupa.com/developer/actionscript/tween.htm

 

 -Original Message-

 From: [EMAIL PROTECTED]

 [mailto:[EMAIL PROTECTED] On Behalf Of Julian

 'Julik' Tarkhanov

 Sent: Wednesday, April 19, 2006 1:44 PM

 To: Flashcoders mailing list

 Subject: Re: [Flashcoders] Zoom effect

 

 

 On 19-apr-2006, at 19:04, [EMAIL PROTECTED] Ammor wrote:

 

  Hello,

 

  I' am getting crazy achieving some kind of zoom effect on my MC !!!

  If you just create any MC on the stage like a rectangle 300*500 px and

 

  put the code below in an empty frame, it will work...

 

  But what i want to do is like setting new coordinates on the scaled MC

 

  so that it takes the _xmouse/_ymouse click as the new center.

  I mean : when the user clicks, it scales 150 percent but reposition it

 

  self according to the mouse click as if it was the area zoomed into

  ;-)

 

  Sorry, I hope I was understood !!!

  Any kind ideas ?

 

 I found Tweens working perfectly for this type of job.

 

 on(press) {

import mx.transitions.Tween;

import mx.transitions.easing.*;

 

new Tween(this, _x, mx.transitions.easing.Regular.easeOut,

 this._x, _root._xmouse, 2, true);

new Tween(this, _y, mx.transitions.easing.Regular.easeOut,

 this._y, _root._ymouse, 2, true);

new Tween(this, _xscale,

 mx.transitions.easing.Regular.easeOut,

 this._xscale, this._xscale+10, 2, true);

new Tween(this, _yscale,

 mx.transitions.easing.Regular.easeOut,

 this._yscale, this._yscale+10, 2, true); }

 

 

 --

 Julian 'Julik' Tarkhanov

 me at julik.nl

 

 

 

 ___

 Flashcoders@chattyfig.figleaf.com

 To change your subscription options or search the archive:

 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 

 Brought to you by Fig Leaf Software

 Premier Authorized Adobe Consulting and Training http://www.figleaf.com

 http://training.figleaf.com

 ___

 Flashcoders@chattyfig.figleaf.com

 To change your subscription options or search the archive:

 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 

 Brought to you by Fig Leaf Software

 Premier Authorized Adobe Consulting and Training

 http://www.figleaf.com

 http://training.figleaf.com

 

___

Flashcoders@chattyfig.figleaf.com

To change your subscription options or search the archive:

http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 

Brought to you by Fig Leaf Software

Premier Authorized Adobe Consulting and Training

http://www.figleaf.com

http://training.figleaf.com

 

 

___

Flashcoders@chattyfig.figleaf.com

To change your subscription options or search the archive:

http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 

Brought to you by Fig Leaf Software

Premier Authorized Adobe Consulting and Training

http://www.figleaf.com

http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman

[Flashcoders] Zoom effect

2006-04-19 Thread [EMAIL PROTECTED] Ammor
Hello,

I’ am getting crazy achieving some kind of zoom effect on my MC !!!
If you just create any MC on the stage like a rectangle 300*500 px and put
the code below in an empty frame, it will work…

But what i want to do is like setting new coordinates on the scaled MC so
that it takes the _xmouse/_ymouse click as the new center.
I mean : when the user clicks, it scales 150 percent but reposition it self
according to the mouse click as if it was the area zoomed into ;-)

Sorry, I hope I was understood !!!
Any kind ideas ?

Her’s my code :

mc.onMouseDown = function() {
startX = this._x;
startY = this._y;
beginX = this._width;
beginY = this._height;

if (!this.scaled) {
this.onEnterFrame = scaleIt(150);
this.scaled = true;
} else {
this.onEnterFrame = scaleIt(100);
this.scaled = false;
}
};
function scaleIt(pScale) {
return function () {
this._xscale -= (this._xscale - pScale) * .1;
this._yscale -= (this._yscale - pScale) * .1;
this._x = ((beginX - this._width) / 2) + startX;
this._y = ((beginY - this._height) / 2) + startY;
};
}


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] (no subject)

2006-04-13 Thread [EMAIL PROTECTED]
 
Hello - 
 
Excemel is looking for a top-rate Flash developer to develop an online
learning course. This position will start immediately.
 
Minimum Requirements: (please, if you do not meet these minimum
requirements, save us both time by not responding.)
 
1. Immediate availability to work 40 hours/week during normal business hours
(time zone irrelevant)
2. Minimum 4 years' experience in Flash design and actionScripting 
3. Online portfolio demonstrating work on similar projects (interactive
e-learning) 
4. ActionScript 2.0 including high comfort level with built-in tween class,
custom functions, arrays, external .as scripts
5. Demonstrated experience with connecting Flash to ASP .NET middleware -
both sending and receiving
 
Requirements that will move you to the top of the heap:
In addition to the minimum requirements noted above:
1.  3 or more years experience with developing e-Learning projects in
Flash 
2.  High awareness of customer service (i.e., we customer, you vendor) 
 
This initial opportunity is for a short-term project. However, there is MUCH
more work ready to start if we both feel good about what is accomplished on
this project.
 
Please submit resume and link to online portfolio to: [EMAIL PROTECTED]
 
Please, no phone calls - we will ping you if you look like the right fit. 
 
 
Excemel learning solutions
www.excemel.com
 
 
Steve Hagwood
founder | learning architect
704.650.8146 [EMAIL PROTECTED]
 
Excemel learning solutions
www.excemel.com
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Why is my setInterval only firing once ...

2006-03-22 Thread [EMAIL PROTECTED]

nInterval = setInterval(tweenClip, 50);

should be:

nInterval = setInterval(tweenClip, 50);




Stephen Ford wrote:

I have a setInterval call that is only firing once.
 
Here is the part of my class where it's occuring:
 
---

public function repositionClip():Void{ nWidth = Math.round(Stage.width);
 nHeight = Math.round(Stage.height);
 nMidX = nStageWidth/2;
 nMidY = nStageHeight/2;
 
 mcMain._x = nMidX; mcMain._y = nMidY;
 
 nInterval = setInterval(tweenClip, 50);

}
 
public static function tweenClip():Void{ trace(function called: tweenClip());}

---
 
Can anyone advise as to what is happening here ?
 
Thanks,

Stephen.___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Re: Why is my setInterval only firing once ...

2006-03-22 Thread [EMAIL PROTECTED]

sorry, i thought the problem was you using:

tweenClip()

which would execute it straight away..


A.Cicak wrote:

how it fired even once in that case?!

[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

nInterval = setInterval(tweenClip, 50);

should be:

nInterval = setInterval(tweenClip, 50);




Stephen Ford wrote:

I have a setInterval call that is only firing once.
 Here is the part of my class where it's occuring:
 
---
public function repositionClip():Void{ nWidth = 
Math.round(Stage.width);

 nHeight = Math.round(Stage.height);
 nMidX = nStageWidth/2;
 nMidY = nStageHeight/2;
 mcMain._x = nMidX; mcMain._y = nMidY;
 nInterval = setInterval(tweenClip, 50);
}
 public static function tweenClip():Void{ trace(function called: 
tweenClip());}

---
 Can anyone advise as to what is happening here ?
 Thanks,
Stephen.___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] CSS with TextArea

2006-03-22 Thread [EMAIL PROTECTED]

Hi,

I want to apply a CCS on on text in a textArea.

I try:

textStyle= new TextField.StyleSheet();
textStyle.load(style.css);

textArea.setStyle(_style);
but, this don't work!

I want to set a textArea.
but, I get StyleSheet from TextField
I think this is the problem...

Somebody can help me?

Rodrigo Schramm
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] wait or sleep

2006-03-21 Thread [EMAIL PROTECTED]
Using setInterval, I can only call a method (or funciton) same time 
later. I can't continue to run from the same point, at same function.

Exist another solution for this?
Schramm

Danny Kodicek wrote:


Hello,

is possible to make a wait or sleep (like java) to stop a code 
execution and after n seconds  return to execute?



Not directly, but you can create the same functionality with 
setInterval()


Danny
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] wait or sleep

2006-03-21 Thread [EMAIL PROTECTED]

If you are inside a loop, and need to wait you have a big problem!

I would like a semaphore for syncronization. :-\
The Adobe/Macromedia must put this on Flash. (AS) :'( .


Danny,  thanks for you help! ;-)
Rodrigo Schramm

Danny Kodicek wrote:




Using setInterval, I can only call a method (or funciton) same time
later. I can't continue to run from the same point, at same function.
Exist another solution for this?



Yes, put your remaining code into a separate function:

id=setInterval(function(){myRemainingCode},2000)

You can comfortably (well, messily) create a whole set of commands 
that run at intervals. The only problem is that you might want to 
avoid any other functions running in the intervening time.


Danny
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] wait or sleep

2006-03-21 Thread [EMAIL PROTECTED]




Ryan Potter wrote:


Here is another way that might help.  You can use Fuse to sequence and wait.
Code Post:
http://thoughtwillrise.com/

Fuse:
http://mosessupposes.com/Fuse/index.html
 





Very cool! :-)

But, if I put same code after line 15 in exemple below??? :-(

Rodrigo Schramm


Actionscript:

  1.
 function drawLoadManager(){
  2.
  trace(Draw Load Manager Called);
  3.
  var lm = this.loadManager = new Fuse();
  4.
  lm.push({ func:myMethodOne, scope:this, command:pause});
  5.
  lm.push({ func:loadData, scope:this, command:pause});
  6.
  lm.push({ func:loadMyClip, scope:this, command:pause});
  7.
  lm.start();
  8.
 }
  9.
  
 10.

 function myMethodOne(){
 11.
  
 12.

  do some code...
 13.
  
 14.

  // resume the load manager to load the next item
 15.
  this.loadManager.resume();
 16.
 }
 17.
 function loadData(){
 18.
  this.xml = new XML();
 19.
  this.xml.ignoreWhite = true;
 20.
  // CREATE A REFERENCE TO THE CURRENT TIMELINE
 21.
  this.xml._parent = this;
 22.
  this.xml.onLoad = function () {
 23.
   // resume the load manager to load the next item
 24.
   this._parent.loadManager.resume();
 25.
  }
 26.
  this.xml.load(this.datafile);
 27.
 }
 28.
 function loadMyClip(){
 29.
  this.myClip.loadMovie(load something);
 30.
  // create some sort of load handler
 31.
  this.myClip.onLoad(){
 32.
   // resume the load manager to load the next item
 33.
   this._parent.loadManager.resume();
 34.
  }
 35.
 }







	-Original Message- 
	From: [EMAIL PROTECTED] on behalf of iashido 
	Sent: Tue 3/21/2006 7:16 AM 
	To: Flashcoders mailing list 
	Cc: 
	Subject: Re: [Flashcoders] wait or sleep




http://proto.layer51.com/d.aspx?f=454


On Mar 21, 2006, at 4:13 PM, Danny Kodicek wrote:


 Using setInterval, I can only call a method (or funciton) same time
 later. I can't continue to run from the same point, at same function.
 Exist another solution for this?

 Yes, put your remaining code into a separate function:

 id=setInterval(function(){myRemainingCode},2000)

	 You can comfortably (well, messily) create a whole set of commands 
	 that run at intervals. The only problem is that you might want to 
	 avoid any other functions running in the intervening time.


 Danny
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




www.itseveryday.ro
www.iashido.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


 




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] PDF integration into flash

2006-02-24 Thread [EMAIL PROTECTED] Ammor

Hello,

It may seems a newbie question, but I' am just getting crazy to find any
tutorial or tips talking about PDF integration, zoom and search
functionalities into flash. I want to do some stuff like the well known
ZINIO reader: www.zinio.com 

So I want to include dynamically PDF file into my movie and integrate zoom
and search on it.

Please can anyone save my life?



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] PDF integration into flash

2006-02-24 Thread [EMAIL PROTECTED] Ammor
Yep, I've already checked it, but it gives this kind of built-in interface
with the intuitive toolbar to manipulate the document...
What I want is a method to integrate those functionalities and the PDF
document within my self made flash interface! 
Have you seen the zinio reader? www.zinio.com 

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Tann
Sent: vendredi 24 février 2006 13:59
To: Flashcoders mailing list
Subject: RE: [Flashcoders] PDF integration into flash

Check out flash paper
http://www.macromedia.com/software/flashpaper/?promoid=BINU

Jim


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Ammor
Sent: 24 February 2006 13:46
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] PDF integration into flash


Hello,

It may seems a newbie question, but I' am just getting crazy to find any
tutorial or tips talking about PDF integration, zoom and search
functionalities into flash. I want to do some stuff like the well known
ZINIO reader: www.zinio.com 

So I want to include dynamically PDF file into my movie and integrate
zoom
and search on it.

Please can anyone save my life?



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Sandy 0.2, a 3D API for Flash

2006-01-27 Thread [EMAIL PROTECTED]
If you can write the tutorials, couldn't you just add a working .swf of 
the tutorial in the forum as well? I think people (like me) are too lazy 
to download the code, do a tutorial and compile a swf just to see what 
speed it runs at.


Andreas

Alan Shaw wrote:

Since Thomas worked his ass off for two weeks to get this 0.2 release done,
he has taken off for a few days.  There are several working tutorials in the
forum:
http://sandy.media-box.net/forum/
and more are coming.  Documentation will also grow.

I'd say performance is quite good except for the texture mapping.  That will
probably have to wait until the AS3 version to become truly useful.  I'll
add a cubic panorama example to the tutorials in the next few days just to
demonstrate the technique.

On 1/26/06, Paul Neave [EMAIL PROTECTED] wrote:

Those examples are  quite old... release 0.2 has just come out of
beta, so creating examples and improving the documentation is the next
big task.


On 26/01/06, Sander [EMAIL PROTECTED] wrote:

Aha, found some Sandy 3D samples

https://dev.media-box.net/sandy/trac/browser

These recent? It was a Google hit.


no examples anywhere?

franto wrote:

I'm interested for sure, working on Virtual world engine called
FlashLIfe in AS3, but have no much free time, it wll be open
source as
well...
Franto
On 1/26/06, Paul Neave [EMAIL PROTECTED] wrote:

I'd like to announce Sandy 0.2 on behalf of Thomas (aka Kiroukou)
over
at Media Box:

http://sandy.media-box.net/

This is an amazing set of open source APIs for developers to
create 3D
models in Flash.  More info here:
http://sandy.media-box.net/blog/2006/01/20/sandy-02-a-brand-new-
world/

Contribute and discuss on the forum here: http://sandy.media-
box.net/forum/

I've had my nose in plenty of attempts to create a standardised
3D API
for Flash for years, and this is by far the most appealing and
exciting API yet.  It's still in its early stages but already
showing
great promise.  I've heard from Thomas that if there is enough
interest, an AS3 version may be written for around the 0.4
release...
but only if there's enough interest!

Enjoy,
Paul.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


--
-
-
---
Franto
http://blog.franto.com
http://www.flashcoders.sk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



--
http://www.neave.com/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] ****************** Unicode Input ***************************

2005-12-15 Thread [EMAIL PROTECTED]

nice ascii work on the subject!

Devendran I wrote:

Hi all,
   
  We can Display Unicode Characters in dynamic and Input text field. Is it possible to get unicodeInput in a input text?
   
  Consider this. You are having One input text box. By selecting a language, your Key press should be displayed as choosen language(in input text).
   
  If u select Chinese Langugae. When you type it should be chinese

  If u select Hindi Language. when you type it should be Hindi .
   
  All these should happen in single text field.(And have to controll with script)
   
   
  Thanks  regards

  Devendran.I
   
   



-
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 
___

Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Problem with delay tween on some instance...

2005-12-13 Thread [EMAIL PROTECTED]

Hello everybody,

i use tween of laco [laco.wz.cz] with delay on some instances. i want to 
delete a delay and the tween to on previous instance when i use a tween 
on other instance, but i don't manage it. can anybody help me ? thank


Ps : i'm French, so sorry for my english

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


R: [Flashcoders] iRiver U10

2005-12-03 Thread [EMAIL PROTECTED]
Hi Eric,
join and ask this to FlashLite Yahoo list.
iRiver U10 has the 
FalshLite player embedded :) 
Have also a read on Macromedia Dev Net 
section; there is an article by Johnathan Duran.

regards
marco casario
http://casario.blogs.com


Messaggio originale
Da: 
[EMAIL PROTECTED]
Data: 2-dic-2005 14.56
A: Flashcoders mailing list
flashcoders@chattyfig.figleaf.com
Ogg: [Flashcoders] iRiver U10

Has 
anyone developed anything for the U10 yet?

What I am wondering about 
is how the default functionality is playing
audio/etc. Is the Flash 
OS wrapped in something with makes calls to the
default music 
player/video player, etc? Does the Flash OS get the list of
available 
tracks/videos/etc from something, through a wrapper, into the SWF?

I 
am looking into how to develop things other than standalone games on 
the
U10.

Is there a CDK coming soon for the U10? I heard rumor there 
is one in the
works. Or maybe its out and I don't know about it yet?

BTW - parts of the U10 are nice, but if you got at all lost on an iPod,
you'll really get lost in the UI of this device - a pretty bad UI in my
opinion.

- edolecki
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http:
//chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] water ripple

2005-11-29 Thread [EMAIL PROTECTED]

 http://andreas.rayon.no/temp/watery.html

 Totally useless. Performance is a big ish.

 - Andreas


hmmm?

http://www.thesundancekid.net/code/water/

anyway. not really what eric was looking for.

Andreas Rønning wrote:

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] _x and _y repositioning for child, child, child mc (Flash MX 6.0)

2005-11-24 Thread [EMAIL PROTECTED]

I usually use something like this:

function getY(mc:MovieClip):Number {
   var y:Number = mc._y;
   if (mc._parent != undefined)
  y += this.getY(mc._parent);
   return y;
}

but of course that takes it all the way back to _root. shouldn't be too
hard to check against another movie clip instead of undefined.

andreas


Jay Lepore wrote:

Hello,

I have a very complex form with many
mc\childMc1\childMc2\childMc3\childMc4\childMc5... Type clips within it.

I often have a need to line up the _x and _y of a deeply nested childMC
with one of the other earlier childMC's

For instance

if the mc8 is the last child

		_level0.mc1.mc2.mc3.mc4.mc5.mc6.mc7.mc8 


And I need it to be repositioned at say mc4's x,y position
what is the best technique.

The linked .FLA file makes it obvious if you wish to download it:
www.flashbomb.com/files/localToGlobal_test.fla

In that example, I want to press the button and have the clips line up
at the top.

I have spent all day today trying to come up with a quick solution using
localToLocal and a variety of other relative positioning techniques and
functions but have failed.

It's 1:32AM on Thanksgiving Eve!  In case of emergency, call the
flashcoders group!


What sayeth the group?

Jay
FlashBOMB.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Swfs embedded in an email

2005-11-24 Thread [EMAIL PROTECTED]
include a gif in the e-mail. design it right and perhaps you can get a 
few more clicks than from a regular text link.


andreas


Danny Kodicek wrote:


Bad idea whichever way you look at it.  Flash on PC = ActiveX = 
disabled by

default, and there aint nuthin you can do about it.


Thought so, but I had to ask.



Standard practice is to put a link in the email pointing to the swf.


Except that in my experience, no one ever clicks on them. Hey ho, thanks 
anyway.


Best
Danny
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Ho to hide flash layer in Mozilla?

2005-11-15 Thread [EMAIL PROTECTED]
i guess you could try moving it to -1000px or something like that. might 
be a work around at least..


Gregory_GOusable wrote:

Hello Flashcoders,

  I have a DIV layer (named 'my_layer') which is over HTML page.
   Then I want to hide it using Js call as
   getURL(javascript:hideLayer(););
  
  Javascript:

  =
function hideLayer() {
document.all('my_layer').style.visibility='hidden';
}
=

It works nice in IE and Opera, but for some reason (?) doesn't work in
Mozilla (I tested with Mozilla 1.7.3)
Mean while it hides the swf, the links at HTML page are still not
clickable.

Any idea?



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] gotoAndStop(..); then accessing a movieclip.

2005-11-08 Thread [EMAIL PROTECTED]
thanks for the help. for the next project i'll tell the designer that's 
how i want it done. problem is that i'm already 90% done with the 
project and i was hoping for a solution that didn't involve the designer 
at this stage. i could change everything myself but at this point it's 
too much work. thanks!


andreas


Joseph Balderson wrote:
On your local frame, you'd have the money.amount.text field present, 
but either set _visisble=false with AS, or change the alpha to 0 in the 
property inspector. Then, when the playhead gets to remote, you'd 
change to _visible=true or the alpha back to 99.9 in the property 
inspector for the text field. That way you can set the field text 
without it showing in the first 'frame'. It's a technique that works for 
almost any asset that needs to be updated/set X frames deep into a 
timeline.




Joseph Balderson
Interactive Media Design  Development
http://www.joeflash.ca

Faculty Member, Flash Development,
Humber College School of Media Studies
http://mediastudies.humber.ca


[EMAIL PROTECTED] wrote:
Let's say you have a MC with 2 frame labels (localPlayer and 
remotePlayer for example) and then you have different movie clips 
inside that MC. Something like this:


  |local|remote___
ammo  |x|
life  | |x
money | |x


Then you want to do something like this in your AS code (assuming 
you've previously stopped on local):


gotoAndStop(remote);
money.amount.text = $100;

This wouldn't work because you have to wait one frame before you'd be 
able to access money but what's your prefered way of waiting one 
frame? Is there a real easy way to do it without putting AS code in 
your timeline and without using setInterval(..) to wait one frame?


I hope I've just missed something that's real easy in flash.

andreas
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] [ANN] FlashDevelop 2.0 beta5

2005-11-08 Thread [EMAIL PROTECTED]
wow, nice editor. never seen it before. code completition is sweet and 
the editor is only 1.5 Mb's big.




Philippe wrote:

FlashDevelop 2.0 is a highly customizable script editor providing:
- advanced ActionScript 2 completion without any project configuration,
- Flash 8 and Flash MX2004 compatibility,
- MTASC code checking, building  preview,
- integrated socket logger,
- easy plugin extensibility.

FlashDevelop 2.0 is an opensource .NET project hosted on OSFlash.org.

Download  informations:
http://flashdevelop.org
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] [ANN] FlashDevelop 2.0 beta5

2005-11-08 Thread [EMAIL PROTECTED]
yeah. after writing that i did find a couple of bugs so i might not make 
the switch just yet. :)


eric dolecki wrote:

Its a decent start :)

ed

On 11/8/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

wow, nice editor. never seen it before. code completition is sweet and
the editor is only 1.5 Mb's big.



Philippe wrote:

FlashDevelop 2.0 is a highly customizable script editor providing:
- advanced ActionScript 2 completion without any project configuration,
- Flash 8 and Flash MX2004 compatibility,
- MTASC code checking, building  preview,
- integrated socket logger,
- easy plugin extensibility.

FlashDevelop 2.0 is an opensource .NET project hosted on OSFlash.org.

Download  informations:
http://flashdevelop.org
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] sound fadeOut

2005-11-07 Thread [EMAIL PROTECTED]
If you want to keep things simple, and the volume fade doesn't need to 
be linear, couldn't you just run a soundUpdate function and keep track 
of the volume in a variable. something like this:



var volume = 0;
var destVolume = 100;

setInterval(soundUpdate, 100);

function soundUpdate() {
volume += (destVolume - volume) / 20;
track.setVolume(volume);
}

then when you need the volume to change you could just do:

on (rollOver) {
destVolume = 0;
}

then maybe add another interval that sets destVolume back to 100. you 
could probably replace the volume += (destVolume .. with something 
better but at least it should work. :)


Andreas

MetaArt wrote:

In my movie, I have a jingle, that is loaded by this code:

code:---
---track = new Sound();
track.loadSound(everybody.mp3, true);
track.setVolume(0);
vol = 0;
fade = setInterval(fadeIn, 100);
function fadeIn() {
vol += 1;
track.setVolume(vol);
if (vol=90) {
clearInterval(fade);
}
};--

during playback of this jingle, is possible that happens an event (a
rollOver action) by the user that start the playback of an other audio file,
this time a talkin' human voice.
The problem is that the jingle cover the voice, or whatever the two audios
overlaps.
Therefore, I want do something that, on rollOver, do the jingle has a fast
fadeOut, starting by the volume level where it is.
How can I obtain this?


 Enrico Tomaselli
  + web designer +
  [EMAIL PROTECTED]
http://www.metatad.it

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] sound fadeOut

2005-11-07 Thread [EMAIL PROTECTED]

so then the code here would work since it's not linear.

but i'm not sure what you mean by linear adjustments prove to sound 
highly inaccurate? in this case i don't think it matters anyway since 
it's just a small change of volume and he's probably not coding some 
online dj mixing software. or maybe he is.. :)


andreas


Eric E. Dolecki wrote:
I've found that linear adjustments prove to sound highly inaccurate - or 
strange. You'll notice no difference, and then the change will be quite 
abrupt. So be careful with these kinds of things - linear is probably 
not the best way to go.


e.dolecki


On Nov 7, 2005, at 5:21 AM, [EMAIL PROTECTED] wrote:

If you want to keep things simple, and the volume fade doesn't need to 
be linear, couldn't you just run a soundUpdate function and keep track 
of the volume in a variable. something like this:



var volume = 0;
var destVolume = 100;

setInterval(soundUpdate, 100);

function soundUpdate() {
volume += (destVolume - volume) / 20;
track.setVolume(volume);
}

then when you need the volume to change you could just do:

on (rollOver) {
destVolume = 0;
}

then maybe add another interval that sets destVolume back to 100. you 
could probably replace the volume += (destVolume .. with something 
better but at least it should work. :)


Andreas

MetaArt wrote:

In my movie, I have a jingle, that is loaded by this code:
code:--- 


---track = new Sound();
track.loadSound(everybody.mp3, true);
track.setVolume(0);
vol = 0;
fade = setInterval(fadeIn, 100);
function fadeIn() {
vol += 1;
track.setVolume(vol);
if (vol=90) {
clearInterval(fade);
}
};-- 



during playback of this jingle, is possible that happens an event (a
rollOver action) by the user that start the playback of an other 
audio file,

this time a talkin' human voice.
The problem is that the jingle cover the voice, or whatever the two 
audios

overlaps.
Therefore, I want do something that, on rollOver, do the jingle has a 
fast

fadeOut, starting by the volume level where it is.
How can I obtain this?
 Enrico Tomaselli
  + web designer +
  [EMAIL PROTECTED]
http://www.metatad.it
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] lightbulb motion

2005-11-03 Thread [EMAIL PROTECTED]

http://www.thesundancekid.net/code/pendel/index.html
http://www.thesundancekid.net/code/cloth/index.html

fps is set too low (for some reason i can't remember now) which is why 
the movement looks a bit jerky.


unfortunately i don't have the fla:s here in london but i built the code 
around a white paper from one of the coders who worked on the game 
Hitman. it was real easy to follow and if you just google for verlet 
hitman and perhaps something else, i'm sure you can find it too. i 
created a class around it in javascript a couple of years back and then 
later converted that to flash.


/andreas

Corban Baxter wrote:

Hey guys I am trying to create an effect as if a light bulb is swaying from a 
string in the ceiling. Anyone know what the best approach would be to do 
something like this?

Corban Baxter  |  rich media designer  |  www.funimation.com


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash and ASP/MSSQL

2005-10-30 Thread Benjamin Herholz | [EMAIL PROTECTED]
Sure Flash can talk straight to a database! All you need to do is set 
the connection string or something!


- shure it can not, it needs a server side language of your choice to 
do so.


to clear things up.

- you have a html form with a flash movie embedded.

- the html form calls a server side script to submit the data of the 
form to a database.


- the html form can only send variables which are in its scope.

- as you have a flash movie embedded in your form you have to make the 
variables of the flash movie available to the html form.


-to do so, you have to send the the variables in the flash movie to the 
html form, or as Michael Bedar said: You would need to call a 
javascript function from AS when the user clicks the inside swf and set 
the value of a hidden form field.


- you call a javascipt function from a flash movie like: 
getURL(javascript:processFlashData( + xVal + , + yVal + ));


- the js function needs to write the variables into hidden fiels in the 
html form.


one more thing:
I've always thought you used loadVariables to call an (in my 
experience) ASP or PHP page that talked to the database.
thats true, but you dont want to send the variables from the flash movie 
to the db, you want the html form to do that...


gr,
~
Benjamin Herholz | Code

www.dawn2.com
Hamburg - Copenhagen
m: +49 (0) 160 96670732
~

Amanda Kuek wrote:

On 30/10/05, Michael Bedar [EMAIL PROTECTED] wrote:


You would need to call a javascript function from AS when the user
clicks the inside swf and set the value of a hidden form field.. then
the user can click the HTML send button and send everything.




Thank you very much. I haven't done this before, but from some quick
googling, I assume that one would use something like fscommand or getURL?

The person who gave me the brief said something along the lines of Sure
Flash can talk straight to a database! All you need to do is set the
connection string or something! I hitherto hadn't realised this was
possible - I've always thought you used loadVariables to call an (in my
experience) ASP or PHP page that talked to the database. Can anyone clear
this one up for me please?

Thanks very much,

Amanda.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] a little OT (maybe): Flash in Firefox

2005-10-27 Thread [EMAIL PROTECTED]
maybe this is obvious but you ARE running it through a webserver, right? 
not just opening the file from your harddrive...


/andreas

f a r i d|s i l v a|a b o i d wrote:

I think that your server does not have php support. Check it with your
hosting provider

--
SalU2

f a r i d | s i l v a | a b o i d
www.e-foco.com.ar
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


  1   2   >