Re: [Flashcoders] Running Independent SWF

2008-03-13 Thread anuj sharma
Hi Bob Thanks for reply. This is not AIR, its simple swf file created from Flash authoring timeline. All the code is on main timeline. Also it behaves similarly on HTML published too, i tried windows exe publishing too. It seems like in my Flash IDE it is loading external SWF but when i am trying

[Flashcoders] Using seek on a NetStream

2008-03-13 Thread Shant Parseghian
Hi guys, I'm having a problem using seek. In a listener for NetStream.Play.Stop I have a call to stream_ns.seek(1). I am trying to loop a stream seamlessly. I put a trace on the stream_ns.time and after the seek is called, the time displays as starting over from 0. When I change the seek command

Re: [Flashcoders] Using seek on a NetStream

2008-03-13 Thread Steven Sacks
You can pass any time to seek, but the NetStream will jump to the nearest keyframe of the FLV. If you seek(4) and the nearest keyframe is at 7, it will jump to 7. Go to YouTube to see this happen as you scrub. Some of their videos have 15 second keyframes. If you've got control over the

[Flashcoders] 9-slice scaling not working when used as mask

2008-03-13 Thread Martin Klasson
Hi Flashcoders, my subject might said it all am having a mask which is a movieclip with rounded corners, but when used as a mask - the 9-slice scaling seems to be out of function. Is there a way around this, is it a bug or intentional response? The solution that I know of, but dont like - is to

RE: [Flashcoders] [AS3] Memory leaks unloading

2008-03-13 Thread Sunil Jolly
Hi Henry, I've found that even if items are garbage collected in the Flash Player memory will be necessarily be freed in the browser. If you want to check for garbage collection you can use the Flex Profiler (In Flex Builder 3) to check whether items are collected or not. What you will most

Re: [Flashcoders] 9-slice scaling not working when used as mask

2008-03-13 Thread eric e. dolecki
I haven't tried what you're doing, but you might be better off using the drawAPI and a method to draw your mask instead if probs continue. Thats the old-fashioned way to me. eric On Thu, Mar 13, 2008 at 8:48 AM, Martin Klasson [EMAIL PROTECTED] wrote: Hi Flashcoders, my subject might said it

Re: [Flashcoders] Arabic and other character sets text entry

2008-03-13 Thread Piers Cowburn
Good point, yes the email will probably be ltr. I'll try posting on Flash_Tiger in the hope that she's around, thanks very much :) Piers [EMAIL PROTECTED] On 13 Mar 2008, at 13:20, Piers Cowburn wrote: Begin forwarded message: From: Kerry Thompson [EMAIL PROTECTED] Date: 12 March 2008

Re: [Flashcoders] 9-slice scaling not working when used as mask

2008-03-13 Thread Martin Klasson
Yeah, thats a solution that should work. I am not that good ar the drawing api to be making myself some great corners ;) -but I guess there is a solution for that - digging diwn and learn. thanks eric. 2008/3/13, eric e. dolecki [EMAIL PROTECTED]: I haven't tried what you're doing, but you

Re: [Flashcoders] 9-slice scaling not working when used as mask

2008-03-13 Thread Cedric Muller
did you try my_mask.cacheAsBitmap = true and my_masked_movieclip.cacheAsBitmap = true ? hth, Cedric On 13/03/2008 15:15, Martin Klasson wrote: I am not that good ar the drawing api to be making myself some great corners ;) import flash.display.Shape; var my_mask:Shape=new Shape();

Re: [Flashcoders] 9-slice scaling not working when used as mask

2008-03-13 Thread Kenneth Kawamoto
If you are talking about drawing a rectangle with rounded corners, there is a method drawRoundRect() - cannot be simpler ;) Kenneth Kawamoto http://www.materiaprima.co.uk/ Martin Klasson wrote: Yeah, thats a solution that should work. I am not that good ar the drawing api to be making myself

Re: [Flashcoders] 9-slice scaling not working when used as mask

2008-03-13 Thread Matthew Houliston
On 13/03/2008 15:15, Martin Klasson wrote: I am not that good ar the drawing api to be making myself some great corners ;) import flash.display.Shape; var my_mask:Shape=new Shape(); my_mask.graphics.beginFill(0x99, 1); my_mask.graphics.drawRoundRect(10,10,320,240,15);

