RE: [Flashcoders] amfphp 1.9 issue

2008-04-26 Thread Cor
Your gateway isn't there ?

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens chas warn
Verzonden: zaterdag 26 april 2008 22:24
Aan: Flashcoders@chattyfig.figleaf.com
Onderwerp: [Flashcoders] amfphp 1.9 issue

Hello ... I'd appreciate any help on this issue.Carlos

1. I can get amfphp1.9 working local but not on my remote webserver. (I'm
using the HelloWorld sample) 2. have no problems with amfphp 1.2 on remote
server 3. I'm using flash 8 with php 5.2.
4. copied over amfphp directory less the fla files in the samples directory.

4. Maybe there is something in the gateway.php that needs modification.
(???)




*** Below is located in www\amfphp\services directory.





*  Below is my fla file located in root directory

var gatewayUrl:String = "http://carlosinla.com/amfphp/gateway.php";;
import mx.remoting.*;
import mx.rpc.*;
import mx.remoting.debug.NetDebug;

NetDebug.initialize();
var oPosts:Object;

var _service:Service = new Service(gatewayUrl, null, "HelloWorld", null,
null); var pc:PendingCall = _service.sayHello();

pc.responder = new RelayResponder(this, "handleResult", "handleError");

function handleResult(re:ResultEvent) {
oPosts = re.result;
trace (oPosts.length);
test_txt.text=oPosts.length; //initial text changes to '12'   locally - but
no change on web server.
}


*  Below is cross-domain  file in root directory 
http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>

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


--
No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.5/1399 - Release Date: 26-4-2008
14:17

No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.5/1399 - Release Date: 26-4-2008
14:17
 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.5/1399 - Release Date: 26-4-2008
14:17
 

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


Re: [Flashcoders] Need Help from Techies

2008-04-26 Thread robert
I'm not entirely understanding what the problem is, but a JSFL script  
is good for going thru timelines and can be used to evaluate what is  
where.


or "Distribute to layers" should separate them out?



On Apr 25, 2008, at 5:17 PM, [EMAIL PROTECTED] wrote:


Hi All,

I have a problem that I cannot seem to solve.  The problem is that I  
deleted three small symbol buttons from the main interface of a  
flash document template.   Now, I visibly see their placeholder, but  
I cannot find the location of the placeholder for deletion.  I need  
to delete the placeholder because it is visibly unappealing.


Any suggestions?  All responses are greatly appreciated.

Thanx,

Shara
___
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] Need Help from Techies

2008-04-26 Thread Christoffer Enedahl
I would hide one layer at a time until you find out which layer it is 
in. Then hide all other layers and unlock the layer with the 
placeholder. Select and delete them. If they are within a movieclip, 
doubleclick them until you can delete them. You might need to unlock 
more layers.


HTH/Christoffer

[EMAIL PROTECTED] skrev:

Hi All,

I have a problem that I cannot seem to solve.  The problem is that I deleted three small symbol buttons from the main interface of a flash document template.   Now, I visibly see their placeholder, but I cannot find the location of the placeholder for deletion.  I need to delete the placeholder because it is visibly unappealing.  


Any suggestions?  All responses are greatly appreciated.

Thanx,

Shara 
___

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] drawing a tube/cylinder with as

2008-04-26 Thread ekameleon
Hello :)

For me the best way to draw a cylinder is a realtime 3D engine like :

http://code.google.com/p/papervision3d/
http://blog.papervision3d.org/

or

http://www.flashsandy.org/

or others

EKA+ :)


2008/4/27 Pedro Kostelec <[EMAIL PROTECTED]>:

> Hi
>
> I am trying to draw a tube/cylinder with as3.
> What i am trying to do is draw 2 circles in different places and then
> findind some points in the circl'es outline and joining and coloring the
> new
> created shapes. My question is How can i find those points in the cilcles
> outline?How should be the loop? Or is there a better way of drawing a
> tube?I
> need it to be in as, because i need to make on of those "circles"
> draggable
> and the tube shoud be redrawn on every frame again.
> Is my question clear?
>
> Thanks
>
> --
> Pedro D.K.
> ___
> 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] drawing a tube/cylinder with as

