<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Everything Flash and ActionScript Blog</title>
	<atom:link href="http://blog.everythingfla.com/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.everythingfla.com</link>
	<description></description>
	<lastBuildDate>Tue, 08 May 2012 01:42:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Starbugs Coffee</title>
		<link>http://blog.everythingfla.com/2012/05/starbugs-coffee.html</link>
		<comments>http://blog.everythingfla.com/2012/05/starbugs-coffee.html#comments</comments>
		<pubDate>Tue, 08 May 2012 01:30:18 +0000</pubDate>
		<dc:creator>Ben Fhala</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://blog.everythingfla.com/?p=332</guid>
		<description><![CDATA[Yep I know its an educational site and if i had a corp board, lawyer or an editor I would probably be asked not to antagonize large companies but then again i dont so i&#8217;ll just say what i think. How dare you try to feed me bugs without letting me know about it? don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Yep I know its an educational site and if i had a corp board, lawyer or an editor I would probably be asked not to antagonize large companies but then again i dont so i&#8217;ll just say what i think.</p>
<p>How dare you try to feed me bugs without letting me know about it? don&#8217;t you have any shame? What about responsibility ? I get it that the large fastfood chains that de-facto are part of abuse of animals so its not a big deal to cross from there to pumping animals with what ever they pump them with the transition into selling pink slim is almost natural.. but Starbugs a coffee chain that is more expensive then any other chain that has this positive vibe in it how can they do something so low. are they sorry about it? well until i feel they are sorry about it in my mind they will be called StarBugs to remind me not to trust then and analyze every product i buy there &#8211; and yes ill still go there as its the best place for an office out of home for $2-4 an hour.</p>
<p>Well if you didn&#8217;t hear the story basically Starbugs uses red bugs(i don&#8217;t think that&#8217;s the actual name of the bugs) in there strawberry smoothy (i did not know they even have a smoothy i only buy there green tee with some honey). That makes me think if they can stuff a bug into  strawberries i wonder where else are they stuffed&#8230;</p>
<p>I know this isn&#8217;t news that bugs have been used in candy and other products for years but it bugs me (no pun intended) that a really expensive beverage needs to have bugs in it &#8230; it doesn&#8217;t and its not that hard to explain to people that  strawberries that aren&#8217;t fresh aren&#8217;t really pink so there you go&#8230;</p>
<p>There PR answer was something about how if they don&#8217;t use the bugs they would need to use chemicals of some sort but that&#8217;s just even more annoying what&#8217;s wrong with strawberries who cares if its lava red or not if its fresh and yummy natural color&#8230; or is it not and you need to hide it with color additives?</p>
<p>Being fair here for a moment its not Starbugs fault its ours as consumers that we think brighter is better when the reality of is that nothing is bright in nature almost nothing. A fresh product has blemishes or as a past landlord of mine told me the best tomato is the one full of bursts it means it overflows with goodness from the sun. We need to change as a culture that is so obsessed with perfection to obsess about goodness and nutrition and in general find a way to add really values in our life.</p>
<p>Starbugs isn&#8217;t as a whole bad company it just made a bad choice so its not that I&#8217;m going to war with them as just 2 days ago i had a cup of green tee and in return was allowed to stay in there store for about 2 hours so i&#8217;m still your client and you never know i might build banners or sites for you in the future but come on please don&#8217;t do s**t like that its just so frustrating.</p>
<p>Stop treating people like there dummies i bet you not even one person would by your shake if they has a sign on it BugBerry juice &#8211; so why do you think you can use bugs to sell something no one would want if they know what it was&#8230; to answer your question if you feel like you can&#8217;t sell it without bugs &#8211; great don&#8217;t sell it sell a lemonade !</p>
<p>Ok thanks for listening to my latest tantrum.</p>
<p>We have a right to know what we consume and it shouldn&#8217;t be a surprise so please track back on that lame PR answer just say sorry and drop it out of your menu if you haven&#8217;t done it already and mainly promises to us you will never do it again &#8211; and mean it!</p>
<p>Edit: as i get my news late it looks like Starbucks will remove the bugs from there menus throughout the US but for the world it will see be StarBugs&#8230; what a shame. do you have other secret ingredients that if we know about would make us pissed off?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.everythingfla.com/2012/05/starbugs-coffee.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hans Rosling on Data Visualization</title>
		<link>http://blog.everythingfla.com/2012/05/hans-rosling-data-vis.html</link>
		<comments>http://blog.everythingfla.com/2012/05/hans-rosling-data-vis.html#comments</comments>
		<pubDate>Thu, 03 May 2012 21:24:51 +0000</pubDate>
		<dc:creator>Ben Fhala</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://blog.everythingfla.com/?p=330</guid>
		<description><![CDATA[I&#8217;ve seen this video a long time ago and you might of as well but I&#8217;m writing these days a book about data visualization and i remember being really inspired by this at the time i was working full time as a data visualizer for Parsons &#8211; new school. I miss that type of work [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve seen this video a long time ago and you might of as well but I&#8217;m writing these days a book about data visualization and i remember being really inspired by this at the time i was working full time as a data visualizer for Parsons &#8211; new school. I miss that type of work so much there is something so inspiring about being an enabler. Building ads and making money is nice but building things that take data that is untouchable and make it fun and easy to read is one of the most rewarding job a person can ask for. </p>
<p>While the people that originally create the data tend to try to massage it and hide information and over load with information in a level that makes it impossible to understand these types of inspirational men (and women) really inspire a better world where information can&#8217;t be hidden in a long document that isn&#8217;t readable(or at least its harder to hide things).</p>
<p><iframe width="420" height="315" src="http://www.youtube.com/embed/hVimVzgtD6w" frameborder="0" allowfullscreen></iframe></p>
<p>Anyways hope you enjoy the video if its the first time you see it. !</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.everythingfla.com/2012/05/hans-rosling-data-vis.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Let there be light</title>
		<link>http://blog.everythingfla.com/2012/04/let-there-be-light.html</link>
		<comments>http://blog.everythingfla.com/2012/04/let-there-be-light.html#comments</comments>
		<pubDate>Thu, 19 Apr 2012 02:11:30 +0000</pubDate>
		<dc:creator>Ben Fhala</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://blog.everythingfla.com/?p=326</guid>
		<description><![CDATA[This is the first personal post I make and I think I&#8217;m going to make a habit out of it as i just don&#8217;t really like company blogs i don&#8217;t read them and I&#8217;m kind of tired of doing things i don&#8217;t like that&#8217;s not why i started my own company it wasn&#8217;t about money [...]]]></description>
			<content:encoded><![CDATA[<p>This is the first personal post I make and I think I&#8217;m going to make a habit out of it as i just don&#8217;t really like company blogs i don&#8217;t read them and I&#8217;m kind of tired of doing things i don&#8217;t like that&#8217;s not why i started my own company it wasn&#8217;t about money it was about me wanting to do something of meaning and the only known skill i have is building interactive things. I&#8217;m drifting this isn&#8217;t the topic of my first personal blog post in my company blog (Sorry i know I&#8217;m breaking all rules of boring corp blogs).</p>
<p>I&#8217;m Jewish and no i don&#8217;t control the media or i wouldn&#8217;t be here today. Always wanted to be a late night host of a radio show something where i can just chat with random strangers about there problems , my problems and maybe connect &#8211; what a random dream but yet I&#8217;m drifting. Tomorrow is the Israeli Holocaust memorial day. Since i was very young i was obsessed with the holocaust and mainly with Hitler and the German/world people of that time. As a kid I was mad at the world and many times scared of it as well growing up in the streets of Jerusalem I was reaffirmed many times that  the world doesn&#8217;t like us Jews that for some odd reason every rock turned in Israel turned to be world news no mater how minimal. In between terror attacks in my childhood streets of Jerusalem from the golf war where i remember vividly the terror i had of missiles falling from the sky and killing my family to later years when buses would blow up and until today I&#8217;m just to afraid to walk in large crowds i avoid them probably why i hate walking through time square i just don&#8217;t like being near a lot of people in public places.</p>
<p>When i moved to new york I was really surprised at how people box everyone into &#8220;categories&#8221; the more i got to know people and the more they got comfortable with me the more i realized that every group tends to point at another group its like a game of hate as soon as your part of one club your almost automatically hating another group in secret or in open. In this day and age its not easy to see hate its hidden among the PC way of talking and interacting but to many times in the few years i&#8217;ve been here i met white people that think black people are less worthy, black people that hate white people, people that hate Jews, people that are anti gay, Jews that are anti gay , gays that are anti religion, religion that is anti humanity and so on&#8230;</p>
<p>I&#8217;ve experienced in my short life many reactions to the fact that I&#8217;m Jewish from fear of me because I&#8217;m part of the group the owns the world, to loving me without any merit just because I&#8217;m Jewish to not wanting to associate with me because I&#8217;m Jewish its not a majority but its there:<br />
 &#8220;lets not go for him he sounds like he is gay&#8221;<br />
 &#8220;i wish all gay people would be killed&#8221;<br />
&#8220;i never talked with a white person before your the first white person I ever talked with&#8221;<br />
&#8220;I hate Jews. your not Jewish your ok&#8221;<br />
and the list really can go on for a very long amount of time&#8230;</p>
<p>The more I matured the more I understood that the Jewish people are just an easy small group to target its easy to unite against the Jew. I can go into a long history lesson of why that is but the one that that stands out is that the only way hate happens is when we hide the light.  I&#8217;ve never expected anyone to love or hate me just for my genetics or my background I know we all tend to box people its in our nature that isn&#8217;t racism to be aware of a race is part of the most basic human nature to ignore it is to ignore that we are human its about what you do with it.</p>
<p>&#8220;One day when i was teaching an SS solder came and demanded to take away the handicapped children to be killed i didn&#8217;t object and let him take them.<br />
A few weeks went by and the SS officer demanded all Jewish children to be taken i didn&#8217;t object<br />
a few more weeks pass and the SS officer was back for the gays<br />
and then the gypsies<br />
and then the children of parents that didn&#8217;t support the Nazi government<br />
and then the Officer came to take me but no one was left to stand up and stop them&#8221;</p>
<p>You don&#8217;t need to love others to help others. you don&#8217;t need to live in the same values as others to understand that if you don&#8217;t help others one day no one will be there to help you. there are still many groups in the world that are being victimized even here in the USA its still ok to mistreat gay people you don&#8217;t need to be PC about it you can say &#8220;god hate fags&#8221; you can protect a law that denies gay people from marriage, creating laws that make it impossible for gay people to have a real healthy ecosystem.</p>
<p>I think we live in a world today that has so much opportunity to become a world of good a world of humanity or as charlie Chaplin once said long ago :<br />
The aeroplane and the radio have brought us closer together. The very nature of these inventions cries out for the goodness in men, cries out for universal brotherhood for the unity of us all. Even now my voice is reaching millions throughout the world, millions of despairing men, women and little children, victims of a system that makes men torture and imprison innocent people. To those who can hear me I say &#8220;Do not despair&#8221;.</p>
<p>The first thing god ever says according to the bible that a large portion of the world looks up to :&#8221;And God said, Let there be light: and there was light.&#8221;  the bible doesn&#8217;t start the story of the creation of the world with a powerful god it starts with a story of a god that said let there be light. Its not our role in this world to create darkens its not our role in this world to be the leaders of a revolution but if you see a light being blocked will you sit back and not undo it will you live by the words of god and let there be light?</p>
<p>Let there be light.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.everythingfla.com/2012/04/let-there-be-light.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exporting Flash into HTML5</title>
		<link>http://blog.everythingfla.com/2012/03/exproting-flash-into-html5.html</link>
		<comments>http://blog.everythingfla.com/2012/03/exproting-flash-into-html5.html#comments</comments>
		<pubDate>Sun, 11 Mar 2012 21:48:27 +0000</pubDate>
		<dc:creator>Ben Fhala</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://blog.everythingfla.com/?p=311</guid>
		<description><![CDATA[Looks like in a future release of Adobe Flash Pro we will have an option to export our flash animations into html5. sounds very cool. take a peak at the video. looks easy and reminds me of the Adobe Wallaby project only smarter so looks like a promising update for Flash Pro. I think at [...]]]></description>
			<content:encoded><![CDATA[<p>Looks like in a future release of Adobe Flash Pro we will have an option to export our flash animations into html5. sounds very cool. take a peak at the video. looks easy and reminds me of the <a title="Adobe Wallaby" href="http://everythingfla.com/quickies/wallaby">Adobe Wallaby</a> project only smarter so looks like a promising update for Flash Pro. I think at this stage its clear that Adobe is far from giving up on Flash as a concept even if its taking a bow on the player end and the pr. It looks like the focus of adobe splitting between keeping the creative people in Flash pro by providing these creative html5 solutions and for the developers it looks like even through saying the word &#8220;flash&#8221; is still a very dirty word in the industry there pushing hard on making AIR the standard for development of games in general and mobile development. Very intrsting to see where this develops with all the news we hear lately on partnerships between Adobe and gaming companies it sounds like a very interesting year is just about to start.<br />
<iframe title="AdobeTV Video Player" src="http://tv.adobe.com/embed/877/12233/" frameborder="0" scrolling="no" width="645" height="296"></iframe></p>
<h1 id="hot">Hot Adobe and HTML5 news:</h1>
<ul>
<li><a href="http://blog.everythingfla.com/2012/03/exproting-flash-into-html5.html" rel="nofollow"><strong>Flash Pro to HTML5</strong> </a> &#8211; Coming soon there will be a way to publish html5 files right in flash pro. check this video out.</li>
<li><a href="http://gaming.adobe.com/" rel="nofollow"><strong>Adobe ,AIR and Games</strong></a>- Adobe is finally stepping it up and starting to push there Gaming vision! yay! Did you know Angry Brids runs on Adobe AIR? ( I didn\&#8217;t as well <img src='http://blog.everythingfla.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> )</li>
<li><a href="http://labs.adobe.com/technologies/shadow/" rel="nofollow"><strong>Adobe Shadow</strong></a> Adobe® Shadow is a new inspection and preview tool that allows front-end web developers and designers to work faster and more efficiently by streamlining the preview process, making it easier to customize websites for mobile devices&#8230;. Interesting&#8230;</li>
</ul>
<h1>New Titles this week:</h1>
<ul>
<li><a href="http://everythingfla.com/02geek/javascript/101.html"><strong>JavaScript 101</strong> </a> &#8211; this is going to be our first chapter out of a new catagory 02Geek Javascript. We posted a free video up and will post a few more in the days to come. for our subscribers a full hour session. </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.everythingfla.com/2012/03/exproting-flash-into-html5.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Player 11.2 new features</title>
		<link>http://blog.everythingfla.com/2012/03/flash-player-11-2-new-features.html</link>
		<comments>http://blog.everythingfla.com/2012/03/flash-player-11-2-new-features.html#comments</comments>
		<pubDate>Mon, 05 Mar 2012 15:07:00 +0000</pubDate>
		<dc:creator>Ben Fhala</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://blog.everythingfla.com/?p=312</guid>
		<description><![CDATA[you can watch our hands on implementing of stageVideo here Drivers gating for hardware acceleration relaxed — Previously, the hardware accelerated content was gated to 1/1/2009, however, we have relaxed the driver gating to 1/1/2008. Throttling event — This release introduces a new ThrottleEvent. A ThrottleEvent is now dispatched by the stage when the Flash [...]]]></description>
			<content:encoded><![CDATA[<p><iframe title="AdobeTV Video Player" width="515" height="296" src="http://tv.adobe.com/embed/64/12225/" frameborder="0" allowfullscreen scrolling="no"></iframe> </p>
<p>you can watch our <a href="http://everythingfla.com/quickies/stageVideo">hands on implementing of stageVideo here</a></p>
<ul>
<li>Drivers gating for hardware acceleration relaxed — Previously, the hardware accelerated content was gated to 1/1/2009, however, we have relaxed the driver gating to 1/1/2008.</li>
<li> Throttling event — This release introduces a new ThrottleEvent. A ThrottleEvent is now dispatched by the stage when the Flash Player throttles, pauses or resumes content.</li>
<li>Mouse lock, relative mouse coordinates, right and middle click events — Create immersive, panoramic games with infinite scrolling to enable new classes of content, including first-person games.</li>
<li>Multithreaded video decoding (Windows, Mac OS, and Linux) — The video decoding pipeline is now fully multithreaded. This feature should improve the overall performance on all platforms. Note that this feature is a significant architecture change required for other future improvements.</li>
<li>Flash Player background updates (Windows) — New versions of the runtimes can now be delivered more effectively to the end user with this enhanced updating mechanism (Background update is only available in the release versions of Flash Player).</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.everythingfla.com/2012/03/flash-player-11-2-new-features.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash StageVideo &#8211; Video Transcript</title>
		<link>http://blog.everythingfla.com/2012/02/flash-stagevideo-video-transcript.html</link>
		<comments>http://blog.everythingfla.com/2012/02/flash-stagevideo-video-transcript.html#comments</comments>
		<pubDate>Fri, 10 Feb 2012 14:32:26 +0000</pubDate>
		<dc:creator>Ben Fhala</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://blog.everythingfla.com/?p=309</guid>
		<description><![CDATA[We just added close captions to the video so thought you might want to read through the transcript so here it is: stageVideo transcript This video is all about the Flash Player 10.2 . Which introduced something that was called stageVideo. I wanted to show you really shortly how you can actually work with stageVideo [...]]]></description>
			<content:encoded><![CDATA[<p><iframe width="560" height="315" src="http://www.youtube.com/embed/u4TNsjm7-Z8" frameborder="0" allowfullscreen></iframe><br />
We just added close captions to the video so thought you might want to read through the transcript so here it is:</p>
<h1>stageVideo transcript</h1>
<pre>This video is all about the Flash Player 10.2 .
Which introduced something that was called stageVideo.
I wanted to show you really shortly how you
can actually work with stageVideo without
getting rid of your old project is and I
was going to take some time until Flash
Player 10.2 will be widely available.
And you definitely don't want to
loose users in the process.
So to start things off I just wanted to
set up here a little small project where
I just had here really a simple video that
should actually work on some flash 10.1 .
If you run the application you'll see it's just me talking.
So it's just a short video of me
teaching something about Flash.
Now there aren't any bells and whistles
in this application and at this point
what I wanted to make sure currently
Flash Builder is really the only place
where you could actually work on this new
feature because it wasn't introduce yet into
Flash Professional but hopefully
soon it will be in this part of the video will be irrelevant.
But currently in this state while
recording this video it was still
just came out Flash Player 10.2
just came out it wasn't yet in Flash Builder Pro.
Alright so the first stuff we have to
do is make sure that we have Flash Player 10.2+ .
I already have that in debugger mode.
And the next thing you want to take is
you want to go to the project right click
on the project go into it's properties.
And in the properties you just
want to make sure that your actionscript compiler isn't using
the 4.5 Flex Builder which obviously
now the Flash Flex Hero.
But they were using the latest stable build which is
4.5.8623  which you could download from the Flex open source.
URL's you could find them also on our website EverythingFLA.com
in the video section of this video.
So I'm just gonna switch into the Flex Builder.
Into the latest SDK and I'm going to
click OK that's all I really had to do
and that's why we're gonna let it
overriding update because now it's going
to be updated to 10.2 .
So I'm going to click OK for that it's
going update our settings.
And now we're ready to go.
We're ready to take the next step with
our application the first thing that I
wanna know before we continue is that
our path itself our video there were
actually going to use for it to be
able to leverage the features of
stageVideo it has to be H624 video.
And my video was compressed that way so I
have nothing to worry about and I'm ready to start working.
Now if you look at the way I structured
it right now I created a new video.
And then I created the video and started
connecting you know creating the Net connection.
The Net Stream adding the event
and starting our video to play
immediately as our video.
What I want to do instead of that is
break the process into two different steps.
So first I want to create the stream
cause it's going to happen no matter
what so I'm going to change
maybe going to change Create Stream
and we're going to call Create Stream no
matter what you want to create the Stream.
Now the video I'm going to create the video
anyways cause it's going to be my backup.
In case things don't work out so I'm going to
put it right in my construction was creating that video moving up.
The next step of actually connecting the Stream.
And adding the video to the stage is
the two steps where I probably want to separate and take out.
And maybe put them in a separate function for now.
So let's called that function we're going to
create a new function and I'm going to
call it Show Regular Video.
And for now lets just paste whatever we have here.
And as you probably of guested if I'm going
to creative regular video we're also going
to want to create another type of video
which is going to be our stageVideo.
So let me just prepare that and we're going
to call it Show stageVideos.
Fantastic so we got our two functions
ready let's first start off with making
sure that everything is still working
so I'm just going to
create the stream in right after that
call my show Regular Video.
And just make sure that I'm still seeing
everything as expected.
And everything is still fine which is
fantastic but what we really want to do
is not only call the show a Regular
Video if we don't have our stageVideo.
To do that the easiest way is
basically to ask our Stage
if it has stageVideos.
Now the stageVideos is a Vector which
is more or less like an Array only more
a smarter type of an Array.
And a stageVideo's basically will
hold how many Video
containers we have so we could just
ask it , it's length.
And let's just trace this out.
And just for a second here I'm just going to
comment out the video so we don't hear all that jitter.
While we're doing it we just want to see
that it's OK that's not really length here we go.
And if we run it one more time and just
close it and go back into our Flash
Player will see that we have a zero videos available.
Which is good for now let's
continue down the line.
So we're first asking if we have zero
then we just want to start our regular
just as before.
So it looks like so far everything is
more or less the same alright.
So if we don't I'm just going to ask  if our length
equal zero about that's basically what I'm
saying here.
That is if our length equal zero
we're going to call our
show Regular Video.
If our length though is longer then that.
Then we're going to call our show stagevideo.
Alright we could delete this line.
Alright we have here all the logic we
need to really to start things up.
Right now we know that we have zero
available stageVideos the different
also and we're going to see how
actually while we implement it.
We don't create new stageVideos there
just a list of them depending on our
operating system depending on
the browser depending on a few
other features.
And some times there will be
some times there won't be.
Depending also on the Flash version right
so some times will have stageVideo some times
we won't.
Let's see how much we have here this time around.
Cause we're connecting the stream but we're
not actually running it.
So even though we're hearing the sound it's
zero so if it's zero
it's exactly the opposite if it's not
zero we want to call the stageVideo right.
So let's switch these two around.
Alright this makes sense.
Because our videos our Stream is playing
no matter what we actually want to say
only if we are more than zero.
Then we want to call our Show Stage
Video if we don't then we want to call a
Regular Video.
Fantastic now it's time for us to change
a little bit are HTML template.
And to change our HTML template all we
really want to do is we want to add
into our template and it's going to
edit it right here just with
which is open it with the text editor.
And all I really want to do as I
want to add
into our properties of our swf itself
in a few spots.
So first of all let's go to this classic
HTML and we're just going to add here.
Which is going to copy this property
but  we want to add a W mode
Window Mode.
And in our Window Mode we want to set
it to be direct.
Basically telling our operating system
or whoever listening.
That it could approach directly
processor and work with the magic behind
the scenes.
It's just going to make things run it's
going to enable our operating system.
Actually to gain access to this feature
or Flash should be able to access
those acceleration features that
it might not it really just depends on
the browser implementations in latest
versions and so on and so forth.
Which means you can't really make
the video over lays OK.
But really the only usage for stageVideo
is when you have a classic video player.
And you're not making anything fancy in it
and your just trying to play video.
Now the only last part we want to do is I
want to set this in our Javascript I'm going
to roll up here.
Find our Swift Object Variables
and I'm just going to add Params
Window Mode=Direct
Now if I run my application one more time.
We should be getting and there you go.
So now it's actually running our it's
running it has four it's running our
view only because we haven't done
anything yet so we can't
actually see anything.
And now it's time really to implement
our Show stageVideo.
And in our Show stageVideo what we
actually want to do we want to grab one stageVideo.
Which we can get them just as we saw
earlier through our Stage.stageVideos .
And we could select the first one
because really creating
based on one so we know we already have
one causes function was called.
It wouldn't  be called if there
wasn't one.
You want to attach our Net Stream.
We want to get our Net Stream instead
of sending its to our Regular Video we're
going to attach it to our Stage.
Now there is one thing that we have to do
is actually defined are view port for
video before we could play it to do that
we're just going to basically tell that
video player.
That we want it's view port.
It's view port to be a specific Rectangle.
And we're going to set them by creating
a new Rectangle.
And just basically saying that Rectangle
who want to be in 00 and for
now let's just do our Stage width
and Stage height.
We don't really care too much about
how it actually is going to look like is
'cause it's really for illustration.
And there you go we set our Rectangle
we set our attached Stream.
And we could play our video out.
And we're ready one step further.
Now we have a few things that we have to
consider while working with this new
feature one is that even though right
now we have four videos ready.
Sometimes that changes and sometimes in
devices specially mobile phones or
different types of platforms the
availability changes as your application
is going so we kind of have to
figure out a way.
In our constructor to be able to update
base and changes and functionality.
And because we need to update based on changes
and functionality we have to add a little bit more.
A little bit more thought into the process.
So first of all I'm going to add another event listener.
Now this event listener I'm not going to
use a built-in class even though I could.
And mainly because and we're going to get
more deeply into a cause I want to
create compiler errors in Flash
or errors in general in Flash player 10.1.
And to do that I'm just going to put here
the Stream directly.
This event will actually be called
as we said every time
our stage of video availability changes
so if it started by four it might change
to zero and it might go up to 8 it really just
depends on a different scenarios such
as full screen not full-screen what's
written in your HTML what browser our in.
And that changes and it's a variable.
So what we want to do is we want to
add a function that basically will be able
to manage those changes I'm going to
say I'm going to call On Change
On change Video.
Because basically we're going to be changing
our video each time this happens.
And or most chances are that we will.
And it's going to create a new functions
And I'm just going to set it as a Regular
event because we don't get any
compiling errors.
Or run time errors in earlier versions of
Flash we already know that if it
ever reaches this place we already
know that the stageVideos exist because
this event would never triggers if it didn't.
So we could reuse this caller we just did.
Our caller basically just said
that if our length if we have a lengths
than we're going to do the stageVideo
if not we're going to do the Regular video.
Now really the only thing that's left
for us to really do is make sure that
we want to make sure that when we're
putting one on we're getting rid of
the other one.
Alright so let's see how we're going to
do that so let's start with the regular
let's start with the stageVideo one
because it's actually easier.
And in our stageVideo one we really have
our stageVideo and really all we have
left is to really just ask if
our video has a private that means we
added it to the Stage.
And if we added to the stage that means we
already set it to the extreme as well.
So one we want to remove our child
we want to remove our video from the display.
And the next thing we want to take our Vid.
We want to attach a Stream but this time
around we're going to send it a Stream of no.
Making sure that  we won't have two
Stream running at the same time.
So we got rid of everything related to
the video and all the rest here is good.
And excellent there's no issues with
anything here.
The next step is actually to make
sure that when we show video that
will only remove the stream from
the stageVideo only if
the stageVideo actually was defined.
Now to do that what we could do is
and by the way...
If ever our stageVideo is being called
what does that mean?
When our stageVideos is called it means our
Stream doesn't exist anymore.
So our Net Stream was automatically
disconnect right so we don't really
have to worry too much about the
scenario where the stageVideo has been
removed because it doesn't exist anymore.
But what we do have to worry about is if our
video is not on the Stage we're going to
add it which were really doing that.
So actually even though it's more
complicated it's not because
automatically our stageVideo information
would be removed because
it doesn't exist anymore if we got our
Show Regular Video because the only time
we get our Show Video is a scenario of
no stageVideos.
Alright now I have one more thing that I want
to do before it can really test this fully
out and just let's run it and make
sure that we are everything is still
working before we do that.
And everything is still working perfect
there is no errors or anything.
The last thing that really what I want
to do is before you test this out on
earlier versions of Flash and fix any
issues if we encounter them.
Is we want to make sure that we're not
actually calling directly for example
stageVideos doesn't exist in Flash
Player10 only exists in Flash Player
10.2 so I'm going to get rid of this
letter I'm just going to comment to out.
And same here for here and it's going
to generate an error call this
directly so I'm going to have to
do is add another
into our if statement another Stage that
has owned property.
And I'm just going to check if it has
their property at all and if it does
that I'm going to check for the length.
So I'm just going to check that has Stage
Videos like that I'm not going to get a
compiling error.
So if it has one we could already
approach it directly and then
all the rest seems like it should be
working well so than the next step I want
to do is actually I want to
downgrade our Flash Player version and
before I downgrade our Flash Player
version I want to go into our HTML
and just create another HTML in our
bin-debug I'm just going to
create another HTML so I'm just going to
go into the browser for a second.
And it let's just go into our explorer.
And in our explorer I'm just going to go into
HTML not our template I was going to go
right into our bin-debug here just for
the sake of the sample.
I'm going to copy our HTML file paste
it again.
And I'm just going to the reason I'm
doing this I want to get rid of the
automatic update of our Flash Player.
So I'm going to call it underscore
No Update.
And in our No Update1 I'm really going
to do a more simple version
back into our flex.
What I'm going to do is and let's
just refresh.
Where are we?
And we have here no debug.
Open text editor.
And really what I'm going to do is I'm
just going to get rid of all the
Javascript and I'm just going to run the
directly in the browser.
So to do that I was going to finer Swift
object information.
And I'm going to send delete everything
because they don't really need it
for the scenario alright.
And that's fine because we're just doing
this for testing.
And I'm just going to get rid of the No
Script.
We're going to be using are No Script
version.
And we could get rid of the No Script
right here.
And we're going to save this out.
And if I just open this file in
the browser again.
I'm just going to drop it into Firefox.
Alright so we have our No Update.
Really the next step after this is we
want to actually delete our Flash Player.
Get rid of Flash Player version 10.2 .
And reinstall version as earlier than
that so I'm just gonna quickly do that.
And I'm going to uninstall Flash Player
my browser.
Alright I just uninstalled Flash.
And the next up I want to do is actually
still in earlier version of Flash let me
just go to.
So let's go to 10 Debug version because
we really want to be able to debug this.
And let's go to the earliest feasible
one and let's say we go to
10r45 which actually I think
introduce some features that are
really needed here.
Alright so we're installing here Flash Player
10r45 which is the first one that
actually came with Flash Professional.
If I recall correctly we just installed
Flash Player 10.10 version R5.
And it's time to actually test our HTML.
And see if we don't do any updates to it.
What errors do we get and if we get any?
And here you go our browsers working as
expected our Flash played out and we're
actually running with older version of
Flash and we didn't get any error even though
running a Flash Debugger Version10.
And done in our mission is completed so now
our file is ready for the future.
So if anyone has a futuristic version of
Flash which is the one that just came out.
We'll be able to see a video in a much much
cooler way in a much better processor
and less processor intensive way.
You're more mobile friendly as well.
And at the same time you're not loosing
users are trying to force users sub grade
until their ready for it.</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.everythingfla.com/2012/02/flash-stagevideo-video-transcript.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ShareIt vs. addThis</title>
		<link>http://blog.everythingfla.com/2011/12/shareit-vs-addthis.html</link>
		<comments>http://blog.everythingfla.com/2011/12/shareit-vs-addthis.html#comments</comments>
		<pubDate>Fri, 30 Dec 2011 18:26:57 +0000</pubDate>
		<dc:creator>Ben Fhala</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://blog.everythingfla.com/?p=306</guid>
		<description><![CDATA[My goal sounded simple all i wanted is to showcase how many Twiter,Facebook and Google plus action we are having on our site. I didn&#8217;t want to waist a lot of time and read into the documentation of all and just wanted a simple solution so i remembered from my days working in agencies that [...]]]></description>
			<content:encoded><![CDATA[<p>My goal sounded simple all i wanted is to showcase how many Twiter,Facebook and Google plus action we are having on our site. I didn&#8217;t want to waist a lot of time and read into the documentation of all and just wanted a simple solution so i remembered from my days working in agencies that sometimes we would use Shareit/Addthis. so i googled &#8216;em up and just added addThis to my site.  push the updates live and forgot about them for a few days. after day s later i revisited my site again to discover my site load time was really hurting. from loading in less then 4-5 seconds(as i run everything through cdn-what ever i can) i discovered that my load time would sometimes go as high as 30 seconds. so looking deeper into it I discover a few interesting things :</p>
<p>My site without any plugin <a href="http://everythingfla.com/" title="Home page">home page</a> loads in <strong>3 seconds(+ 5 seconds of onload) with 605kb</strong> of data.<br />
My site with addThis  plugin <a href="http://everythingfla.com/" title="Home page">home page</a> loads in <strong>10.8 seconds(+16 seconds of onlone) with 960.8kb</strong> of data.<br />
My site with shareThis  plugin <a href="http://everythingfla.com/" title="Home page">home page</a> loads in <strong>22 seconds(+23 seconds of onlone) with 864.5kb</strong> of data.</p>
<p>This data makes it really clear that all options are bad for my site to have the home page take from total of 8 seconds of everything loading to being over 20 is just not going to work. need to figure out a better solution then that. i remember Hulu has a component on there site and i never really noticed any issues on there site so lets explore and figure out what they are doing&#8230; </p>
<p>(pausing to explore) </p>
<p>They build a simple image that you click on to go to facebook/twitter and such. one that is very very simple and smart ok maybe that is the best path as there file size on it is really really small. That means no dynamic how many people posted notes but i can live with that as i don&#8217;t think its worth adding 400k k to waist(and the extra wait). ok for now I&#8217;ll just put up the google+ one for a while its smaller then having it all and ill get back to figuring out the better long term strategy at another date. </p>
<p>p.s i&#8217;ll start from now to actually use the blog as a place where i think out load so feel free to follow or give me ideas as this is going to go where the wind blows <img src='http://blog.everythingfla.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.everythingfla.com/2011/12/shareit-vs-addthis.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Flash Event Flash Tent 12/04</title>
		<link>http://blog.everythingfla.com/2011/11/free-flash-event-flash-tent-1204.html</link>
		<comments>http://blog.everythingfla.com/2011/11/free-flash-event-flash-tent-1204.html#comments</comments>
		<pubDate>Tue, 15 Nov 2011 03:15:12 +0000</pubDate>
		<dc:creator>Ben Fhala</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://blog.everythingfla.com/?p=299</guid>
		<description><![CDATA[WE decided to sponsor and help host a really cool free event called FlashTent.org we know its going to be great there are limited seating(actually very limited) RSVP now and get a seat to the event of all flash events The best in the industry will be there to talk about Flash and its future, [...]]]></description>
			<content:encoded><![CDATA[<div class="clear" />
WE decided to sponsor and help host a really cool free event called FlashTent.org we know its going to be great there are limited seating(actually very limited) RSVP now and get a seat to the event of all flash events <img src='http://blog.everythingfla.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>The best in the industry will be there to talk about Flash and its future, Mobile, FDT, Gaming and even some HTML5&#8230; With open mic sessions and real talks about what is moving and shacking in this shaky industry we call web.</p>
<p>p.s. did i say its free ?</p>
<p>For more info and TO RSVP your Virtual Seat check out <a title="FlashTent.org" href="http://flashtent.org" target="_blank">FlashTent.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.everythingfla.com/2011/11/free-flash-event-flash-tent-1204.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Close Captioning Text Striper</title>
		<link>http://blog.everythingfla.com/2011/08/close-captioning-text-striper.html</link>
		<comments>http://blog.everythingfla.com/2011/08/close-captioning-text-striper.html#comments</comments>
		<pubDate>Fri, 19 Aug 2011 03:07:38 +0000</pubDate>
		<dc:creator>Ben Fhala</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://blog.everythingfla.com/?p=290</guid>
		<description><![CDATA[
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_CCTextStripper_1761544817"
			class="flashmovie"
			width="550"
			height="400">
	<param name="movie" value="http://blog.everythingfla.com/wp-content/uploads/2011/08/CCTextStripper.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://blog.everythingfla.com/wp-content/uploads/2011/08/CCTextStripper.swf"
			name="fm_CCTextStripper_1761544817"
			width="550"
			height="400">
	<!--<![endif]-->
		 
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object> What is it? You might be thinking now say what? We&#8217;ve been working on integrating close captioning to some of the videos testing it out first on youtube and we really wanted to start seeing how this can work on our video pages as well. starting from [...]]]></description>
			<content:encoded><![CDATA[
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_CCTextStripper_1729581301"
			class="flashmovie"
			width="550"
			height="400">
	<param name="movie" value="http://blog.everythingfla.com/wp-content/uploads/2011/08/CCTextStripper.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://blog.everythingfla.com/wp-content/uploads/2011/08/CCTextStripper.swf"
			name="fm_CCTextStripper_1729581301"
			width="550"
			height="400">
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p><strong>What is it?</strong><br />
You might be thinking now say what? <img src='http://blog.everythingfla.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  We&#8217;ve been working on integrating close captioning to some of the videos testing it out first on youtube and we really wanted to start seeing how this can work on our video pages as well. starting from a few pages to see how you guys react to it(as this is a lot of work!)</p>
<p>So the goal of this small application is to enable us to do quick conversions of copy without manual labor. </p>
<p><strong>Hot does it work?</strong><br />
Select if you want to delete extra lines and what copy you want to get deleted in our case if a copy starts with &#8217;0:&#8217; we don&#8217;t want it but in your case might be something else so i left a way for u to change it. paste your copy onto the text area &#8211; done you can now click ctrl+c and copy your new copy.</p>
<p><strong>Original sample copy:<br />
</strong></p>
<blockquote><p>0:00:01.069,0:00:06.540<br />
We created some objects, we added them to the stage.<br />
I&#8217;m just going to delete them quickly and add a new object</p>
<p>0:00:06.540,0:00:10.099<br />
onto the stage, not that I really have to,</p>
<p>0:00:10.099,0:00:15.090<br />
just for fun.<br />
Click on &#8220;v&#8221;,</p>
<p>0:00:15.090,0:00:18.490<br />
I just have to make sure that i&#8217;m back in my arrow mode.</p>
<p>0:00:18.490,0:00:22.619<br />
Now, the next thing I want to do is talk about<br />
the properties panel and we said before,</p></blockquote>
<p><strong>The code:</strong><br />
the code is very simple:<br />
<code><br />
import flash.text.TextField;<br />
import flash.events.Event;</p>
<p>var txt:TextField;</p>
<p>txt.addEventListener(Event.CHANGE,onChange);<br />
remLines.addEventListener(Event.CHANGE,onChange);<br />
var ent:TextField = new TextField;<br />
	ent.text = "\n";</p>
<p>var enter:String = ent.text;</p>
<p>function onChange(e:Event):void{<br />
	var lines:Array = txt.text.split(enter);</p>
<p>	lines = lines.filter(isvalidCopy);<br />
	txt.text = lines.join("\n");<br />
	txt.setSelection(0,txt.length);<br />
}</p>
<p>function isvalidCopy(cpy:String,index:int, arr:Array):Boolean{<br />
	return !((remLines.selected &#038;&#038; cpy=="") || cpy.indexOf(filterText.text)==0);<br />
}<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.everythingfla.com/2011/08/close-captioning-text-striper.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building the game Fill it</title>
		<link>http://blog.everythingfla.com/2011/07/building-the-game-fill-it.html</link>
		<comments>http://blog.everythingfla.com/2011/07/building-the-game-fill-it.html#comments</comments>
		<pubDate>Wed, 13 Jul 2011 02:04:12 +0000</pubDate>
		<dc:creator>Ben Fhala</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[New(s) and Friendships]]></category>

		<guid isPermaLink="false">http://blog.everythingfla.com/?p=258</guid>
		<description><![CDATA[This week is going to be the hardest and most fun part we ever had on our school i can&#8217;t wait for our live sunday event that will be dedicated to a full 2 hour part on continuing to build our Fill it game. if you missed the last chapters you should catch up before [...]]]></description>
			<content:encoded><![CDATA[<p>This week is going to be the hardest and most fun part we ever had on our school i can&#8217;t wait for our live sunday event that will be dedicated to a full 2 hour part on continuing to build our Fill it game. if you missed the last chapters you <a href="http://everythingfla.com/projects/games/fillit.html">should catch up</a> before we rip our build to shreds.</p>
<div class="attachment-post-thumbnail wp-post-image">

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_fillit_854023191"
			class="flashmovie"
			width="320"
			height="480">
	<param name="movie" value="/wp-content/uploads/2011/07/fillit.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="/wp-content/uploads/2011/07/fillit.swf"
			name="fm_fillit_854023191"
			width="320"
			height="480">
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
</div>
<p>This week we are planing to get our selector to actually work for that we will need to take a few steps back delete a few things and start rebuilding&#8230; <a href="http://butwhenisit.com/?d=July%2017,%202011%2016:00:00%20GMT-0400&amp;t=Fillit%20Part%203">see you Sunday 4pm</a> (that is if your one of our students).</p>
<p>The Main topics we will cover in this live 2 hour event are:</p>
<ul>
<li>Digging deep into how drawing with the graphics package work</li>
<li>bug hunting</li>
<li>using multiple vectors and having them talk to each other (not easy at all)</li>
</ul>
<p>The really cool thing about this event is we aren&#8217;t going to learn anything new but instead we are really going to face a great chalange of using the tools and skills we picked up already to get this baby rolling in the right way. (we will post our outcome here after our event).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.everythingfla.com/2011/07/building-the-game-fill-it.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