Re: [Flashcoders] 9-slice scaling not working when used as mask

2008-03-13 Thread Matt S.
Speaking of Scale 9, can the Scaled MC, eg the one thats actually sitting IN the scaling movie, under the guides, have MC's within it? I've tried to use S9 as a way to control the positioning of nav items, eg, a movieclip, which itself contains multiple MCs, each of which sits in the safe zones at

[Flashcoders] Issue with Windows Projector file

2008-03-13 Thread Biehn, Matthew P.
Hello, Is it possible to create a Windows Projector file that targets Flash Player 8 using Flash CS3? It seems the behavior of opening applications is different in the Windows Projector file created from Flash CS3. Previous behavior (Flash8 Projector) - executing a getURL command on a pdf file

Re: [Flashcoders] Running Independent SWF

2008-03-13 Thread Marc Hoffman
Anuj, I know this is more of a hack than really fixing the problem, but have you tried keeping all swf's in the same directory? I am suspicious of the URL: file:///video/pic_8.swf. Why so many directory levels in the path? - Marc At 11:08 PM 3/12/2008, you wrote: Hi Bob Thanks for reply.

[Flashcoders] [AS3] Sound Object Overlays

2008-03-13 Thread Helmut Granda
I am having a dilema with the sound Object. I have a player that plays sounds in certain order, when the user resets the movie the sounds play again. The issue is that somewhere the Sound Object remembers what sound was in queue thus when you reach certain point your old

Re: [Flashcoders] Passing vars with the the timer and events

2008-03-13 Thread EECOLOR
That's a dangerous practice. I do not completely agree. It prevents you from using weak event listeners Correct. The common use for weak event listeners is when adding listeners to the stage: the stage is allways present and adding normal listeners to it will insure that the listener will

[Flashcoders] Recources for planning flash projects

2008-03-13 Thread Stuart (FunkDaWeb)
Hi all, i want to thoroughly plan a flash project before we start to save any messing later in the project. Can you point me to any sites that could give me some help with planning a flash project?? SM ___ Flashcoders mailing list

Re: [Flashcoders] [AS3] Sound Object Overlays

2008-03-13 Thread Bob Leisle
Hi Helmut, This looks more like an issue of lingering variables, or a queue that is not properly re-initialized at the pause, than of a problem with the Sound Object . How are you storing the references to the sounds? How are you controlling the sequential playing of the sounds? Bob

Re: [Flashcoders] Passing vars with the the timer and events

2008-03-13 Thread Cory Petosky
The common use for weak event listeners is when adding listeners to the stage I disagree. Weak event listeners should be used in nearly all cases. In most cases there is actually no real benefit of creating weak event listeners. In most cases parents add listeners to their children.

Re: [Flashcoders] [AS3] Sound Object Overlays

2008-03-13 Thread Helmut Granda
Hi Bob, Yeah after looking at my code I realized there was an issue with my set up. I am controlling the calls to the sound with time outs... and my idea was that if I cleared the time out variable that I was assigning all my time outs to, that for some reason all would be cleared but I was

[Flashcoders] [AS3] FileReference.download()

