I'm having trouble understanding the following argument (which I believe to be somewhat incomplete or flawed). Let $A=C(X)$ be the set of continuous functions from the topological space $X$ to the complex plane $\mathbb{C}$. We define $m_{x} = \{f \in C(X): f(x) = 0 \}$ and $A_x$ the ring of germs at point $x$. The statement is the following $A_x \simeq A_{m_x}$.
(1) I don't see how one defines $A_{m_x}$ since the set contains global functions that might not be well-defined as we quotient by functions $f$ such that $f(x) \neq 0$, but it doesn't necessarily mean that $f \neq 0$. Though it's indeed well defined in a neighborhood of $x$.
(2) Now using the universal property of localization, we sure want to define $\phi : A_{m_x} \rightarrow A_x$ s.t we have $\phi(a/s) = \iota(a)\iota(s)^{-1}$ where $\iota$ is the inclusion map $\iota: A \rightarrow A_x$. We want $\phi$ to be an isomorphism. It is surjective; now we want it to be one-on-one. Now I don't see how this is possible as $\phi(a/s) = 0$ iff $a = 0$ in a neighborhood of $x$, which doesn't imply that $a=0$ globally.
I guess there's something I don't really fathom, or my textbook might just be flawed. Anyway, thanks for your help.
You need to assume something about the space $X$ for the claimed statement to be true. A natural assumption to make is that $X$ is completely regular; I will use this assumption in addressing (2) below.
(1) Well, $A_{m_x}$ is not (a priori) a set of functions, it's just a ring of formal "fractions" (which may or may not make sense when evaluated as pointwise fractions of functions). You can still think of it perfectly well as a ring without having to think of its elements as functions on $X$ (which, as you observe, you can't exactly do).
(2) If $a\in A$ is such that $a=0$ in a neighborhood $U$ of $x$, then in fact the image of $a$ in the localization $A_{m_x}$ vanishes: the canonical "inclusion" $A\to A_{m_x}$ is not injective! To prove this, note that by complete regularity, there is a function $f:X\to[0,1]$ such that $f(x)=1$ and $f(y)=0$ for all $y\not\in U$. We then have $f\not\in m_x$ and $fa=0$, so it follows that $a$ maps to $0$ in the localization $A_{m_x}$.
Note that you also need to use complete regularity to show that your map $\phi:A_{m_x}\to A_x$ is surjective: given a germ of a continuous function at $x$, it is not at all obvious a priori that you can write it as a quotient of two continuous functions that are defined on all of $X$. In detail, if you have a function $f:U\to\mathbb{C}$ where $U$ is an open neighborhood of $x$, let $V$ be an open neighborhood of $x$ whose closure is contained in $U$ (by regularity) and let $g:X\to[0,1]$ be a function such that $g(x)=1$ and $g(y)=0$ for all $y\not\in V$ (by complete regularity). Define $h(y)=\min(1,2g(y))$. Then $h=1$ on a neighborhood of $x$ (namely, the set where $g>1/2$), so $hf$ (which is defined on $U$) has the same germ at $x$ as $f$. But $hf$ vanishes on $U\setminus\overline{V}$, so we can continuously extend it to all of $X$ by setting it equal to $0$ outside of $U$. This continuous extension is then an element of $A$ whose germ at $x$ coincides with the germ of $f$. Thus the map $A\to A_x$ is surjective, and hence so is the map $A_{m_x}\to A_x$.