2008-04-26 Thread Pedro Kostelec
Hi

I am trying to draw a tube/cylinder with as3.
What i am trying to do is draw 2 circles in different places and then
findind some points in the circl'es outline and joining and coloring the new
created shapes. My question is How can i find those points in the cilcles
outline?How should be the loop? Or is there a better way of drawing a tube?I
need it to be in as, because i need to make on of those "circles" draggable
and the tube shoud be redrawn on every frame again.
Is my question clear?

Thanks

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


[Flashcoders] amfphp 1.9 issue

2008-04-26 Thread chas warn
Hello ... I'd appreciate any help on this issue.Carlos

1. I can get amfphp1.9 working local but not on my remote webserver. (I'm
using the HelloWorld sample)
2. have no problems with amfphp 1.2 on remote server
3. I'm using flash 8 with php 5.2.
4. copied over amfphp directory less the fla files in the samples directory.

4. Maybe there is something in the gateway.php that needs modification.
(???)




*** Below is located in www\amfphp\services directory.





*  Below is my fla file located in root directory

var gatewayUrl:String = "http://carlosinla.com/amfphp/gateway.php";;
import mx.remoting.*;
import mx.rpc.*;
import mx.remoting.debug.NetDebug;

NetDebug.initialize();
var oPosts:Object;

var _service:Service = new Service(gatewayUrl, null, "HelloWorld", null,
null);
var pc:PendingCall = _service.sayHello();

pc.responder = new RelayResponder(this, "handleResult", "handleError");

function handleResult(re:ResultEvent) {
oPosts = re.result;
trace (oPosts.length);
test_txt.text=oPosts.length; //initial text changes to '12'   locally - but
no change on web server.
}


*  Below is cross-domain  file in root directory

http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>

  
  

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


[Flashcoders] Re: problem detecting when progressive video has reached the end - AS3

2008-04-26 Thread Wendy Serrell
Carl Welch Wrote:

> I am have a difficult time detecting when a progressive video has 
> played to the end. is there listener for this? note: I'm not using 
> the flvPlayback - I'm creating the video using : _video=new
Video(510,382);

I don't think there is a completely reliable way to detect when a
progressive video has ended. You can get the 'lasttimestamp' property if
you're using Burak's FLV Injector, but an flv will sometimes stop before
reaching this time, so checking for that value won't work. Flvs also have a
built in 'duration' property, but I've never seen an flv actually reach that
time.

The NetStream.Play.Stop event would seem to be a good candidate, but it
sometimes gets fired randomly if you're scrubbing through a video, so that
alone won't always work either.

My kludgy solution is to put some code in a NetStream.Play.Stop event that
sees if the video is less than 0.5 seconds from 'lasttimestamp'.

It would be nice if NetStream.Play.Complete worked for progressive video.


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


Re: [Flashcoders] Converting a ByteArray to string and back again...

2008-04-26 Thread Ian Thomas
Hi John,
   I'm surprised writeUTFBytes doesn't work - in what way doesn't it work?

Ian

On Fri, Apr 25, 2008 at 10:23 PM, John Eriksson <[EMAIL PROTECTED]> wrote:
> I've been messing around with the ByteArray for some time now, and I wonder
>  if there isa way to convert the ByteArray to a string (ie using toString())
>  and then converting that string
>  back into a ByteArray which would then be the same as the original
>  ByteArray.
>
>  This would mean I could include an AMF serialized object in an xml document
>  and later deserialize
>  it from that string in the xml...
>
>  Is this possible? ByteArray doesn't have a "fromString" method and I've
>  tried writeUTF and writeUTFBytes but that
>  doesn't seem to be right.
>
>  I did manage to get the bytes one by one from the byte array, creating a
>  string like "10,245,343,12.",
>  and later doing some split() join() stuff to finally assemble the ByteArray
>  - but this seems a bit complex and
>  maybe even slow. Am I missing something? Can it be done much faster?
>
>
>  Kind regards,
>  John
>  ___
>  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