Find Jobs
Hire Freelancers

Optimise facebook app (as3) plus additional features

$30-250 USD

Đang triển khai
Đã đăng vào khoảng 13 năm trước

$30-250 USD

Thanh toán khi bàn giao
Hi, i currently have an as3 project that has been integrated into facebook and i'm hoping to go live within a few days. everything is working fine except for a couple of fuctions that seem to slow it down.i'm looking for an experienced optimiser to give it the once over and fix any problems that are found. As far as i can see there are only a couple of issues that need optimising. Firstly there is a marquee that accepts upto 80 characters upto a font size of 50. This has been created in the traditional way of moving a movie clip right to left then looping. This creates a massive movieClip and i suspect that this is the reason for the app slowing down. I have amended the as2 code originally used for the marquee. I think this would fix it but as i'm not proficient in as3 i'll need it integrating into the existing as3 unless a better alternative is offered. here is the rewritten as2 code it stacks all the letters on top of each other then moves them when required. It then deletes them when they hit their target x(-300). then when all the letters are deleted it re-runs the function(copy and paste into flash and it will work fine): var text = "qwertyuiopasdfghjklzxcvbnm,./"; var format = new TextFormat("Verdana", 10); var spacing = 5; var radius = 5; var speed = [login to view URL]; var rootChars; charCount = 0; [login to view URL]("flag", 9876); flag._x=350; flag._y=200; createTextArray = function(){ for (var index = 0, x = 0, chars = []; index<[login to view URL]; index++) { [login to view URL]("char"+index, index, x, 0, 0, 0); var char = flag["char"+index]; [login to view URL] = false; [login to view URL] = "left"; [login to view URL] = [login to view URL](index); [login to view URL](format); [login to view URL] = [login to view URL]*2*index/[login to view URL]; x =0; //x += char._width+spacing; [login to view URL](char); rootChars = chars; } } createTextArray(); [login to view URL] = function() { for (var index = 0; index<[login to view URL]; index++) { var char = rootChars[index]; [login to view URL] += speed; char._y = [login to view URL]([login to view URL])*radius; } flag.char0._x-=3; for (var index = 0; index<[login to view URL]; index++) { //trace(flag["char"+index]); if(flag["char"+index]._x <=0-(flag["char"+(index)]._width + spacing)){ flag["char"+(index+1)]._x -=3; } if(flag["char"+index]._x <0-300){ removeMovieClip(flag["char"+index]); charCount+=1; } } if(charCount ==[login to view URL]){ charCount=0; createTextArray(); } } This app is an audio-visual messaging system. It relies on blending and alpha options of xml loaded images (16 in total). CPU intensive i know!, although the images are only between 2 and 5kb each and are going to be in black and [login to view URL] this is the second function that needs looking at. I currently have no recommendations although the alpha and zoom effect occur onEnterFrame and maybe it would work quicker if the images are called as required and writen in a seperate function(maybe?). I also require a couple of more facebook/paypal features. Firstly the app is getting stuck at the logging in page on IE 8. A quick google search pointed my to: placing this in the php: header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"'); or changing the DNS servers to: [login to view URL] and 208.67.220.220. but i don't know where to do this. next i need the friends list to load a profile picture and add a check box next to their name + a paypal subscribe button next to the current donation button + a like button too. Think that's it. link: [login to view URL]
Mã dự án: 1058019

Về dự án

1 đề xuất
Dự án từ xa
Hoạt động 13 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
Đã trao cho:
Avatar người dùng
Please check PMB for details.
$300 USD trong 4 ngày
5,0 (73 nhận xét)
7,5
7,5

Về khách hàng

Cờ của UNITED KINGDOM
Sheffield, United Kingdom
5,0
3
Phương thức thanh toán đã xác thực
Thành viên từ thg 4 22, 2011

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.