• Web Development Questions That Don't Need Their Own Thread v2
    3,079 replies, posted
[QUOTE=Chuushajou;31987411]Guys, I need some help / advice, for my A2 project we've got to create a macromedia flash based product, and I decided to do a basic website, would some of you be able to provide some tips / tutorials to help me get started and achieve a decent grade? Much appreciated guys![/QUOTE] I'd say you're shit out of luck, mate. Macromedia was bought by Adobe years ago. Seriously, now, making flash websites is a borderline criminal offense, and you'll be hard pressed to find anyone to help you with that around here. You can probably get something going with Flash's animation tools and some basic timeline control ActionScript, and seeing as your teacher still assigns you these kind of archaic tasks, you'll probably even get a good grade, but don't expect anything amazing or satisfying.
[QUOTE=StinkyJoe;31992022]I'd say you're shit out of luck, mate. Macromedia was bought by Adobe years ago. Seriously, now, making flash websites is a borderline criminal offense, and you'll be hard pressed to find anyone to help you with that around here. You can probably get something going with Flash's animation tools and some basic timeline control ActionScript, and seeing as your teacher still assigns you these kind of archaic tasks, you'll probably even get a good grade, but don't expect anything amazing or satisfying.[/QUOTE] Urgh, I knew that- I just copied the title off my assignment paper. I'll correct that! I know that it is near enough criminal but that is what (unfortunately) I've got to use. To be honest, I expected to use ActionScript 3.0 (Or even 2.0- not really bothered) and longs I achieve a minimum of a C I'm not too stressed. This is probably the most up-to-date task we've been assigned, all of them are extremely dated beyond belief. If my memory serves me correctly- didn't KmartSqrl make a flash based website for a client recently?
[QUOTE=Chuushajou;31992525]Urgh, I knew that- I just copied the title off my assignment paper. I'll correct that! I know that it is near enough criminal but that is what (unfortunately) I've got to use. To be honest, I expected to use ActionScript 3.0 (Or even 2.0- not really bothered) and longs I achieve a minimum of a C I'm not too stressed. This is probably the most up-to-date task we've been assigned, all of them are extremely dated beyond belief. If my memory serves me correctly- didn't KmartSqrl make a flash based website for a client recently?[/QUOTE] Yep, just [url=http://www.facepunch.com/threads/1106128-What-are-you-working-on-v6?p=31904877&viewfull=1#post31904877]two pages ago.[/url] Edit: In a different thread, just realized.
I'm having trouble parsing JSON data from Tumblr's [url=http://www.tumblr.com/docs/en/api/v2]API[/url]. I debugged it in an inspector and this popped up: "Resource interpreted as Script but transferred with MIME type application/json." Below are 2 different ways I tried doing this but both don't seem to work. Google directs me to the second method. [code] <script src="http://code.jquery.com/jquery-latest.js"></script> <script type="text/javascript"> $(document).ready(function() { //First method $.getJSON("http://api.tumblr.com/v2/blog/staff.tumblr.com/posts?jsoncallback=?", { type : "photo", api_key : "qRtWERY0peF5kzZSRyrNSZIiM1TuqQgZtTa2k3F44LJ4jWDD3l", }, function(data) { $.each(data.items, function(i,item){ $("<img/>").attr("src", item.response.posts.photos.alt_sizes[1]).appendTo("#posts"); if ( i == 3 ) return false; }); }); //Supposed fix $.ajax("http://api.tumblr.com/v2/blog/staff.tumblr.com/posts?api_key=qRtWERY0peF5kzZSRyrNSZIiM1TuqQgZtTa2k3F44LJ4jWDD3l&jsoncallback=?", { crossDomain:true, dataType: "jsonp", success:function(data,text,xhqr){ $.each(data, function(i, item) { $("<img/>").attr("src", item.response.posts.photos.alt_sizes[1]).appendTo("#posts"); if ( i == 3 ) return false; }); } }); }); </script> [/code]
[QUOTE=R1Z3;31994958]I'm having trouble parsing JSON data from Tumblr's [url=http://www.tumblr.com/docs/en/api/v2]API[/url]. I debugged it in an inspector and this popped up: "Resource interpreted as Script but transferred with MIME type application/json." Below are 2 different ways I tried doing this but both don't seem to work. Google directs me to the second method. [code] <script src="http://code.jquery.com/jquery-latest.js"></script> <script type="text/javascript"> $(document).ready(function() { //First method $.getJSON("http://api.tumblr.com/v2/blog/staff.tumblr.com/posts?jsoncallback=?", { type : "photo", api_key : "qRtWERY0peF5kzZSRyrNSZIiM1TuqQgZtTa2k3F44LJ4jWDD3l", }, function(data) { $.each(data.items, function(i,item){ $("<img/>").attr("src", item.response.posts.photos.alt_sizes[1]).appendTo("#posts"); if ( i == 3 ) return false; }); }); //Supposed fix $.ajax("http://api.tumblr.com/v2/blog/staff.tumblr.com/posts?api_key=qRtWERY0peF5kzZSRyrNSZIiM1TuqQgZtTa2k3F44LJ4jWDD3l&jsoncallback=?", { crossDomain:true, dataType: "jsonp", success:function(data,text,xhqr){ $.each(data, function(i, item) { $("<img/>").attr("src", item.response.posts.photos.alt_sizes[1]).appendTo("#posts"); if ( i == 3 ) return false; }); } }); }); </script> [/code][/QUOTE] It's because you're supposed to execute it with a function. hence JSONP (JSON + Padding). The JSONcallback parameter defines the function the server says to use, for example it might return: [code]callback({"hello":"world"});[/code] If I'm not mistaken, which I most likely am.
[QUOTE=Ac!dL3ak;31996845]It's because you're supposed to execute it with a function. hence JSONP (JSON + Padding). The JSONcallback parameter defines the function the server says to use, for example it might return: [code]callback({"hello":"world"});[/code] If I'm not mistaken, which I most likely am.[/QUOTE] Thanks, after rereading the API about callbacks I found the problem.
I really don't see the need for JSONP, not when we have XMLHTTPRequest (And there's a JSONRequest proposal as well)
I'm working on an assignment with frames in HTML. I've got my frames but I need to cut one of the rows short while extending the column above it. How would I go about doing that?
Are you required to use frames?
[QUOTE=TehWhale;32001963]Are you required to use frames?[/QUOTE] 'fraid so my good man.
[QUOTE=Sir Whoopsalot;32002381]'fraid so my good man.[/QUOTE] Whoever gave you that assignment would hopefully know frames are obsolete and just plain bad
[QUOTE=Chuushajou;31987411]Guys, I need some help / advice, for my A2 project we've got to create a macromedia (Adobe) flash based product, and I decided to do a basic website, would some of you be able to provide some tips / tutorials to help me get started and achieve a decent grade? Much appreciated guys![/QUOTE] I've you've got any experience programming, AS is really easy to pick up. When I do flash I do as much of it as possible in straight AS3 inside flash builder, really the only thing that the Flash Professional gets used for is managing the library. Look up TweenLite too once you start working and need things to move around, it's miles ahead of the tween stuff that's built in to AS3. Beyond that it's really just the same as design in other mediums except you're doing a little bit of motion design too.
my dad wants me to help him do some work with cpanel for his business, how easy is it to use? is there anyone here that uses it or any resources that i can use to learn it?
[QUOTE=wutanggrenad;32004439]Whoever gave you that assignment would hopefully know frames are obsolete and just plain bad[/QUOTE] Our assignment didn't require us to use frames, but the teacher gave us documents on how to create frames. Ugh, looking at the other people's websites where they had frames and texts bouncing from left to right. Felt like a website from the 90s
Today kids were going to learn about this brand new tag called marquee! Any website worth visiting has it!
Anyone know why APC-data is lost (at random, despite the cache being entirely empty). Basically, battles start, but then half the time the data exists in the cache, and the other half nothing is returned. So I reload, the game resumes the battle (I.e the first file detects the key, requests the battle resume), but on the resume request (less than a second later), nothing is returned and it winges about no battle. This randomly happens all the time, and watching the values shown in apc.php for usercache also reflects this (one minute its there, then gone, then back, etc). Any ideas, the user_ttl is set to 0, yet the data just seems to appear/disappear like crazy. Might be a case of switching to a memory-powered database if APC isn't going to be consistent.
[QUOTE=Fizzadar;32031455]Anyone know why APC-data is lost (at random, despite the cache being entirely empty). Basically, battles start, but then half the time the data exists in the cache, and the other half nothing is returned. So I reload, the game resumes the battle (I.e the first file detects the key, requests the battle resume), but on the resume request (less than a second later), nothing is returned and it winges about no battle. This randomly happens all the time, and watching the values shown in apc.php for usercache also reflects this (one minute its there, then gone, then back, etc). Any ideas, the user_ttl is set to 0, yet the data just seems to appear/disappear like crazy. Might be a case of switching to a memory-powered database if APC isn't going to be consistent.[/QUOTE] APC really isn't a good idea for this - not saying the problem isn't elsewhere[B][1][/B], but at best APC should be in front of a more reliable storage method, with no expectation on your end that the data will actually be there. Redis or some fast document-based database software is probably a better fit (mongodb, maybe?) [B][1][/B] - APC doesn't work in FCGI environments; Check that you have enough memory allocated to prevent it from flushing the storage as often; Check that entries are being written correctly and not overwriting each-other; Embrace the fact that APC is [b]not[/b] persistent. This SO thread might hold some helpful pointers: [url]http://stackoverflow.com/questions/4468805/apc-values-randomly-disappear[/url] Good luck!
Yesterday, my teacher was trying to fix up broken images for kids and she couldn't. The problem was SHE WASNT LOOKING AT WHERE THE PAGE IS REQUESTING FOR THE IMAGE. So i fixed it :science: oh and we had 30min on changing the title of the page :v:
I'm not sure if this is the right place to post however, I'm looking for someone to design a simple website template(?) in the same sort of style as amazon but not exactly the same. If anyone is up for it please just send me a PM. I can pay up to £20, sorry if thats not enough but it should be a relatively simple and quick job for some of you, i can edit.ect the site when its done so all i really need is a template.
[QUOTE=Bambo.;32041740]I can pay up to £20.[/QUOTE] [IMG]http://2.bp.blogspot.com/_96a1B-Ccw1c/TOeRYQCXcUI/AAAAAAAABPU/GCuC0oKbfe4/s1600/oliver.jpg[/IMG] [I](yes, again)[/I]
[QUOTE=Bambo.;32041740]in the same sort of style as amazon but not exactly the same.[/QUOTE] MAKE IT LIKE THIS BUT DIFFERENT
I just bought a Fanatical VPS Mini server. What should I install first? And someone tell me how to do FTP.
[QUOTE=Mr.T;32042626]I just bought a Fanatical VPS Mini server. What should I install first? And someone tell me how to do FTP.[/QUOTE] Update it first, then for FTP I would recommend vsftpd, you'll find tons of tutorials on the net for most distros.
[QUOTE=KmartSqrl;32042076]MAKE IT LIKE THIS BUT DIFFERENT[/QUOTE] I couldn't think of a better way to describe what I wanted :saddowns:
[QUOTE=Mr.T;32042626]I just bought a Fanatical VPS Mini server. What should I install first? And someone tell me how to do FTP.[/QUOTE] Don't use FTP. You can transfer files through SSH with [url=http://winscp.net/eng/index.php]WinSCP[/url].
has anyone written that PDO tutorial yet?
[QUOTE=Ac!dL3ak;32065111]has anyone written that PDO tutorial yet?[/QUOTE] [B]StinkyJoe[/B] [IMG]http://i.somethingawful.com/forumsystem/emoticons/emot-argh.gif[/IMG]
[QUOTE=Jelly;32065814][B]StinkyJoe[/B] [IMG]http://i.somethingawful.com/forumsystem/emoticons/emot-argh.gif[/IMG][/QUOTE] Just got back from my month-long vacations a few days ago, I'll get on it uh...tomorrow. Yes, tomorrow! :wink:
[QUOTE=StinkyJoe;32068270]Just got back from my month-long vacations a few days ago, I'll get on it uh...tomorrow. Yes, tomorrow! :wink:[/QUOTE] :wink:
How many people here use a grid system. Are there downfalls to using grids?
Sorry, you need to Log In to post a reply to this thread.