Urgent: Flash CMS with Actionscript 3.0/PHP/MySQL
Hello everybody. I'm new to this community and I'm actually relatively new to flash and actionscript but I could say I have fair knowledge about them. So anyway, I usually build flash websites the traditional way using timeline animation and scripting. Today I had a job interview and they said they're looking for someone who can develop any web design into a Flash CMS with a back-end office for the client to edit the content without having to edit the FLA file or any code.
Accordingly, I'd like to know where and how to start. What are the main concepts I should follow/adapt? Are there any good detailed tutorials out there that I could read/watch?
Any help would be so much appreciated
The method i showed above does have a front end and a back end. The code i posted above would be part of the image module in the back end for deleting images.
1. You don't put images and files in the database, you create an uploader that uploads the files (pictures, whatever) onto the server and then writes an entry into the database telling it where the picture is stored, what the name of the file is, what type it is, whatever you need. Then when your website connects to the database and downloads the info and stuffs it into arrays, it iterates through the photo array and downloads the photos as needed using the URL you stored.
2. Loading into the database is covered with the above tutorial but i'll post my database retrieval code anyway.
This connects to a database and stuffs each column of a database into an Array. Then if i wanted to actually download the photos i mentioned by the urls just retrieved i'd use:
3. Some people put them in seperate swfs at password protected URLs because its more secure but you don't necessarily have to.
flash CMS isn't well covered, i spent a long time looking for tutorials and i definitely didnt find any that worked well. If you're still working through the basics like AS3 tweens, loaders, and loops, then you're going to want to figure those out first. Those are supported well online, though.
Finally, here's a good example of some flash CMS: http://group94.com/#/flash94/
Good luck.
EDIT: Sorry for retracting my code, the client i did it for wasn't happy.
Similar Messages
-
Netconnection Debugger not tracing when exporting from Flash 8 with Actionscript 2.0
Ok, Sorry for the long post, but given my research , I wanted
to be clear on the problem and what I have done to address it.---
anyone who has gotten the NetConnection Debugger to work with Flash
8 and actionscript 2.0 on a PC, your help will be greatly
appreciated
When I compile a Flash 8 swf with AS 2.0 the it does not seem
to import the class properly to utilize the net connection
debugger.
I spent a considerable amount of time getting it to work on
My Mac, but on the PC , none of my calls to the debugger are
working.
I have a very simple file that has the following code:
import mx.remoting.NetServices;
import mx.remoting.debug.NetDebug;
NetDebug.initialize();
NetDebug.trace("I am here")
I do not get any errors for the imports, and the files are
where they need to be. ( see the end of the message to see the
directory structure for both the mac and the pc versions of this)
When I first installed the remoting components on my
macintosh, the Net Connection Debugger would not work. I eventually
took my 2004 Classes and overwrote the mx.remoting.debug folder in
the
usr/Library/Application Support/Macromedia/Flash
8/en/Configuration/Classes/mx/
then after restarting flash and the debugger.swf.. it worked
on the mac.
I have tried the same thing on the PC on three separate
machines.
The latest PC is a brand new clean machine.
These are the steps I have followed:
I installed Flash 8 professional
I installed the remoting components
I created a test file with the code from above
I opened the debugger
I exported the file, ............... nothing traced
I then copied the as Class files from my mac and overwrote
the files in the classes directory for mx.remoting.debug
in both these directories.
c:\Documents and Settings\user\Local Settings\Application
Data\Macromedia\Flash 8\en\Configuration\Classes\mx\
and in c:\Program Files\Macromedia\Flash 8\en\First
Run\Classes\mx\remoting.
After a restart of flash and the debugger I am still not
getting a trace out... I am at a loss. I need this to work, and
someone has to have run into this before.
Here is a list of the files in mx\remoting directories on the
Mac and the PC.
Mac
Connection.as
DataGlue.as
debug //this is the folder
----- commands//this is a folder
----- events //this is a folder
----- connectionMixin.as
-----GlobalLocalConnection.as
----- NetDebug.as
----- NetDebugConfig.as
----- NetDebugResponseProxy.as
NetServiceProxy.as
NetServiceProxyResponder.as
NetService.as
Operation.as
PendingCall.as
RecordSet.as
RecordSetIterator.as
RemotingComponentVersion.as
RsDataFetcher.as
RsDataRange.as
RTMPClientResponse.as
Service.as
PC in the Documents and
Settings...............\classes\mx\remoting
Connection.as
DataGlue.as
debug //this is the folder
----- commands//this is a folder
----- events //this is a folder
----- connectionMixin.as
-----GlobalLocalConnection.as
----- NetDebug.as
----- NetDebugConfig.as
----- NetDebugResponseProxy.as
NetServiceProxy.as
NetServiceProxyResponder.as
NetService.as
Operation.as
PendingCall.as
RecordSet.as
RecordSetIterator.as
RemotingComponentVersion.as
RsDataFetcher.as
RsDataRange.as
RTMPClientResponse.as
Service.as
thanks for the help
allen hujsakThank you for the advice. This is still the error I get even
with those two components on stage. Do I have to connect them to
something? I am still trying the same tutorial from
adobe...www.adobe.com/devnet/flash/articles/delta_packet.html
Here's the error...
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Error
opening include file NetServices.as: File not found.
#include "NetServices.as"
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 2: Error
opening include file NetDebug.as: File not found.
#include "NetDebug.as"
Total ActionScript Errors: 2 Reported Errors: 2
Please help!!!!!! -
Ending Flash Files with Actionscript
Hi there folks,
Unfortunately I'm new to flash so you'll have to forgive this
question,
Q) What is the correct script to end a flash file once it
reaches a specific frame (e.g If you want to end a Flash
presentation when it reaches a certain point!?).
If anyone can help with this, it would be much appreciated!!
:)Captain Elgy,
> Unfortunately I'm new to flash so you'll have to forgive
> this question,
No worries. :) Every one of us was new at some point.
> Q) What is the correct script to end a flash file once
it
> reaches a specific frame (e.g If you want to end a Flash
> presentation when it reaches a certain point!?).
What do you mean by "end a flash file"? Do you mean stop? If
so, a
stop() action may be all you need -- that will stop the
timeline. Do you
mean quit and close the browser window? If so, you'll be
stepping outside
the realm of Flash, so you'd have to trigger JavaScript to
close the window.
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design." -
AS3 gallery with xml written from php/mysql
I am creating an Image Gallery for products for a company.
When you click on a product, it takes you to a page with
description, images, etc.. I have all the data, including file
names, on a MySQL server. I use php to load the data, and write a
generic xml file.
This xml file is re-written everytime someone clicks on a new
product, so that the correct images from the data base are
associated with the xml file. The file is then loaded into flash,
parsed, and used to make up the gallery.
The problem is, when I publish it on the website, the gallery
works for the first product selected, but when I go back and choose
a seperate product, that product gives me the following error when
trying to display the gallery:
Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load
Never Completed.Ok I solved the problem by myself. I changed the php like
this:
(added header() and change return $xml to echo $xml):
subscribe.php
<?php
header("Content-Type: application/xhtml+xml");
$sql = mysql_query("...");
$xml = "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
$xml .= "<abmeldung>";
while ($result = mysql_fetch_assoc($sql)) {
$xml .= "<benutzer>";
$xml .=
"<name>".$result['name']."</name><grund>".$result['grund']."</grund>";
$xml .= "</benutzer>";
$xml .= "</abmeldung>";
echo $xml;
?> -
Change the "Font size" in a TLF Textfield with actionscript?
I could not realize how should I resize my TLF Textfiels in flash cs6 with actionscript??
None of these worked:
if (....)
myTLFText.textSize++;
myTLFText.fontSize++;
Error: Access of possibly undefined property size through a reference with static type fl.text:TLFTextField.
I appreciate your kind help please??Here is the part of code I am using to resize the textfield (and other elements).
/******SET POSITION**********/
function setPosition():void
//Position appBG
appBG.height = stage.stageHeight;
appBG.width = appBG.height;
//Fit the appTXT in middle of screen (AppTXT is a MovieClip contains sourceText - RTLTextField)
appTXT.sourceText.width = stage.stageWidth * 0.9;
appTXT.sourceText.x = stage.stageWidth * 0.05;
appTXT.sourceText.y = stage.stageHeight * 0.1;
//Fit the maskText layer on top of text;
maskText.width = appTXT.sourceText.width;
maskText.height = stage.stageHeight * 0.8;
maskText.x = stage.stageWidth * 0.05;
maskText.y = stage.stageHeight * 0.1;
//Set buttons in their proper position
if (stage.stageWidth > stage.stageHeight)
appBG.width = stage.stageWidth;
appBG.height = appBG.width;
appBG.x = stage.stageWidth / 2;
appBG.y = stage.stageHeight / 2;
Everything works fine, but when I install the apk on my Google nexus (800x1280), the font size looks VERY SMALL and I can hardly read it!
If I increase the Font size pt (Red Arrow in above PrntScr) to 40. then it reads perfect on phones with 800x1280 screen size. Ok? But then any OTHER smaller screen cell phones will see the font TOO BIG!
So I need to set the Font size pt by CODE based on a percent of stageWidth to could solve this. thx. -
PHP/MySQL current detail item indicator
I'm building a site with CSS that uses PHP/MySQL for database
components. My "detail" page of a given set of items will have a
row of thumbnails at the bottom representing the entire query set.
I want to highlight the currently featured item within those
thumbnails so the user can identify where they are at.
I'm thinking I need to compare the ID key from the URL to the
ID key in the thumbnail set. If they match, the string would output
a different character embedded in a div ID so I could use CSS to
highlight the current item.
I think I'm on the right track but I'm a novice at PHP. How
would I code this?>if so can you advise me on the correct syntax to use as I'm not fluent in php.
I'm not a php developer so don't trust me on anything here.
>SELECT *
>FROM photos_tbl
>WHERE install_ID = ["installnumber"]
Here you are telling the where clause to look for an install_ID equal to the string "installnumber", which obviously is not correct. Is "installnumber" a variable you have created somewhere in the script? If so, then to create your SQL string you would use
"SELECT *
FROM photos_tbl
WHERE install_ID =" . $installnumber
Similar problem here
>SELECT *
>FROM photos_tbl
>WHERE install_ID = "rsDetail.install_UID"
You would not put variables inside of quotes. It would be something like
"SELECT *
FROM photos_tbl
WHERE install_ID = " . $rsDetail.install_UID -
Hi, My name is David and I followed a course creating my own website from Lynda.com by Paul Trani. After that I created my first own webste. After I finished it, everything was working well in flash and firefox. I have only one problem and question concerning the feed back form for sending info from my website to my emailaddres. I created my website “LisbonDreamWalking”in Flash CS5 pro. I herein have a contact page, where people can send an email for a walk in Lisbon, date,the number of people etc. Now I want through my ISP / host funpic.org, that the input, info text fields to be sended to my emailaddress [email protected]. My mail URL adress iss: http://lisbondreamwalk.li.funpic.org This is a free host, so they don't work with forms like in the course, and I need some additional info for the php. Here is my HTML (Flash actionscript 3.0) for the sending I only have the red text to fill in (php), I was told by the adobe course.I really hope someone can help me?! Thanks in advance!
Instructions: 1. Add your custom code on a new line after the line that says "// Start your custom code" below. The code will execute when the symbol instance is clicked. */ send_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_13); function fl_MouseClickHandler_13(event:MouseEvent):void { if (thename.text == "" || theemail.text == "" || thetime.text == "" || thepersons.text == "" || themessage.text == "") { thankyou.text = "please fill out all fields"; } else { // create a variable container var allVars : URLVariables = new URLVariables(); allVars.name = thename.text; allVars.email = theemail.text; allVars.time = thetime.text; allVars.persons = thepersons.text; allVars.message = themessage.text; //Send info to a URL var mailAddress:URLRequest = new URLRequest("http.www.namewebsite.com/gdform.php"); mailAddress.data = allVars; mailAddress.method = URLRequestMethod.POST; sendToURL(mailAddress); thankyou.text = "Thank YOU!"; thename.text = ""; theemail.text = ""; thetime.text = ""; thepersons.text = ""; themessage.text = ""; } }
HThank you Kglad, I am going to see if I can make it work. I will let you know!
Date: Thu, 13 Oct 2011 08:55:05 -0600
From: [email protected]
To: [email protected]
Subject: I need help for actionscript 3, sending php info to my email, website created in Flash cs5 pro
Re: I need help for actionscript 3, sending php info to my email, website created in Flash cs5 pro
created by kglad in Action Script 3 - View the full discussion
you missed part of the tutorial (or the tutorial is incomplete): send_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_13); function fl_MouseClickHandler_13(event:MouseEvent):void{ if (thename.text == "" || theemail.text == "" || thetime.text == "" || thepersons.text == "" || themessage.text == "") { thankyou.text = "please fill out all fields"; } else { // create a variable container var allVars : URLVariables = new URLVariables(); allVars.name = thename.text; allVars.email = theemail.text; allVars.time = thetime.text; allVars.persons = thepersons.text; allVars.message = themessage.text; //Send info to a URLvar mailAddress:URLRequest = new URLRequest("http.www.namewebsite.com/gdform.php"); mailAddress.data = allVars; mailAddress.method = URLRequestMethod.POST; sendToURL(mailAddress);
}} var urlLoader:URLLoader=new URLLoader(); function sendToURL(mailAddress):void{urlLoader.addEventListener(Event.COMPLETE,completeF);urlLoade r.load(mailAddress);} function completeF(e:Event):void{ thankyou.text = "Thank YOU!"; thename.text = ""; theemail.text = ""; thetime.text = ""; thepersons.text = ""; themessage.text = "";}
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/3969414#3969414
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/3969414#3969414. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Action Script 3 by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
How can I use LCCS with ActionScript 3 and Flash CS4?
Hi,
Using Stratus I was able to create an an application using Action Script 3 and Flash CS4. The sample code on the Adobe site was quite straight forward and easy to understand. I now want to switch over to LCCS but can't find anything any where on how to use Action Script 3 and Flash CS4 with LCCS. Do I need to know Flex to be able to use LCCS? Everything was quite simple and easy to understand with Stratus and makes complete sense. But LCCS is really confusing. Is there any sample code on how to establish a connection in Action Script 3 and then stream from a webcam to a client. There is nothing in the LCCS SDK that covers Flash and Action Script 3. Please help! I found the link below on some forum but it takes me nowhere.
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=75 9&threadid=1407833&enterthread=yThanks Arun!
Date: Thu, 29 Apr 2010 11:44:10 -0600
From: [email protected]
To: [email protected]
Subject: How can I use LCCS with ActionScript 3 and Flash CS4?
Hi,
Welcome to the LCCS world.
Please refer to the SDK's sampleApps folder. There would be an app called FlashUserList. The app demonstrates how LCCS can be used with Flash CS4. Its a pretty basic app, but should help you moving.
We are trying to improve our efforts to help developers in understanding our samples. Please do let us know if we can add something that would help others.
Thanks
Arun
> -
Stop and Play All Child MovieClips in Flash with Actionscript 3.0
I am stuck with the ActionScript here. I have a very complex animated flash movie for eLearning. These contain around 10 to 15 frames. In each frame I am having multiple movie clip symbols. The animation has been created using a blend of scripting and also normal flash animation.
Now I want to create pause and play functionality for the entire movie. I was able to create the pause function but when i try to play the movie it behaves very strange.
I was able to develop the pause functionality by refering to the below mentioned links:
http://www.unfocus.com/2009/12/07/stop-all-child-movieclips-in-flash-with-actionscript-3-0 /
http://www.curiousfind.com/blog/174
Any help in this regard is highly appreciated as i am approaching a deadline.
I am pasting the code below:
import flash.display.MovieClip;
import flash.display.DisplayObjectContainer;
import flash.utils.Timer;
import flash.events.TimerEvent;
import fl.transitions.*;
import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;
import flash.events.Event;
import flash.events.MouseEvent;
stop();
// function to stop all movieclips
function stopAll(content:DisplayObjectContainer):void
if (content is MovieClip)
(content as MovieClip).stop();
if (content.numChildren)
var child:DisplayObjectContainer;
for (var i:int, n:int = content.numChildren; i < n; ++i)
if (content.getChildAt(i) is DisplayObjectContainer)
child = content.getChildAt(i) as DisplayObjectContainer;
if (child.numChildren)
stopAll(child);
else if (child is MovieClip)
(child as MovieClip).stop();
// function to play all movieclips
function playAll(content:DisplayObjectContainer):void
if (content is MovieClip)
var movieClip:MovieClip = content as MovieClip;
if (movieClip.currentFrame < movieClip.totalFrames) // if the main timeline has reached the end, don't play it
movieClip.gotoAndPlay(currentFrame);
if (content.numChildren)
var child:DisplayObjectContainer;
var n:int = content.numChildren;
for (var i:int = 0; i < n; i++)
if (content.getChildAt(i) is DisplayObjectContainer)
child = content.getChildAt(i) as DisplayObjectContainer;
if (child.numChildren)
playAll(child);
else if (child is MovieClip)
var childMovieClip:MovieClip = child as MovieClip;
if (childMovieClip.currentFrame < childMovieClip.totalFrames)
//childMovieClip.play();
childMovieClip.play();
function resetMovieClip(movieClip:MovieClip):MovieClip
var sourceClass:Class = movieClip.constructor;
var resetMovieClip:MovieClip = new sourceClass();
return resetMovieClip;
pauseBtn.addEventListener(MouseEvent.CLICK, onClickStop_1);
function onClickStop_1(evt:MouseEvent):void
MovieClip(root).stopAll(this);
myTimer.stop();
playBtn.addEventListener(MouseEvent.CLICK, onClickPlay_1);
function onClickPlay_1(evt:MouseEvent):void
MovieClip(root).playAll(this);
myTimer.start();
Other code which helps in animating the movie and other functionalities are as pasted below:
stage.addEventListener(Event.RESIZE, mascot);
function mascot():void {
// Defining variables
var mc1:MovieClip = this.mascotAni;
var sw:Number = stage.stageWidth;
var sh:Number = stage.stageHeight;
// resizing movieclip
mc1.width = sw/3;
mc1.height = sh/3;
// positioning mc
mc1.x = (stage.stageWidth/2)-(mc1.width/2);
mc1.y = (stage.stageHeight/2)-(mc1.height/2);
// keeps the mc1 proportional
mc1.scaleX <= mc1.scaleY ? (mc1.scaleX = mc1.scaleY) : (mc1.scaleY = mc1.scaleX);
stage.removeEventListener(Event.RESIZE, mascot);
mascot();
this.mascotAni.y = 100;
function mascotReset():void
// Defining variables
var mc1:MovieClip = this.mascotAni;
stage.removeEventListener(Event.RESIZE, mascot);
mc1.width = 113.45;
mc1.height = 153.85;
mc1.x = (stage.stageWidth/2)-(mc1.width/2);
mc1.y = (stage.stageHeight/2)-(mc1.height/2);
// keeps the mc1 proportional
mc1.scaleX <= mc1.scaleY ? (mc1.scaleX = mc1.scaleY) : (mc1.scaleY = mc1.scaleX);
var interval:int;
var myTimer:Timer;
// function to pause timeline
function pauseClips(secs:int, myClip:MovieClip):void
interval = secs;
myTimer = new Timer(interval*1000,0);
myTimer.addEventListener(TimerEvent.TIMER, goNextFrm);
myTimer.start();
function goNextFrm(evt:TimerEvent):void
myTimer.reset();
myClip.nextFrame();
myTimer.removeEventListener(TimerEvent.TIMER, goNextFrm);
// function to pause timeline on a particular label
function pauseClipsLabel(secs:int, myClip:MovieClip, myLabel:String):void
interval = secs;
myTimer = new Timer(interval*1000,0);
myTimer.addEventListener(TimerEvent.TIMER, goNextFrm);
myTimer.start();
function goNextFrm(evt:TimerEvent):void
myClip.gotoAndStop(myLabel);
myTimer.removeEventListener(TimerEvent.TIMER, goNextFrm);
MovieClip(root).pauseClips(4.5, this);
// function to fade clips
function fadeClips(target_mc:MovieClip, next_mc:MovieClip, from:Number, to:Number):void
var fadeTW:Tween = new Tween(target_mc, "alpha", Strong.easeInOut, from, to, 0.5, true);
fadeTW.addEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
function fadeFinish(evt:TweenEvent):void
next_mc.nextFrame();
fadeTW.removeEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
// function to fade clips with speed
function fadeClipsSpeed(target_mc:MovieClip, next_mc:MovieClip, from:Number, to:Number, speed:int):void
var fadeTW:Tween = new Tween(target_mc, "alpha", Strong.easeInOut, from, to, speed, true);
fadeTW.addEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
function fadeFinish(evt:TweenEvent):void
next_mc.nextFrame();
fadeTW.removeEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
// function to show screen transitions
function screenFx(target_mc:MovieClip, next_mc:MovieClip):void
//var tweenTW:Tween = new Tween(target_mc,"alpha",Strong.easeInOut,0,1,1.2,true);
var tranFx:TransitionManager = new TransitionManager(target_mc);
tranFx.startTransition({type:Iris, direction:Transition.OUT, duration:1.2, easing:Strong.easeOut, startPoint:5, shape:Iris.CIRCLE});
tranFx.addEventListener("allTransitionsOutDone",doneTrans);
function doneTrans(evt:Event):void
next_mc.nextFrame();
tranFx.removeEventListener("allTransitionsOutDone",doneTrans);
// function to show screen transitions inverse
function screenFxInv(target_mc:MovieClip, next_mc:MovieClip):void
var tweenTW:Tween = new Tween(target_mc,"alpha",Strong.easeInOut,0,1,1.2,true);
var tranFx:TransitionManager = new TransitionManager(target_mc);
tranFx.startTransition({type:Iris, direction:Transition.IN, duration:2, easing:Strong.easeOut, startPoint:5, shape:Iris.SQUARE});
tranFx.addEventListener("allTransitionsInDone",doneTrans);
function doneTrans(evt:Event):void
next_mc.nextFrame();
tranFx.removeEventListener("allTransitionsInDone",doneTrans);
// function to zoom in
function zoomFx(target_mc:MovieClip):void
//var tweenTW:Tween = new Tween(target_mc,"alpha",Strong.easeInOut,0,1,1.2,true);
var tranFx:TransitionManager = new TransitionManager(target_mc);
tranFx.startTransition({type:Zoom, direction:Transition.IN, duration:3, easing:Strong.easeOut});
//tranFx.addEventListener("allTransitionsInDone",doneTrans);
/*function doneTrans(evt:Event):void
next_mc.nextFrame();
// Blinds Fx
function wipeFx(target_mc:MovieClip):void
var tranFx:TransitionManager = new TransitionManager(target_mc);
tranFx.startTransition({type:Wipe, direction:Transition.IN, duration:3, easing:Strong.easeOut, startPoint:9});
// Blinds Fx Center
function fadePixelFx(target_mc:MovieClip):void
var tranFx:TransitionManager = new TransitionManager(target_mc);
tranFx.startTransition({type:Fade, direction:Transition.IN, duration:1, easing:Strong.easeOut});
tranFx.startTransition({type:PixelDissolve, direction:Transition.IN, duration:1, easing:Strong.easeOut, xSections:100, ySections:100});This movie is an animated movie from the start to end. I mean to say that though it stops at certain keyframes in the timeline it stops for only a certain time and then moves on to the next animation sequence.
Its not an application where the user can interact.
On clicking the play button i want the movie to play normally as it was playing before. If the user has not clicked on the pause button it would anyhow play from start to finish.
Is there anyway where i could send in the fla file? -
Help with connection flash builder 4.5 to remote php database
help with connection flash builder 4.5 to remote php database
Fatal error: require_once() [function.require]: Failed opening required 'Zend/Loader/Autoloader.php' (include_path='.;C:\php5\pear;D:/webserver/apache2/htdocs/ZendFramework/library') in D:\webserver\apache2\htdocs\giga\first-debug\gateway.php on line 27
-
Creating a flash website to work with php & MYSQL for MMORPG
Hi i have a website which is a gangster MMORPG, it using PHP,
CSS, HTML and some javascript but however with the amount of game
similar to mine i want to make it unique so i bought "building
flash websites for dummies" i have read must of it and understand
most of it. but however don't really have a clue i it could
actually work with my website.
what i want to know is can it work with my current PHP &
MYSQL, so for example i want to create a logging page with flash to
replace my old PHP/HTML one this will be my first crack at it. but
will flash be able to check the MYSQL database and send error
messages back to the view etc.Yeah, this can work... My recommendations would be to read a
couple articles in the dev center on this topic, that should get
you started...
http://www.adobe.com/devnet/flash/articles/flash_databases.html
http://www.adobe.com/devnet/flash/articles/datawizards.html
http://www.adobe.com/devnet/flash/articles/ria_dataservices.html -
[urgent]flash cs3 actionscript input lags on extreme fast pc
I have a problem with flash cs3
first let me tell me my specs of my pc:
intel core 2 quad 3 ghz (Q9650)
4gb ram
890 mb videocard
asus p5q motherboard
this is a very fast pc as you can see
but still it lags when i try to put some code in the main
timeline
when i have around 30 lines of AS the lagging begins :s
example:
when i type:
if(Key.isDown(Key.SPACE))
when i'm at SPACE, flash still is struggling getting Key on
the screen.
it's like flash has troubles handling the pc's speed.
i use vista, sp 1, flash cs3 and actionscript 2.0
who can help me?
this is a very annoying problem and i hope someone can help
me asap!
thanks!I found the solution!
it's vista who makes it lag :(
i set the compatibily to windows XP and now it runs fast as
hell :D -
Communicating with FLASH player via actionscript
I was wondering of there's a way to control the FLASH player
(if playing back a .swf directly from the harddrive) with
Actionscript, so that
1) the movie opens and plays in "full screen" mode
automatically
2) the application can "quit" on button-click (= the
equivalent of the user hitting the esc key on the keyboard).
Can I do that? Is there a way to communicate to the actual
"Player" application in this way? Help would be greatly
appreciated. Thanks...Sunil,
Still no luck getting the SWF to run under 11.4.402.265 with any of my Mac browsers. The SWF runs fine on PC browsers with 11.4.402.265 installed.
I confirmed that uninstalling 11.4.402.265 and downgrading to Flash Player 11.3.300.27, the one just prior to 11.4, allows the SWF to run fine again on all browsers.
The iOS note you provided wouldn't have any direct applicability since we're talking about a web application failing to load. But maybe the "Secure socket connections fail | Mac OS 10.8" issue may have some correlation or side-effect??
The debugging on this one is a challenge to say the least...
Rod -
I am making a CMS that uses databses to store data in and I
have a bit of a problem and that is when I have changed the text
and click update it does nothing and it doesnt work. I was hoping
that maybe you guys would have some ideas on what is going on.
here is the .zip file with the fla's and the php.
[URL=http://www.softgoowything.com/CMS_testing.zip]cms_testing.zip[/URL]
I would really appriciate any help I can get also just to
give you as much info as I can (so hopefully it will be easier to
see what my problem is)
this is a picture of my database as is.
[URL=http://www.softgoowything.com/database.jpg]Database.jpg[/URL]
and here is how I have set it up.
[PHP]-- phpMyAdmin SQL Dump
-- version 2.8.0.2
http://www.phpmyadmin.net
-- Host: localhost
-- Generation Time: Jul 19, 2006 at 06:38 PM
-- Server version: 4.1.20
-- PHP Version: 4.4.2
-- Database: `softgoow_serverworks`
-- Table structure for table `news`
CREATE TABLE `news` (
`id` char(1) NOT NULL default '',
`title` varchar(80) default NULL,
`author` varchar(60) default NULL,
`date` int(11) default NULL,
`body` varchar(255) default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Dumping data for table `news`
[/PHP]
hopefully that should show you what you need to know. See I
know very little about AS or php that is why I am a bit unsure as
to where my problem is. This project was actually meant to be
helping me alearn both.
cheers :)http://www.flash-db.com/Tutorials/loading/loadingData.php?page=5
good tutorial to start with :-) -
Compiled language with similar feel to php?
I have written several utilities for my album program in php,
but this means
that if I give them to anyone else they have to install php
before they can use
them on their own computers.
I have never used C++, but the philosophy behind php seems to
be very similar to
that behind it (as I remember it from one or two lectures
about 40 years ago),
so I thought Visual C++ might be the way to go. However the
discussions on
several of the C++ newsgroups I have looked at recently seem
to be coming from
another planet.
Can anybody suggest which language would be most suitable for
this purpose? The
last high-level language I was recently proficient in was
Fortran.
ClancyClancy wrote:
> I have written several utilities for my album program in
php, but this means
> that if I give them to anyone else they have to install
php before they can use
> them on their own computers.
The same would be true for most compiled languages. If you
used Java,
for instance, they would need to install the JVM.
> Can anybody suggest which language would be most
suitable for this purpose? The
> last high-level language I was recently proficient in
was Fortran.
If you want to display images, you might want to investigate
ActionScript 3.0, the language used by Flash, Flex, and AIR
(Adobe
Integrated Runtime):
http://labs.adobe.com/technologies/air/
ActionScript 3.0 is an object-oriented language, which is
compiled into
bytecode, and runs in the Flash Player or AIR. Of course, it
means that
your friends would need to install the Flash Player or AIR,
but both are
easy to install (basically, click and you're done).
Learning ActionScript 3.0 to display a photo gallery might
seem like
overkill, but I get the impression that you're more
interested in
building your own application, rather than using an
off-the-shelf
product. I have been using ActionScript 1.0 and 2.0 for
several years
(even written books about it), but ActionScript 3.0 is
completely
different. It contains a huge number of built-in classes, so
can feel
overwhelming to start with. However, the syntax is very easy,
as
everything is written in plain English, and it uses the same
looping and
conditional structures as PHP.
The best way to work with ActionScript is with Flex Builder
(a new
version, Flex Builder 3, is due out later this year, but you
can try it
out as a 30-day free trial to see if it appeals to you). The
best way to
learn ActionScript 3.0 is with "Essential ActionScript 3.0"
by Colin
Moock. It has just been published by O'Reilly. I'm reading
it, and it's
excellent.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Maybe you are looking for
-
TS1420 how can i see what accounts are synched to my iphone
i just purchased an ipad a few weeks ago. once i synched my ipad to my itunes, my favorite songs are greyed out on my iphone. and the first half of all my audible books are also greyed out. my husband's iphone is syncing just fine. i'm thinking i
-
Need more 2D performance with RX9800 Pro
Hello, I need more 2d performance with this card, better vector work optimization and so on. I'm work with Illustrator CS2, and it's too "slow" when i am dragging, etc. Is any way to incerase 2d performance ? Some unofficial drivers, or some "hack" ?
-
Annoucing a few complimentary copies of Sun Web Server: Essentials Guide
Dear Sun Web Server user, As you may have heard, found it on amazon.com or stumbled on it in the local book store like Borders or Barnes & Noble, there is a new book on Sun Web Server technology. If you haven't, no worries. Please refer to [t-5406033
-
I have imported employees through dtw.Each employee is identified by Employee No.But the primary key of the record is displayed as Employee No.I tried setting EmployeeID,IDNumber but were of no use.The field empID from the table is displayed as Emplo
-
HT201342 Does this work with iPad 1 with iOS5?
Can I use @iCloud.com with ios5 on ipad1 ?