[Flashcoders] re: preloading images from xml

2007-06-13 Thread Poole, Simon
Hi

Im having an issue with the following code. It is tracing the individual
thumbnail images correctly with the onLoadProgess function, but will only
display the percent loaded and loadbar for the last image (image 10), once
this one has preloaded, all the other images then appear correctly.

I would like it to preload all 10 images, displaying the percent and loadbar
for all 10.

The thumbnails images are buttons for a flv video player.

Ive been trying to fix this for ages and can sort it, its doing my head in!

Any help would be greatly appreciated.

Ty

s

/

var newClip:MovieClip =
vidbutn.holder_mc.createEmptyMovieClip(thumbie+(i+1),
this.getNextHighestDepth());
var myLoader:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();

myListener.onLoadProgress = function (target:MovieClip,
bytesLoaded:Number, bytesTotal:Number):Void {
trace(target + .onLoadProgress with  + bytesLoaded +  bytes of 
+ bytesTotal);
vidbutn.holder_mc.infoField =
Math.floor(bytesLoaded/bytesTotal*100)+%;
if (bytesLoaded != bytesTotal) {
vidbutn.holder_mc.loadBar._yscale =
Math.floor(bytesLoaded/bytesTotal*100);
/*return;*/
}
if(bytesLoaded == bytesTotal) {
vidbutn.holder_mc.gotoAndPlay(2);
}
}
myListener.onLoadInit = function (target:MovieClip):Void {
//trace (target + .onLoadInit);
}
myLoader.addListener(myListener);
myLoader.loadClip(myRoot+thumbPath+thumbList[i], newClip);

/


--
Simon Poole ­ Group E-Commerce

Littlewoods Shop Direct Group

e: [EMAIL PROTECTED]
--



*

This email and its attachments are confidential and are intended for the above 
named recipient only. If this has come to you in error, please notify the 
sender immediately and delete this email from your system. You must take no 
action based on this, nor must you copy or disclose it or any part of its 
contents to any person or organisation. Statements and opinions contained in 
this email may not necessarily represent those of Littlewoods Shop Direct Group 
Limited or its subsidiaries. Please note that email communications may be 
monitored. The registered office of Littlewoods Shop Direct Group Limited is 
1st Floor, Skyways House, Speke Road, Speke, Liverpool, L70 1AB, registered 
number 5059352

*




This message has been scanned for viruses by BlackSpider MailControl - 
www.blackspider.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] AS3.0 - add separate objects to stage

2006-12-20 Thread Simon
Is this even possible, bitmap not being an interactiveObject and all?

In your first post you said:
Whenever I issue a command addChild(bitmap) the new image is being merged
with the existing one.
I guess the images are just stacked on top of eachother here where the last
bitmap loaded loads on top of the older one.

In your script below you add 2 bitmaps to a Sprite and want to use mouse
stuff on the bitmap, I guess that that won't work because they are not of
type interactiveObject I guess that creating a sprite, add the bitmap to
the sprite, add the listeners to the sprite, and add the sprite to the
displaylist of your class(sprite)should work.


-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Petro Bochan
Verzonden: woensdag 20 december 2006 12:52
Aan: Flashcoders mailing list
Onderwerp: RE: [Flashcoders] AS3.0 - add separate objects to stage

James Tann
 Are you sure about this? I have been using bitmaps extensively in the 
 project im working on and have had no issues like this. What is the 
 structure of children like?
 
 Sprite -
- Bitmap
- Bitmap
 
 I would have to see some code to help out.
 Jim

Hi James,

This is not the pure example code from the project but this kind of
resembles the idea.