2008-03-13 Thread ntasky
Hi. simply trying to download files such as .zip or .pdf. The dialog box which tells me wher i want to download the file appears, i click OK, the dialog box closes and nothing is downloaded. files are on the same server. Did someone has a similar issue ? thx, N. here is my code: package {

Re: [Flashcoders] [AS3] Sound Object Overlays

2008-03-13 Thread Helmut Granda
so a simple array to track them all: trace(\n\n\n\nCOUNTER COUNT ** ) ; var timeoutTracker : Array = new Array(); var myTimer : Number ; var counter : uint ; myTimer = setTimeout ( myfunc, 1000, first); timeoutTracker.push(myTimer); myTimer = setTimeout ( myfunc, 1100, second);

Re: [Flashcoders] [AS3] FileReference.download()

2008-03-13 Thread Helmut Granda
What browser? MAC PC? have you tried to download other files successfully besides pdf and zip files with the same code? On 3/13/08, ntasky [EMAIL PROTECTED] wrote: Hi. simply trying to download files such as .zip or .pdf. The dialog box which tells me wher i want to download the file

Re: [Flashcoders] [AS3] FileReference.download()

2008-03-13 Thread Bob Leisle
Hi Ntasky, I'm not sure if this is the only cause to the problem, but I did notice this. Your _onDownLoad handler is using _fileLocation, which is not defined anywhere in your code. hth, Bob ntasky wrote: Hi. simply trying to download files such as .zip or .pdf. The dialog box which tells

Re: [Flashcoders] Passing vars with the the timer and events

2008-03-13 Thread EECOLOR
If you add a normal event listener to a child, and then remove that child, the child is _not_ garbage collected. Objects are only garbage collected when all references to the object are removed. Adding a normal event listener causes a reference to be created invisibly within the event system. I

Re: [Flashcoders] Running Independent SWF

2008-03-13 Thread EECOLOR
It is just a guess, but is the url in your swf /video/pic_8.swf? If so, you might want to change it to video/pic_8.swf (without the slash at the start). The slash at the start is only usefull if you are serving your swf from a webserver. Greetz Erik On 3/13/08, Marc Hoffman [EMAIL PROTECTED]

Re: [Flashcoders] [AS3] FileReference.download()

2008-03-13 Thread ntasky
hello bob, your absolutely right but unfortunatly for me it just that i forgot to copy/paste it... good catch thought :) N. public function FileListItem(p_fileLocation:String) { _fileToDownload = new FileReference(); _fileLocation = p_fileLocation;

[Flashcoders] garbage collection for custom objects with video and sound

2008-03-13 Thread Helmut Granda
Hi All, So how does the garbage collection works in flash for objects with video and sound? I have a custom video player and when I delete the instance of this video player the sound and video continue to play on stage. removeChild(endMoviePlayer); endMoviePlayer = null ;

Re: [Flashcoders] Passing vars with the the timer and events

2008-03-13 Thread Cory Petosky
There is no such thing as a reference to be created invisibly within the event system. I disagree. Try this test code: package { import flash.events.Event; import flash.display.Sprite; import flash.utils.getTimer; public class TestClass

Re: [Flashcoders] Recources for planning flash projects

2008-03-13 Thread Bob Wohl
http://gskinner.com/gmodeler/ hth B. On Thu, Mar 13, 2008 at 10:26 AM, Stuart (FunkDaWeb) [EMAIL PROTECTED] wrote: Hi all, i want to thoroughly plan a flash project before we start to save any messing later in the project. Can you point me to any sites that could give me some help with

Re: [Flashcoders] Running Independent SWF

2008-03-13 Thread anuj sharma
Hi ALL Thanks for your help. one of guy help me out in figuruign this thing out. I have to use /.video/pic_8.swf. Now the problem is solved. Thanks Anuj On Thu, Mar 13, 2008 at 1:58 PM, EECOLOR [EMAIL PROTECTED] wrote: It is just a guess, but is the url in your swf /video/pic_8.swf? If so, you

[Flashcoders] Unable to connect to database

2008-03-13 Thread Anthony Cintron
I posted this problem on Yahoo Groups FlexCoders, but I figured I can give the FlashCoders a try... I'm having major issues with connecting to my localhost database. The link below shows the generated link when I click on the Test Connection. How I setup my flex app: Create Flex Project

Re: [Flashcoders] Unable to connect to database

2008-03-13 Thread Glen Pike
It looks like you are trying to connect to your database from Flex - this may or may not be via a browser connection, dunno, never tried to connect via Flex, but if you are using MAMP (I use XAMPP so similar) you probably need to connect to MySQL via PHP scripts through a web browser. Have

Re: [Flashcoders] Unable to connect to database

2008-03-13 Thread Glen Pike
Try port 8889 instead - that's the MAMP default for MySQL. Anthony Cintron wrote: I posted this problem on Yahoo Groups FlexCoders, but I figured I can give the FlashCoders a try... I'm having major issues with connecting to my localhost database. The link below shows the generated link when

[Flashcoders] Unable to connect to database

2008-03-13 Thread Anthony Cintron
Awesome! I fixed the issue. I changed the port number 8889. Host: localhost:8880 user: whatever password: whatever ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders