ThemeForest

Posts by Polaradine

370 posts
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • New Zealand
Polaradine says

I am trying to recreate a background effect in illustrator in the images below, the symbols from playing cards, in the black background seem to be done in a radial burst/ray style with varied size for each ray. I’m guessing this is due to varied lengths of lines drawn with the symbols being an art brush with scale proportionally? If thats the case then each line has an art brush applied to it of a prescaled small to big of the symbols repeated x amount of times with distributed spacing? Is there any easier way to go about this without getting distortion? I made a blend of a small line to a big line then manually swapped each line out for a different symbol as an art brush.

The other image I’m not sure how the symbols were laid out, I thought a spiral and have not had much luck making a distortion free scaling pattern along the spiral. I’m fairly new to illustrator so perhaps I’m missing something obvious :(

http://img713.imageshack.us/img713/4683/promo01.png

http://img803.imageshack.us/img803/5190/promo02.png

370 posts
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • New Zealand
Polaradine says

its a chat application, I made the server in AIR and the clients connect and send messages through it, clients also using AIR . The dynamic variables are for breaking off into smaller private coversations away from the main chat. They were’nt being made at runtime but on a need by need basis via a function.

I currently am storing the clients into groups in arrays and referring to those groups via a dictionary that the arrays are stored in. groupDict[groupID]. I’m not an amazing coder like you lot :P I imagine there are better ways to do things then what I come up with. My solution is working now though without the need to dynamically create variable names(which does’nt seem to work out of the IDE , at least in FlashDevelop).

370 posts
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • New Zealand
Polaradine says

I’m not sure why but I can get it parkers/emroni’s code to work in IDE but not in flash develop. Tried AS3 as well(I am developing in AIR already found a issue with images in textfields not working).

I have used kamii’s suggestion and have ended up with two dictionaries that use the groupID number, one dictionary holds an array that gets new clients added or removed and the other dictionary holds a reference to the length of that array.

This way with the dictionary I don’t need to worry about the name of the variable storing all the client data :]

Thanks for all the help though, I appreciate, and it was an interesting thing to learn for IDE work, would be good if I knew why it does’nt work with flash develop, possibly to do with flex sdk?

370 posts
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • New Zealand
Polaradine says

I can’t declare the var type as int though, I also need to create a dictionary var this way. Am I over complicating things? My project involves chat windows where I am storing users in a chat window in a dictionary. when a user sends their message I use this code:

for (var d:Object in groupDict[receivedObject.groupID]) {
                        this["group"+receivedObject.groupID+"Dict"][d].socket.writeBytes(sendBytes)
                        this["group"+receivedObject.groupID+"Dict"][d].socket.flush()
                    }

This will work but I cannot declare the int counter or the new dictionary var to store..Is there another way?

370 posts
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • New Zealand
Polaradine says

I know that I can refer to a variable in this way but when I want to create a variable name like this its giving me an error. Is it possible to create variables names with other variables like this?

var ["group"+groupID+"DictLength"]:int = 1
370 posts
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • New Zealand
Polaradine says

You can add it in with some java script using swfObject. You don’t need it in flash, have you asked in codeCanyon? They could provide you with php form to do what you want I imagine. I could give it a go if you want a flash version, e-mail the details to polarathene-signup@hotmail.com things such as how much each option would affect the total price.

I actually need a rather simple business card set up to give to a printer locally, if your interested could trade skills as I have no experience in prepping a design to provide to the printer company. It is just a text of clients brand name on silver, they wanted the text embossed.

370 posts
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • New Zealand
Polaradine says

That worked lol. After trial and error I realised that I forgot to copy over the assets file for the flash develop test. So after doing that it worked same as the IDE did. It would seem to be a bug in AIR 2 .0beta then I guess as when switching to that with the same code it would not display the image, only text. Bit of a downer, hope its fixed for release.

Just googled it up, seems to be a common bug but also in earlier versions of AIR …bummer.

370 posts
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • New Zealand
Polaradine says
Yes I need a Win server. I wrote everything in ASP ans then found the SWF I wanted, but it needs PHP , so I’m all mixed now.

A quick google shows that its possible to run asp on linux. Might want to look into it if all else fails :]

370 posts
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • New Zealand
Polaradine says

Is there any specific reason you need it in flex? Is pure AS3 ok?

370 posts
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • New Zealand
Polaradine says
Trying out in the IDE first which works but I get this error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at htmltest_fla::MainTimeline/frame1()
Heres how its set up:
var test:TextField=createTextField(0,0,350,150,"DYNAMIC");
var loader:Loader=Loader(test.getImageReference("myimagetest"));
loader.addEventListener(Event.COMPLETE, complete);
loader.addEventListener(IOErrorEvent.IO_ERROR, error);
test.htmlText += "<p><b>test</b><br /><img src="\\"assets/image/lightPost.png\" id="myimagetest" />test</p>" 

addChild(test);
function complete(e:Event):void {
    trace("complete");
}
function error(e:IOError):void {
    trace("error");
}

function createTextField(x:Number,y:Number, width:Number, height:Number,type:String):TextField {
    var result:TextField = new TextField();
    result.x=x;
    result.y=y;
    result.width=width;
    result.height=height;
    result.type=TextFieldType[type];
    result.border=true;
    result.multiline=true;
    result.wordWrap=true;
    return result;
}

I think I am adding listeners wrongly or not doing the loader thing right :\

by
by
by
by
by