package {
import flash.display.Sprite;
import flash.display.Loader;
import flash.net.URLRequest;
import flash.events.Event;
import flash.events.IOErrorEvent;
import flash.display.Bitmap;
import flash.events.MouseEvent;
import flash.utils.Timer;
import flash.events.TimerEvent;
import flash.display.BitmapData;

public class addChildIssue extends Sprite
{
public function addChildIssue()
{
var timer:Timer = new Timer(5000);
timer.addEventListener(TimerEvent.TIMER,
onTimer);
timer.start();
var uploader:Loader = new Loader();
var url:URLRequest = new URLRequest();
url.url =
http://www.venturaes.com/macromedia/images/studio8_box.jpg;;

uploader.contentLoaderInfo.addEventListener(Event.COMPLETE, onResult);

uploader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,
onFault);
uploader.load(url);
}

private function onResult(anEvent:Event):void
{
var bitmap:Bitmap =
Bitmap(anEvent.target.content);
bitmap.addEventListener(MouseEvent.MOUSE_DOWN,
onDrag);
bitmap.addEventListener(MouseEvent.MOUSE_UP,
onDrop);
addChild(bitmap);
}

private function onFault(anEvent:Event):void
{

}

private function onDrag(anEvent:MouseEvent):void
{
anEvent.target.startDrag();
}

private function onDrop(anEvent:MouseEvent):void
{
anEvent.target.stopDrag();
}

private function onTimer(anEvent:TimerEvent):void
{
var uploader:Loader = new Loader();
var url:URLRequest = new URLRequest();
url.url =
http://wwwimages.adobe.com/www.adobe.com/products/audition/images/audit
ion_flash.jpg;

uploader.contentLoaderInfo.addEventListener(Event.COMPLETE, onResult);

uploader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,
onFault);
uploader.load(url);
}

}
}
--

Copy and past it into Flex, should work. I even now face the problem of not
being able to move any image at all. This works fine with shapes, but
bitmaps fail.

Thanks,
Petro

___
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] Letting go of AS2 for AS3

2006-11-15 Thread Simon
The main class file is ... well the main class. You can define it like David 
said. (file - publish settings - and so on). It's not a special kind of 
class, it's just a normal one that has to extend MovieClip.


This main class , when you choose to use it, will be constructed first, it's 
the entrypoint into the application. Just make sure it extends MovieClip or 
else it won't work...



- Original Message - 
From: David Buff [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, November 15, 2006 10:35 AM
Subject: Re: [Flashcoders] Letting go of AS2 for AS3



Hi

I didn't try yet to code in AS3 with Flash9. I choose to develop with 
Flex2. I don't know now all about AS3 but:


With Flex, I build a kind of main class, like all other classes, but 
without constructor. My app in MXML (only 4 lines of code) just define 
what is the main class and whitch method of this class it does to call 
first. After that, all is in AS3. My classes and also my main class are 
coded in *.as files.
I've seen in Flash9 that with FilePublish settingsFlashActionsScript 
version: ActionScript3.0Settings, you can define a single document 
class. It seem's to be the main class whitch start playing the swf.
I tryed quickly to build an app with it, but it didn't start... sorry to 
can't help you more...


I hope I bring a few light in your mind...

David Buff


- Original Message - 
From: Lori Hutchek [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, November 14, 2006 8:24 PM
Subject: [Flashcoders] Letting go of AS2 for AS3


Okay im in the middle of reading AS3 Cookbook, and Essential AS3. And i'm 
having some trouble grasping the concept of the main class file {as in the 
root package for the program you are constructing}, both books talk about 
this. But are they talking about constructing applications using 
MTASC/mxmlc compilers or is there a way using the Flash 9 IDE to create a 
main class file that the IDE needs to look for. I know u can write code on 
the timeline, of course, but just wondering if there some other way which 
they are elluding to, and me being slow am just not gettin'...


Thanks!
Lori-

___
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] flash color shift

2006-07-20 Thread Simon Renshaw
If the PS document is defiantly RGB, check the embedded colour profile,
probably set to adobe 1998, use the convert to profile command to change it
to SRGB before you export to Flash, you may notice some slight changes after
the conversion, if so re-colour as necessary, save out again with the new
profile and import into flash, should be fine.

Hope this helps

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey
Holland
Sent: 20 July 2006 15:28
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] flash color shift

Probably saving out of photoshop in CMYK, need RGB, CMYK will look right in
ps, but changes colors bringing into the RGB Flash world.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of i_bang
Sent: Thursday, July 20, 2006 9:03 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] flash color shift

hi!
anyone know how can i keep the quality of a image with a photoshop 
profile in flash? now when i import the jpg file into flash the color 
of the image changes a lot, it´s more lighter than the original,
what can i do??

thanks a lot!!


___
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






___
All new Yahoo! Mail The new Interface is stunning in its simplicity and ease 
of use. - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.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] import statement and accessing a class in AS3

2006-07-14 Thread simon

Hej, jag är på semester (tillbaka igen 14/8), jag nås på 070-9949770

Hälsningar
/Simon
___
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] browser will not quit!!

2006-06-02 Thread Simon Turner
I am trying to get a browser window to quit upon completion of a Flash 
based Assessment.


It is running on a touch screen till using the html file generated when 
the fla file is published.  Everything works fine until the assessment 
is required to quit - but the current  coding i am using will not do this.


please have you any  ideas or work rounds that i may use or try?

current code is 

on (release, releaseOutside ) {
   this.gotoAndStop ('buttonUp');
   getURL(javascript:window.close(this));
   fscommand(quit);
}

many thanks
Simon
___
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] browser will not quit!!

2006-06-02 Thread Simon Turner

Ok - i now have this as the coding within the flash file 

on (release, releaseOutside ) {
   this.gotoAndStop ('buttonUp');
   getURL(javascript:window.close(););
   fscommand(closeBrowserWindow, );
}


and i have some java in the html page like so ...


script type=text/JavaScript
!--
function myFlashMovie_DoFSCommand(command, args) {
if (command == closeBrowserWindow) {
window.close();
   }
}


//--
/script

but it still will not quit the browser!! - is there some kind of 
security that stops code from closing browsers in flash8 created files? 
- i don't even get a warning dialog box to ask me if i am sure i want to 
close the window ... i just cannot figure this out!


Simon
___
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] External MP3 and Looping

2006-06-01 Thread Simon de Turck

Hi!

Is it normal that encoders like Lame and sony's Soundforge MP3 encoder put a
bit of silence in front and after the sound? This completely breaks my load
external mp3 and be able loop these when needed idea... the loading works,
the looping works, there is just this gap between the loops. So, did anyone
have this problem before. (or is it part of the mp3 ensoding spec)

Simon
___
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] Wacom Tablet

2006-05-15 Thread Simon Lord
Does anyone know if Flash supports pressure sensitive feedback from  
Wacom tablets?  This would allow for really smooth drawing tools to  
be made that better represent the artists intentions.

___
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] navigate by frame name

2006-04-22 Thread Simon Lord
It's been a while since I've had to do anything based on the timeline  
but I was sure we could do the following:


_parent.viewer.gotoAndStop(dell);

... instead of ...

_parent.viewer.gotoAndStop(2);

The frames keep getting moved or more are added as the layout  
changes.  I thought it was possible to navigate by using the frame  
name/ID.  Yes? No?

___
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] this.selected

2006-04-22 Thread Simon Lord

That's a very helpful tip Steven.  Thanks!


On Apr 22, 2006, at 5:03 PM, Steven Sacks wrote:


A little known trick in Flash:

Make a movieclip.  Give it 3 frames and put frame labels on each named

_up, _over, and _down

Put a stop(); action on frame 1.

If you assign a button method to the movieclip, like onRelease,  
onRollOver,
etc. it will behave just like a button on its own, going to the _up  
_over

and _down frames automagically without any coding required.

You can make additional frames and put frame labels on them to your  
heart's
desire.  As long as those three frames are there and there's a  
button method

assigned to the movieclip, it will behave like a button.  You can use
.enabled = false to make it stop, just like a button.

So, to make a selected button (that isn't a toggle button), make a  
fourth
frame sel (or something like that) and onRelease set its enabled  
to false
and tell it to go to frame sel.  To unstick it, just set its  
enabled to

true and it will start working again.

HTH,
Steven

___
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] this.selected

2006-04-21 Thread Simon Lord
The standard button components support setting the toggle state of a  
button to true.  Can I achieve the same result with a button I made?   
Or do I *have* to create a movieClip?


I want the button to toggle between the frame 1 and 3 of the button.
___
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] textArea background colour

2006-03-07 Thread Simon Lord

How can I remove the border and background fill of a textArea component?
___
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] [slightly off-topic] Seeking component developer

2006-01-26 Thread Lindsey Simon

Howdy list,

I have a client who had previously hired me to do some component work
and I cannot at this time take on any more projects, so I'm wondering if
there is someone out there who might be interested. 

The component is an AS2 extension of the Macromedia Datagrid.

If you're interested, please contact me at [EMAIL PROTECTED] instead
of replying to the list ;)

Thanks and sorry for the slightly off-topic post, but I know this list
to be actively used by some really great developers, so I thought I'd
start here.
Thanks!

-- 

Lindsey Simon
[EMAIL PROTECTED]
Key fingerprint = C6A9 B9D9 677E A631 3E7F  43BF 5E2F 77F1 A33C B117
Public Key: http://www.commoner.com/pubkey.asc
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] loadMovie question

2005-12-11 Thread Simon Lord
I have a movieClip on stage and a movieClip in the library that has  
an identifier. The idea is to get the movieClip (which is exported  
for runtime) to load into the movieClip which is on stage.  It serves  
as a placeholder until an image is called for elsewhere.


For whatever reason I just can't get this to work:

viewer.loadMovie(placeholder);
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] loadMovie question

2005-12-11 Thread Simon Lord

Thanks, finally got it working.




Just to expand on that,

loadMovie loads an external SWF or JPG (and more in Flash 8) into a  
MovieClip.


attachMovie loads a named MovieClip from your flash library into  
a MovieClip.



On Dec 11, 2005, at 11:08 PM, Flash guru wrote:


try attachMovie(), its well documented in the help files
___
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] help

2005-12-09 Thread A.J. Simon


--- [EMAIL PROTECTED] wrote:

 Send Flashcoders mailing list submissions to
   flashcoders@chattyfig.figleaf.com
 
 To subscribe or unsubscribe via the World Wide Web,
 visit
 

http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 or, via email, send a message with subject or body
 'help' to
   [EMAIL PROTECTED]
 
 You can reach the person managing the list at
   [EMAIL PROTECTED]
 
 When replying, please edit your Subject line so it
 is more specific
 than Re: Contents of Flashcoders digest...
 
 
 Today's Topics:
 
1. RE: JM Events Calendar v1.2.0 (Ryan Mayer)
2. Re: JM Events Calendar v1.2.0 (JesterXL)
3. Re: Display same value in 3 fields (Lanny
 McNie)
4. RE: JM Events Calendar v1.2.0 (Ryan Mayer)
5. Re: Display same value in 3 fields (Ian
 Thomas)
6. Loading Movieclip with JSFL (Dave Campos)
7. Re: Display same value in 3 fields (elibol)
8. Re: Who wants MIDI in the Flash Player? (Tyler
 Wright)
9. AS3: Sandbox violation on BitmapData.draw()
 (Shaw, Matt (MTVN))
   10. UplOAd with F8 and PHP ? (CARABUS mobile+)
   11. simulating narrowband connection (Robin
 Burrer)
   12. Re: simulating narrowband connection (Andy
 Johnston)
   13. RE: simulating narrowband connection (Bjorn
 Schultheiss)
   14. Re: simulating narrowband connection (Andy
 Makely)
   15. Re: simulating narrowband connection (Campbell
 Anderson)
   16. RE: simulating narrowband connection (Robin
 Burrer)
   17. Re: AS3: Sandbox violation on
 BitmapData.draw() (JesterXL)
   18. Re: UplOAd with F8 and PHP ? (JesterXL)
   19. Re: simulating narrowband connection (David
 Rorex)
   20. Convert .FLV to Quicktime (Brumm, Mike)
   21. Re: Display same value in 3 fields (ryanm)
   22. Relative Paths, Relative to What? (John
 laPlante)
   23. Re: SPAM-LOW:  Re: [Flashcoders] FAQ Adobe
 acquisition of
   Macromedia (Zeh Fernando)
   24. RE: [OT] Color Scheme Websites (Adams, Matt)
   25. Re: Who wants MIDI in the Flash Player? (hank
 williams)
   26. Even odds (Mike Boutin)
   27. RE: Even odds (Ralph Caraveo)
   28. RE: Even odds (Scott Hyndman)
   29. Need advice on how to play a series of mc back
 toback
   elegantly (Boon Chew)
 
 

