Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › How to solve this problem in Flash w/Actionscript?
New Posts  All Forums:Forum Nav:

How to solve this problem in Flash w/Actionscript?

post #1 of 5
Thread Starter 
I have to find a way to allow people to update my flash project after I leave this school as it will be used on the school website and I was wondering what the best way to go about that would be.

I am making a animated bus schedule that would show the campus bus on a map and its approximate location in accordance with the schedule. My plan is to basically just have a set of motion tweens and call them using actionscript (if that is possible?) for the different legs of the route. And that way they can move around the routes as they need.

But they also want the ability to add a text banner to the top if the bus isn't running that day, or if there is a special event.

How can I make the Flash movie be customizable with the routes, and also accept the user input (but not in the actual movie as you don't want students changing it)?
OC Beast
(13 items)
 
  
CPUMotherboardGraphicsRAM
E8500 @4GHZ Gigabyte P45 4850x2 2GB IT LIVES! 4GB 
Hard DriveOptical DriveOSMonitor
500AAKS+250external CD-DVD combo windows 7 ultimate x64 26" 
KeyboardPowerCaseMouse
MC$ wireless 650w corsair antec 900 Logitech battlefield 2142 G5 
  hide details  
Reply
OC Beast
(13 items)
 
  
CPUMotherboardGraphicsRAM
E8500 @4GHZ Gigabyte P45 4850x2 2GB IT LIVES! 4GB 
Hard DriveOptical DriveOSMonitor
500AAKS+250external CD-DVD combo windows 7 ultimate x64 26" 
KeyboardPowerCaseMouse
MC$ wireless 650w corsair antec 900 Logitech battlefield 2142 G5 
  hide details  
Reply
post #2 of 5
All i can suggest is that you dynamically read XML files from flash to control whats being displayed.

Example: I have a flash gallery set to read a location .. /folder/xml_gen.asp, this asp file is processed by the server and returns an XML that the flash is prepared to read, im assuming with actionscript(its a premade flash). it then generates content based on that.

So in xml_gen.asp/php you can have a database read to a table which ppl have made updates to, through some interface or what have you.
SexyComp v2
(18 items)
 
  
CPUMotherboardGraphicsRAM
i7 4790k (BX80646I74790K) Gigabyte X97 SLI (GA-Z97X-SLI) Gigabyte GTX 1070 Xtreme Gaming 8G (GV-N1070XTR... Kingston HyperX Savage 32GB 
Hard DriveHard DriveHard DriveHard Drive
Intel SSD 80GB Samsung 950 Pro (2.4GB/s Read) 1 TB (Storage) Marvell Raid - Mirror 2 TB (Storage 2) 
Optical DriveCoolingOSMonitor
LG DVDR+ Noctua NH-D14 Windows 8.1 Enterprise Asus 27" VG278HE 144hz 1920x1080 
KeyboardPowerCaseMouse
WASD Keyboards Semi Custom Cherry MX Black Ultra X4 750W Cooler Master HAF 932 Logitech G9x 
Mouse PadOther
STEELSERIES QCK+ XXL (45cm x 39.9cm) Logitech G930 7.1 Dolby Wireless Headset 
  hide details  
Reply
SexyComp v2
(18 items)
 
  
CPUMotherboardGraphicsRAM
i7 4790k (BX80646I74790K) Gigabyte X97 SLI (GA-Z97X-SLI) Gigabyte GTX 1070 Xtreme Gaming 8G (GV-N1070XTR... Kingston HyperX Savage 32GB 
Hard DriveHard DriveHard DriveHard Drive
Intel SSD 80GB Samsung 950 Pro (2.4GB/s Read) 1 TB (Storage) Marvell Raid - Mirror 2 TB (Storage 2) 
Optical DriveCoolingOSMonitor
LG DVDR+ Noctua NH-D14 Windows 8.1 Enterprise Asus 27" VG278HE 144hz 1920x1080 
KeyboardPowerCaseMouse
WASD Keyboards Semi Custom Cherry MX Black Ultra X4 750W Cooler Master HAF 932 Logitech G9x 
Mouse PadOther
STEELSERIES QCK+ XXL (45cm x 39.9cm) Logitech G930 7.1 Dolby Wireless Headset 
  hide details  
Reply
post #3 of 5
Thread Starter 
Yea I was thinking that a XML file would be the only way to do it (as its the only way I know of currently). The web admin who is overlooking this should be able to manipulate a XML file fairly easily so I'll probably just have them directly access it.

Thanks
OC Beast
(13 items)
 
  
CPUMotherboardGraphicsRAM
E8500 @4GHZ Gigabyte P45 4850x2 2GB IT LIVES! 4GB 
Hard DriveOptical DriveOSMonitor
500AAKS+250external CD-DVD combo windows 7 ultimate x64 26" 
KeyboardPowerCaseMouse
MC$ wireless 650w corsair antec 900 Logitech battlefield 2142 G5 
  hide details  
Reply
OC Beast
(13 items)
 
  
CPUMotherboardGraphicsRAM
E8500 @4GHZ Gigabyte P45 4850x2 2GB IT LIVES! 4GB 
Hard DriveOptical DriveOSMonitor
500AAKS+250external CD-DVD combo windows 7 ultimate x64 26" 
KeyboardPowerCaseMouse
MC$ wireless 650w corsair antec 900 Logitech battlefield 2142 G5 
  hide details  
Reply
post #4 of 5
Probably the best time efficient way to do it if he knows how to do that...

Building out a tool that would edit that xml is not super hard, but wont be quick.

As long as he has the time to update it.....

another suggestion..... get them to pay you on the side to develope a tool to update it through an interface so anyone can do it.

good luck
SexyComp v2
(18 items)
 
  
CPUMotherboardGraphicsRAM
i7 4790k (BX80646I74790K) Gigabyte X97 SLI (GA-Z97X-SLI) Gigabyte GTX 1070 Xtreme Gaming 8G (GV-N1070XTR... Kingston HyperX Savage 32GB 
Hard DriveHard DriveHard DriveHard Drive
Intel SSD 80GB Samsung 950 Pro (2.4GB/s Read) 1 TB (Storage) Marvell Raid - Mirror 2 TB (Storage 2) 
Optical DriveCoolingOSMonitor
LG DVDR+ Noctua NH-D14 Windows 8.1 Enterprise Asus 27" VG278HE 144hz 1920x1080 
KeyboardPowerCaseMouse
WASD Keyboards Semi Custom Cherry MX Black Ultra X4 750W Cooler Master HAF 932 Logitech G9x 
Mouse PadOther
STEELSERIES QCK+ XXL (45cm x 39.9cm) Logitech G930 7.1 Dolby Wireless Headset 
  hide details  
Reply
SexyComp v2
(18 items)
 
  
CPUMotherboardGraphicsRAM
i7 4790k (BX80646I74790K) Gigabyte X97 SLI (GA-Z97X-SLI) Gigabyte GTX 1070 Xtreme Gaming 8G (GV-N1070XTR... Kingston HyperX Savage 32GB 
Hard DriveHard DriveHard DriveHard Drive
Intel SSD 80GB Samsung 950 Pro (2.4GB/s Read) 1 TB (Storage) Marvell Raid - Mirror 2 TB (Storage 2) 
Optical DriveCoolingOSMonitor
LG DVDR+ Noctua NH-D14 Windows 8.1 Enterprise Asus 27" VG278HE 144hz 1920x1080 
KeyboardPowerCaseMouse
WASD Keyboards Semi Custom Cherry MX Black Ultra X4 750W Cooler Master HAF 932 Logitech G9x 
Mouse PadOther
STEELSERIES QCK+ XXL (45cm x 39.9cm) Logitech G930 7.1 Dolby Wireless Headset 
  hide details  
Reply
post #5 of 5
Thread Starter 
Thanks and with the budget crisis they won't pay anyone for anything...
OC Beast
(13 items)
 
  
CPUMotherboardGraphicsRAM
E8500 @4GHZ Gigabyte P45 4850x2 2GB IT LIVES! 4GB 
Hard DriveOptical DriveOSMonitor
500AAKS+250external CD-DVD combo windows 7 ultimate x64 26" 
KeyboardPowerCaseMouse
MC$ wireless 650w corsair antec 900 Logitech battlefield 2142 G5 
  hide details  
Reply
OC Beast
(13 items)
 
  
CPUMotherboardGraphicsRAM
E8500 @4GHZ Gigabyte P45 4850x2 2GB IT LIVES! 4GB 
Hard DriveOptical DriveOSMonitor
500AAKS+250external CD-DVD combo windows 7 ultimate x64 26" 
KeyboardPowerCaseMouse
MC$ wireless 650w corsair antec 900 Logitech battlefield 2142 G5 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › How to solve this problem in Flash w/Actionscript?