ThemeForest

Posts by flashjunkie

3860 posts
  • Has been a member for 5-6 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Contributed a Blog Post
  • Author had a Free File of the Month
  • Beta Tester
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 100 and 499 items
  • United Kingdom
  • Referred between 200 and 499 users
flashjunkie says

Hi Nielsk,

Thanks for that, managed to get it working on localhost with…

<?php

$dir = $_SERVER['DOCUMENT_ROOT'];
$dir .= '/SITE-DEBUG/Images/Previews/1';
$files = array_diff(scandir($dir), array('..', '.'));

print_r($files);
?>
8 days ago in thread PHP Help Please :)
3860 posts
  • Has been a member for 5-6 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Contributed a Blog Post
  • Author had a Free File of the Month
  • Beta Tester
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 100 and 499 items
  • United Kingdom
  • Referred between 200 and 499 users
flashjunkie says

Hey Guys,

Trying to get scandir() working and need a little help…

I’m able to get scandir() to work when the $dir is a subdirectory or the current scripts location however im trying to access a folder elsewhere on the server but when I try to locate it using a URL i’m getting errors…

ie:

Script location – http://mysite.com/scripts/getFileNames.php

Directory Location – http://mysite.com/images/thumbnails

<?php
$dir    = 'ResourceImages/Previews/1';
$files1 = scandir($dir);
print_r($files1);
?>

Thanks guys!

8 days ago in thread PHP Help Please :)
3860 posts
  • Has been a member for 5-6 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Contributed a Blog Post
  • Author had a Free File of the Month
  • Beta Tester
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 100 and 499 items
  • United Kingdom
  • Referred between 200 and 499 users
flashjunkie says

Hey marco,

thanks for the reply, I’ve fixed the problems i was having but have added your code to my snippets as I am sure that will be very useful in the future!

Jay

9 days ago in thread Flash Builder - Text Flow help
3860 posts
  • Has been a member for 5-6 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Contributed a Blog Post
  • Author had a Free File of the Month
  • Beta Tester
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 100 and 499 items
  • United Kingdom
  • Referred between 200 and 499 users
flashjunkie says

Hi guys,

Starting to tear my hair out here, im trying to add text to a RichText component using AS3 , some of the text is just plain text but some will require a click event to fire an AS function.

Does anyone have any ideas how I can accomplish this in AS3 ?

public function buildPathComponent():void {

    for(var i:Number = 0; i<ParentStructure.length; i++) {

        AddLabel(ParentStructure[i].Name, true, ParentStructure[i].CatUrl);

        if(i+1 != ParentStructure.length) {

            AddLabel(" >> ", false, "");

        }

    }

}

public function AddLabel(str:String, isCat:Boolean, ClickUrl:String):void {

    if(isCat) {
        //Add clickable text to textflow
    } else {
        //add plain text to textflow
    }

}

my end result should look like this…

Category Link >> Category Link >> Category Link

the ’>>’ parts will be a different color and not clickable!

Thanks guys!

9 days ago in thread Flash Builder - Text Flow help
3860 posts
  • Has been a member for 5-6 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Contributed a Blog Post
  • Author had a Free File of the Month
  • Beta Tester
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 100 and 499 items
  • United Kingdom
  • Referred between 200 and 499 users
flashjunkie says

FINALLY arrived!!! Thanks Scott, will keep it in my wallet ready for a perfect upcoming picture opportunity… ;)

5 months ago via ActiveDen | in thread (Locked) Free AudioJungle Guitar Picks! (Giveaway Ended)
3860 posts
  • Has been a member for 5-6 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Contributed a Blog Post
  • Author had a Free File of the Month
  • Beta Tester
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 100 and 499 items
  • United Kingdom
  • Referred between 200 and 499 users
flashjunkie says

MW3 and BF3 on XBOX360

Gamertag: F1ashJunkie (thats a 1 not an L)

Just hit 1st prestige :bigsmile:

6 months ago via ActiveDen | in thread Who is playing Call of Duty MW3?
3860 posts
  • Has been a member for 5-6 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Contributed a Blog Post
  • Author had a Free File of the Month
  • Beta Tester
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 100 and 499 items
  • United Kingdom
  • Referred between 200 and 499 users
3860 posts
  • Has been a member for 5-6 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Contributed a Blog Post
  • Author had a Free File of the Month
  • Beta Tester
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 100 and 499 items
  • United Kingdom
  • Referred between 200 and 499 users
flashjunkie says
tsafi said
flashjunkie said
Is Flash Dead? – Yes…

Is Flex Dead? – Soon…

http://blogs.adobe.com/flex/2011/11/your-questions-about-flex.html
So why did you buy flex app` few days ago from Marco? it’s a new trend now ?you are on dead wish? :P Go figure, even Matt is not that weirdo :P just don’t ask for a refund….. :D

Projects to finish ;)

6 months ago in thread Is Flash dead?
3860 posts
  • Has been a member for 5-6 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Contributed a Blog Post
  • Author had a Free File of the Month
  • Beta Tester
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 100 and 499 items
  • United Kingdom
  • Referred between 200 and 499 users
flashjunkie says
MSFX said
^Flex? What’s that :D

The software that allowed me to fully recreate and improve ‘wunderlist’ just for fun :P

6 months ago in thread Is Flash dead?
3860 posts
  • Has been a member for 5-6 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Contributed a Blog Post
  • Author had a Free File of the Month
  • Beta Tester
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 100 and 499 items
  • United Kingdom
  • Referred between 200 and 499 users
flashjunkie says

Is Flash Dead? – Yes…

Is Flex Dead? – Soon…

http://blogs.adobe.com/flex/2011/11/your-questions-about-flex.html
6 months ago in thread Is Flash dead?
by
by
by
by
by