--
 
 Message: 1
 Date: Thu, 8 Dec 2005 12:16:52 -0700
 From: Ryan Mayer [EMAIL PROTECTED]
 Subject: RE: [Flashcoders] JM Events Calendar v1.2.0
 To: 'Flashcoders mailing list'
 flashcoders@chattyfig.figleaf.com
 Message-ID:
 [EMAIL PROTECTED]
 Content-Type: text/plain; charset=iso-8859-1
 
  mb a lockroot issue?
 
 I'm not really sure. I checked throughout the code
 and there isn't any
 reference to _root. Just this since it's a
 componet. There's no embeded
 fonts either, just a default _sans.
 
 
 ¬
   r.
 
 
 
 --
 
 Message: 2
 Date: Thu, 8 Dec 2005 14:26:53 -0500
 From: JesterXL [EMAIL PROTECTED]
 Subject: Re: [Flashcoders] JM Events Calendar v1.2.0
 To: Flashcoders mailing list
 flashcoders@chattyfig.figleaf.com
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=iso-8859-1
 
 There have been issues with TextFields blanking out
 when they are placed at 
 authortime onto the stage, and then that SWF is
 loaded into another one.
 
 One way to fix it is to create the textfields
 dyanmically, but I'm sure 
 that's a lot of work.
 
 I can't remember the other solutions.
 
 - Original Message - 
 From: Ryan Mayer [EMAIL PROTECTED]
 To: 'Flashcoders mailing list'
 flashcoders@chattyfig.figleaf.com
 Sent: Thursday, December 08, 2005 2:16 PM
 Subject: RE: [Flashcoders] JM Events Calendar v1.2.0
 
 
  mb a lockroot issue?
 
 I'm not really sure. I checked throughout the code
 and there isn't any
 reference to _root. Just this since it's a
 componet. There's no embeded
 fonts either, just a default _sans.
 
 
 ¬
   r.
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com

http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 
 
 --
 
 Message: 3
 Date: Thu, 8 Dec 2005 13:07:40 -0700
 From: Lanny McNie [EMAIL PROTECTED]
 Subject: Re: [Flashcoders] Display same value in 3
 fields
 To: Flashcoders mailing list
 flashcoders@chattyfig.figleaf.com
 Message-ID:
 

[EMAIL PROTECTED]
 Content-Type: text/plain; charset=ISO-8859-1
 
 What about putting the same variable on each field
 (in the prop inspector)?
 -- You could have them all reference a _parent,
 _root or _global value if
 they all exists in differerent scopes...
 
 On 12/8/05, Pranav Negandhi
 [EMAIL PROTECTED] wrote:
 
  Thanks Johan.
 
  Regards,
  Pranav Negandhi
 
  Fractal | ink
  O: 91 22 5660 3682
  M: 91 98211 73656
  www.fractalink.com
 
 
   -Original Message-
   From: [EMAIL PROTECTED]
  
 [mailto:[EMAIL PROTECTED]
 On Behalf
   Of Johan Lopes
   Sent: Thursday, December 08, 2005 11:47 PM
   To: Flashcoders mailing list
   Subject: Re: [Flashcoders] Display same 

[Flashcoders] Creating an OS X app with a Flash Projector

2005-12-03 Thread Simon Lord
Hi all, if you are an OS X user this may be of interest to you.  It's  
a small tutorial on creating a Mac OS X application and using your  
Flash Projector as the runtime engine.  It's an OS X only solution  
but the advantage is that you're delivering a single executable to  
your client with all the content neatly hidden from view inside  
the .app package.


I spent a day figuring it out, so I thought I'd share the experience.

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


Re: [Flashcoders] emoticons in a chat component

2005-11-21 Thread Simon Lord
Anyone can use the solution and font any way they like, so feel free  
to do whatever you want with the font Karina.  The Mac and PC font  
should be in the archive.  A font tool can uncork the TrueType files  
so you can edit them, I pretty much maxed out the available letters  
in this set so you may need to start a new font for additional  
smilies/graphics.


Eric, copying the smilie and pasting it elsewhere *should* result in  
seeing garbled text.  Sucks I know, there are holes with all  
solutions (as you've seen with the floating images).


As a side note, I didn't make a specific sample in the downloading  
smilie zip file but it should be obvious that the smilies can be  
hyperlinked to load web pages or trigger events.



On Nov 21, 2005, at 10:48 PM, eric dolecki wrote:


Ya i know your font solution works - but what happens if someone wants
to copy  paste the text? Or have it saved to history? floating images
on top fixes that problem, but also crushes the player.

On 11/21/05, Simon Lord [EMAIL PROTECTED] wrote:

Resizing the chat field with my font smilies has zero effect with
regards to crashing.  It's just a font.

Karina, the chat portion seems to work fine.  Try again, I know in
Firefox you HAVE to click the Login button as it doesn't respond to
hitting the return or enter key (least not for me).


On Nov 21, 2005, at 11:17 AM, eric dolecki wrote:


Of all the things I tried, when resizing of the chat field was
required, I
could not come up with a solution that didn't crush the Flash
player. The
resizing is what did it in. I had to recompute, etc. Perhaps AS3
will allow
for something like a system, with text that can be highlighted 
copied and
used, etc.

If flash were able to have a component container that could parse
HTML well
within Flash, that might be another cool thing too.

edolecki


On 11/21/05, Karina Steffens [EMAIL PROTECTED] wrote:





I'm also considering Joe's idea of overlaying the emoticons


I'm getting dyslexic in my old age :-/ I meant Jobe - sorry for the
mis-type...

___
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


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


Re: [Flashcoders] emoticons in a chat component

2005-11-20 Thread Simon Lord
I have a font based solution that is easy to use.  The idea is to use  
the kerning in fonts to simulate layering of letters, however, in my  
font there are no letters, just smilie *parts*.


You can see the breakdown here as well as test it out:

http://www.karbonized.com/smilies/

... download the sample here (it's old, you may need to play with it  
a little to suit your needs).


http://www.karbonized.com/smilies/Archive.zip


On Nov 20, 2005, at 12:24 PM, Karina Steffens wrote:


Hi List,

I have a working FlashComm chat programme, dedicated to online  
counselling.
It's been up and running for over half a year now, but now the  
client wants

me to add some new features, one of which is emoticons.

I'm using the TextArea for the history component and formatting the  
text
with html, so I thought adding the emoticons would be a simple  
matter of
using the img tag in the TextArea. But it doesn't want to work  
that way -
the emoticons are not displayed inline, but at the beginning of the  
next

line, wrapping the following text around them.
I need to find a way to to make them display in the same way as a  
user would
expect from a chat application. I've done some research, but  
haven't found
anything suitable yet. I also don't want to use an emoticon font,  
because

the results are not what I'm looking for.

Any ideas? Is it possible to use a style sheet to position them  
correctly?
Or give all images ids to move them around? Would I need to overlay  
them on

top of the text? Nothing too complicated I hope, I've only estimated a
couple of days for the job...

Thanks,
Karina


Karina Steffens  |  Neo-Archaic
creative  technical new media design
 http://www.neo-archaic.net/ www.neo-archaic.net

___
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] emoticons in a chat component

2005-11-20 Thread Simon Lord
Oh BTW, this font smilie solution is immune to Flash versioning  
(5,6,7,8,8.5), it should work in any other app that can display  
fonts.  Also, the sample swf in the link is a little buggy but the  
Archive.zip contains the latest source.



On Nov 20, 2005, at 1:46 PM, Simon Lord wrote:

I have a font based solution that is easy to use.  The idea is to  
use the kerning in fonts to simulate layering of letters, however,  
in my font there are no letters, just smilie *parts*.


You can see the breakdown here as well as test it out:

http://www.karbonized.com/smilies/

... download the sample here (it's old, you may need to play with  
it a little to suit your needs).


http://www.karbonized.com/smilies/Archive.zip


On Nov 20, 2005, at 12:24 PM, Karina Steffens wrote:


Hi List,

I have a working FlashComm chat programme, dedicated to online  
counselling.
It's been up and running for over half a year now, but now the  
client wants

me to add some new features, one of which is emoticons.

I'm using the TextArea for the history component and formatting  
the text
with html, so I thought adding the emoticons would be a simple  
matter of
using the img tag in the TextArea. But it doesn't want to work  
that way -
the emoticons are not displayed inline, but at the beginning of  
the next

line, wrapping the following text around them.
I need to find a way to to make them display in the same way as a  
user would
expect from a chat application. I've done some research, but  
haven't found
anything suitable yet. I also don't want to use an emoticon font,  
because

the results are not what I'm looking for.

Any ideas? Is it possible to use a style sheet to position them  
correctly?
Or give all images ids to move them around? Would I need to  
overlay them on
top of the text? Nothing too complicated I hope, I've only  
estimated a

couple of days for the job...

Thanks,
Karina


Karina Steffens  |  Neo-Archaic
creative  technical new media design
 http://www.neo-archaic.net/ www.neo-archaic.net

___
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] Particle class

