<?xml version="1.0" encoding="iso-8859-1"?>

<rdf:RDF 
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns="http://purl.org/rss/1.0/"
>

	<channel rdf:about="http://flugr.shared.prisma-hosting.com/">
	
		<title>FLUGR Forums: ActionScript</title>
		<description>Forum : ActionScript : Discussions about ActionScript</description>
	
	<link>http://flugr.shared.prisma-hosting.com/</link>
	
	<items>
		<rdf:Seq>
			
			<rdf:li rdf:resource="http://flugr.shared.prisma-hosting.com/messages.cfm?messageid=5FBD6631-97A7-F7E6-C2271D3C4D197975&amp;r=1" />
			
			<rdf:li rdf:resource="http://flugr.shared.prisma-hosting.com/messages.cfm?messageid=5FA7DCE3-9770-EAAE-A713CF3FDD4E9808&amp;r=2" />
			
			<rdf:li rdf:resource="http://flugr.shared.prisma-hosting.com/messages.cfm?messageid=61B962D9-1676-3929-A9E8BFF47B975123&amp;r=3" />
			
			<rdf:li rdf:resource="http://flugr.shared.prisma-hosting.com/messages.cfm?messageid=52F1CB3D-1676-3929-A95D7E97D05631BB&amp;r=4" />
			
		</rdf:Seq>
	</items>
	
	</channel>

	
		
		
		
	
		<item rdf:about="http://flugr.shared.prisma-hosting.com/messages.cfm?messageid=5FBD6631-97A7-F7E6-C2271D3C4D197975&amp;r=1">
		<title>RE: public static const</title>
		<description>It all works fine here:

Test function:
[code]import test.MyCLass;
		private function test() : void {
			
			switch(MyCLass.IDLE) {
				case &quot;Idle&quot;:
				    trace(&quot;Idle&quot;);
				    break;
				case &quot;Test&quot;:
				    trace(&quot;Test&quot;);
				    break;
			}
			
			var testje : String = &quot;Idle&quot;;
			switch(testje) {
				case MyCLass.IDLE:
				    trace(&quot;Idle&quot;);
				    break;
				case MyCLass.TEST:
				    trace(&quot;Test&quot;);
				    break;
			}
			
		}[/code]

MyClass:
[code]public class MyCLass
	{
		public static const IDLE : String = &quot;Idle&quot; ;
		public static const TEST: String = &quot;Test&quot;;[/code]		
My only guess would be that the visibility of either your variables or your class isn&apos;t public</description>
		<link>http://flugr.shared.prisma-hosting.com/messages.cfm?messageid=5FBD6631-97A7-F7E6-C2271D3C4D197975&amp;r=1</link>
		<dc:date>2009-02-10T10:31:01--02:00</dc:date>
		<dc:subject>public static const</dc:subject>
		</item>
	
		
		
		
	
		<item rdf:about="http://flugr.shared.prisma-hosting.com/messages.cfm?messageid=5FA7DCE3-9770-EAAE-A713CF3FDD4E9808&amp;r=2">
		<title>public static const</title>
		<description>Here&apos;s one for you......

inside a class i defined a couple of states using public static const.

like: public static const IDLE:String = &quot;IDLE&quot;;

when using these in an if or switch statement inside the same class everything works fine, BUT, when i try to access these (in if or switch)  from an other class an error occures.

1119: Access of possibly undefined property IDLE through a reference with static type Class.


As a workaround i&apos;ve changed the public static const to a static getter. which works, but still... why the error.</description>
		<link>http://flugr.shared.prisma-hosting.com/messages.cfm?messageid=5FA7DCE3-9770-EAAE-A713CF3FDD4E9808&amp;r=2</link>
		<dc:date>2009-02-10T10:07:30--02:00</dc:date>
		<dc:subject>public static const</dc:subject>
		</item>
	
		
		
		
	
		<item rdf:about="http://flugr.shared.prisma-hosting.com/messages.cfm?messageid=61B962D9-1676-3929-A9E8BFF47B975123&amp;r=3">
		<title>RE: Sending email with ....</title>
		<description>It should work better if you just don&apos;t user http post messages, if you would use a remote object with AMF to connect to the server and send the mail information to a CFC or java class to catch and process that should solve your problem and prevent others from capturing that information.

Mark</description>
		<link>http://flugr.shared.prisma-hosting.com/messages.cfm?messageid=61B962D9-1676-3929-A9E8BFF47B975123&amp;r=3</link>
		<dc:date>2008-04-18T13:29:09--02:00</dc:date>
		<dc:subject>Sending email with ....</dc:subject>
		</item>
	
		
		
		
	
		<item rdf:about="http://flugr.shared.prisma-hosting.com/messages.cfm?messageid=52F1CB3D-1676-3929-A95D7E97D05631BB&amp;r=4">
		<title>Sending email with ....</title>
		<description>Wow, we managed it to get a website in 2 weeks.
Off course we havel a list of 1000 things we have to do better but the start is ok.
Biggest problem was the domain-cross error reading out others weblogs.
The biggest problem remaining is the best way to send mail with actionscript or Flex without giving spammers all opportunity to find me
We tried it with PHP
[code]&lt;mailresults&gt;
&lt;?php

/* All form fields are automatically passed to the PHP script through the array $HTTP_POST_VARS. */
$email = $_POST[&apos;email&apos;];
$subject = $_POST[&apos;subject&apos;];
$message = $_POST[&apos;message&apos;];
$from = $_POST[&apos;from&apos;];


// To send HTML mail, the Content-type header must be set
$headers  = &apos;MIME-Version: 1.0&apos; . &quot;\r\n&quot;;
$headers .= &apos;FROM: &apos; . $from . &quot;\r\n&quot;;
$headers .= &apos;Content-type: text/html; charset=iso-8859-1;&apos; . &quot;\r\n&quot;;

/* PHP form validation: the script checks that the Email field contains a valid email address and the Subject field isn&apos;t empty. preg_match performs a regular expression match. It&apos;s a very powerful PHP function to validate form fields and other strings - see PHP manual for details. */
if (!preg_match(&quot;/\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/&quot;, $email)) {
  echo &quot;&lt;mailresult&gt;Ongeldig email addres: &quot;; 
  echo $email;
  echo &quot;&lt;/mailresult&gt;&quot;;
} elseif ($subject == &quot;&quot;) {
  echo &quot;&lt;mailresult&gt;No subject&lt;/mailresult&gt;&quot;;
}

/* Sends the mail and outputs the &quot;Thank you&quot; string if the mail is successfully sent, or the error string otherwise. */
elseif (mail($email,$subject,$message,$headers)) {
  echo &quot;&lt;mailresult&gt;Mail successfully send.&lt;/mailresult&gt;&quot;;
} else {
  echo &quot;&lt;mailresult&gt;Mail not send.&lt;/mailresult&gt;&quot;;
}
?&gt;
&lt;/mailresults&gt;[/code]

and we tried it with coldfusion.
Anyone any ideas?</description>
		<link>http://flugr.shared.prisma-hosting.com/messages.cfm?messageid=52F1CB3D-1676-3929-A95D7E97D05631BB&amp;r=4</link>
		<dc:date>2008-04-15T16:36:28--02:00</dc:date>
		<dc:subject>Sending email with ....</dc:subject>
		</item>
	
	
</rdf:RDF>