2005-11-20 Thread Simon Lord

.zip link appear to be broken.  :P



On Nov 20, 2005, at 6:29 PM, Phil Douglas wrote:


Hi all



I've been working on a particle simulation class, and I've put the
current source and an example on my site



http://www.lookmumimontheinternet.com/blog/?p=13



It's a bit rough around the edges but if people could have a look and
let me know what they think, that'd be great



Cheers



Phil Douglas

___
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] Flash 8.5 on OSX

2005-11-01 Thread Simon Lord
Just updated to OSX 10.4.3 and nothing published to Flash 8.5 appears  
in the browser (yes, I installed the 8.5 plugin).


Can't revert the OS install and so can't determine if it's the  
upgrade that prevents the plugin from displaying 8.5 content.   
Everything published for 8 works fine, although some swf's like the  
Planetarium on neave.com brings Safari down like a rock.  But once I  
reverted back to 8.0 the Planetarium worked fine.

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


[Flashcoders] RE: Flashcoders Digest, Vol 9, Issue 57

2005-10-22 Thread Simon Barber
Hey Jens,

C# code:

string saveToFolder = savedFiles
private void Page_Load(object sender, System.EventArgs e)
{
   
HttpFileCollection uploadedFiles =  Request.Files;
string Path = Server.MapPath(saveToFolder);
for(int i = 0 ; i  uploadedFiles.Count ; i++)
{
HttpPostedFile F = uploadedFiles[i];

if(uploadedFiles[i] != null  F.ContentLength  0)
{
string newName =
F.FileName.Substring(F.FileName.LastIndexOf(\\) + 1);
F.SaveAs(Path + / + newName);
}
}
}

Cheers,
Simon Barber


Message: 9
Date: Fri, 21 Oct 2005 11:11:26 +1300
From: Campbell Anderson [EMAIL PROTECTED]
Subject: Re: [Flashcoders] Flash 8 upload with c#
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

Yeah dude, does your existing c# website have upload already built in or
do you need a page from scratch?

Campbell

 
 I need to use the Flash 8 upload functionality with a c# ASP.NET
serverside 
 script - I know how to do it with php, but c# seems complex. Does anybody 
 have scripts or experience with that?
 
 Please contact me offlist:
 [EMAIL PROTECTED]
 
 Thanks!
 Jens
 
 
 ___
 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